-
Notifications
You must be signed in to change notification settings - Fork 18
/
admin.yml
46 lines (40 loc) · 1.85 KB
/
admin.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
- name: First add users to admin node as root
hosts: admin
remote_user: root
roles:
- { role: ansible-role-users, tags: [ 'users', 'admin-users', 'user' ] }
- name: Configure Admin Node
hosts: admin
become: yes
roles:
- { role: watermark-release, tags: [ 'always' ] }
- { role: ansible-role-fgci-repo, tags: [ 'fgci7', 'repos' ] }
- { role: dns, tags: [ 'dns' ] }
- { role: ansible-role-yum, tags: [ 'yum', 'repos' ] }
- { role: ansible-role-ohpc-repo, tags: [ 'yum', 'repos', 'ohpc' ] }
- { role: network_interface, tags: [ 'network' ],
when: internal_interface in ansible_interfaces and
external_interface in ansible_interfaces }
- { role: ip_forwarder, tags: [ 'network' ],
when: internal_interface is defined and
external_interface is defined and
internal_net is defined and
internal_interface in ansible_interfaces and
external_interface in ansible_interfaces }
- { role: ansible-role-ferm-firewall, tags: [ 'firewall', 'network' ] }
- { role: ansible-role-chrony, tags: [ 'ntp', 'chrony' ] }
- { role: ansible-role-yum-cron-2, tags: [ 'yumcron' ] }
- { role: ansible-role-rsyslog, tags: [ 'rsyslog' ] }
- { role: ansible-role-aliases, tags: [ 'aliases', 'email' ] }
- { role: ansible-role-sshd, tags: [ 'sshd', 'ssh' ] }
- { role: ansible-role-smartd, tags: [ 'smartd' ] }
- { role: ansible-role-dell, tags: [ 'dell' ] }
- { role: ansible-role-rdma, tags: [ 'rdma', 'infiniband' ] }
- { role: ansible-role-postfix, tags: [ 'postfix', 'mail' ] }
- { role: ansible-role-autofs, tags: [ 'autofs' ] }
- { role: ansible-role-pdsh-genders, tags: [ 'pdsh', 'genders' ] }
- { role: ansible-role-systemd-journal, tags: [ 'systemd', 'journal', 'journald' ] }
# Local addons to this playbook
#
- import_playbook: admin_local_play.yml