-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcluster_part1.yml
44 lines (42 loc) · 1.16 KB
/
cluster_part1.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
---
- name: Import pre deploy checks.
ansible.builtin.import_playbook: pre_deploy_checks.yml
- name: Import initialization playbook for all hosts.
ansible.builtin.import_playbook: init.yml
- name: '###==-> Basic roles for all cluster machines part 1. <-==###'
hosts:
- cluster
roles:
- role: yum_local
when: local_yum_repository is defined
#
# ToDo: Management of network interfaces changed in EL >= 8,
# which uses NetworkManager and a different way of device naming.
# This role will only modify generic settings for all interfaces on EL >= 8,
# but needs an update to manage specific interfaces...
#
- role: interfaces
when:
- ansible_facts['os_family'] == "RedHat"
- iptables
- ssh # client
- grub
- swap
- locale
- logrotate
- remove
- update
- logins
- figlet_motd
#
# Disabled monitoring: needs update. See also:
# https://github.com/rug-cit-hpc/league-of-robots/issues/294
#
# - node_exporter
- cluster
- role: logs_client
when: logs_class is defined
- gpu # Needs to run after 'cluster' role.
- resolver
- coredumps
...