-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpost.yml
30 lines (28 loc) · 841 Bytes
/
post.yml
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
---
# vim: set syn=ansible ts=2 sw=2 et:
#
# intended to be used by ansible >=2.0
- hosts: all
become: true
roles:
- { role: firewall
, when: ansible_distribution_major_version == '7' or ansible_distribution == 'Fedora'
, tags: fw }
- { role: hosts, tags: hosts }
- { role: issue, tags: issue }
- { role: sshd, tags: ssh }
- { role: shell, tags: shell }
- { role: yum, tags: yum }
- { role: epel, tags: epel }
- { role: packages, tags: pkgs }
- { role: phone_home, tags: ph }
- { role: xentools
, when: ansible_virtualization_type == "xen"
, tags: tools }
- { role: vmwtools
, when: (ansible_virtualization_type == "VMware" and vmwtools_install)
, tags: tools }
- hosts: app
become: true
roles:
- { role: app }