summaryrefslogtreecommitdiffstats
path: root/setup.yml
blob: 33780a8622ebbe49b5d5d2eedaf070b3f44be3f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
- name: Base system
  hosts: all
  gather_facts: True
  tasks:
    - name: Install etckeeper
      apt: pkg=etckeeper
    - import_tasks: ./tasks/firewall.yml
      tags: firewall
    - import_tasks: ./tasks/network.yml
      tags: network
    - import_tasks: ./tasks/sysctl.yml
      tags: sysctl
    - import_tasks: ./tasks/hosts.yml
      tags: hosts
    - import_tasks: ./tasks/apt.yml
      tags: apt
    - import_tasks: ./tasks/ssh.yml
      tags: ssh
    - import_tasks: ./tasks/base.yml
      tags: base
    - import_tasks: ./tasks/mail.yml
      tags:
        - mail
        - postfix
    - import_tasks: ./tasks/webmap.yml
      tags: webmap
    - import_tasks: ./tasks/httpd.yml
      tags:
        - httpd
        - nginx
  handlers:
    - import_tasks: ./handlers/main.yml