File tree Expand file tree Collapse file tree 10 files changed +37
-36
lines changed
resources/playbook/roles/bibigrid Expand file tree Collapse file tree 10 files changed +37
-36
lines changed Original file line number Diff line number Diff line change 1- # For an easy introduction see https://github.com/deNBI/bibigrid_clum
2- # For more detailed information see https://github.com/BiBiServ/bibigrid/blob/master/documentation/markdown/features/configuration.md
1+ # For an easy introduction see https://github.com/deNBI/bibigrid_clum
2+ # For more detailed information see https://github.com/BiBiServ/bibigrid/blob/master/documentation/markdown/features/configuration.md
33
44- # -- BEGIN: GENERAL CLUSTER INFORMATION --
55 # The following options configure cluster wide keys
123123 # terminate: True # whether the volume is terminated on server termination
124124 # size: 50
125125
126- # - [next configurations]
126+ # - [next configurations]
Original file line number Diff line number Diff line change 1- - name : nfs -server
1+ - name : Nfs -server
22 systemd :
33 name : nfs-kernel-server
44 state : restarted
55
6- - name : docker
6+ - name : Docker
77 systemd :
88 name : docker
99 state : restarted
1010
11- - name : munge
11+ - name : Munge
1212 systemd :
1313 name : munge
1414 state : restarted
1515
16- - name : slurmdbd
16+ - name : Slurmdbd
1717 systemd :
1818 name : slurmdbd
1919 state : restarted
2020
21- - name : slurmrestd
21+ - name : Slurmrestd
2222 systemd :
2323 name : slurmrestd
2424 state : restarted
2525 daemon_reload : true
2626
27- - name : slurmctld
27+ - name : Slurmctld
2828 systemd :
2929 name : slurmctld
3030 state : restarted
3131 when : " 'master' in group_names"
3232
33- - name : slurmd
33+ - name : Slurmd
3434 systemd :
3535 name : slurmd
3636 state : restarted
3737
38- - name : zabbix -agent
38+ - name : Zabbix -agent
3939 systemd :
4040 name : zabbix-agent
4141 state : restarted
4242
43- - name : zabbix -server
43+ - name : Zabbix -server
4444 systemd :
45- name : zabbix -server
45+ name : Zabbix -server
4646 state : restarted
4747
48- - name : apache2
48+ - name : Apache2
4949 systemd :
5050 name : apache2
5151 state : restarted
5252
53- - name : systemd -networkd restart
53+ - name : Systemd -networkd restart
5454 service :
5555 name : systemd-networkd
5656 state : restarted
5757 enabled : true
5858 become : true
5959
60- - name : reload wireguard configuration
60+ - name : Reload wireguard configuration
6161 when : " 'wg0' in ansible_interfaces"
6262 become : true
6363 shell :
6464 cmd : " bash -c 'wg syncconf wg0 <(wg-quick strip wg0)'"
6565
66- - name : dnsmasq
66+ - name : Dnsmasq
6767 systemd :
6868 name : dnsmasq
6969 state : restarted
7070
71- - name : netplan apply
71+ - name : Netplan apply
7272 command : netplan apply
Original file line number Diff line number Diff line change 11- name : Disable netplan configuration files
22 notify :
3- - netplan apply
3+ - Netplan apply
44 block :
55 - name : Collect files
66 find :
4242 mode : " 0o640"
4343 become : true
4444 notify :
45- - systemd -networkd restart
45+ - Systemd -networkd restart
4646
4747- name : Generate location specific worker userdata
4848 template :
5353 mode : " 0o640"
5454 become : true
5555 notify :
56- - systemd -networkd restart
56+ - Systemd -networkd restart
Original file line number Diff line number Diff line change 1212 mode : " 0o640"
1313 become : true
1414 notify :
15- - systemd -networkd restart
15+ - Systemd -networkd restart
1616
1717- name : Setup wg0 network
1818 template :
2222 group : systemd-network
2323 mode : " 0o640"
2424 become : true
25- notify : systemd-networkd restart
25+ notify :
26+ - Systemd-networkd restart
2627
2728- name : Enable ip forwarding
2829 sysctl :
Original file line number Diff line number Diff line change 1919 src : dns/hosts.j2
2020 dest : /etc/dnsmasq.hosts
2121 mode : " 0o644"
22- notify : dnsmasq
22+ notify : Dnsmasq
2323
2424- name : Adjust dnsmasq.resolv.conf
2525 template :
2626 src : dns/resolv.conf.j2
2727 dest : /etc/dnsmasq.resolv.conf
2828 mode : " 0o644"
29- notify : dnsmasq
29+ notify : Dnsmasq
3030
3131- name : Adjust dnsmasq conf
3232 template :
3333 src : dns/dnsmasq.conf.j2
3434 dest : /etc/dnsmasq.conf
3535 mode : " 0o644"
36- notify : dnsmasq
36+ notify : Dnsmasq
3737
3838- name : Flush handlers
3939 meta : flush_handlers
Original file line number Diff line number Diff line change 2626 src : zabbix/zabbix_agentd.conf.j2
2727 dest : /etc/zabbix/zabbix_agentd.conf
2828 mode : " 0o644"
29- notify : zabbix -agent
29+ notify : Zabbix -agent
3030
3131- name : Copy Zabbix Host delete script
3232 copy :
Original file line number Diff line number Diff line change 7070 src : zabbix/zabbix_server.conf.j2
7171 dest : /etc/zabbix/zabbix_server.conf
7272 mode : " 0o644"
73- notify : zabbix -server
73+ notify : Zabbix -server
7474
7575- name : Start and Enable zabbix-server
7676 systemd :
124124 mode : " 0o755"
125125
126126- name : Adjust zabbix web frontend configuration
127- notify : apache2
127+ notify : Apache2
128128 block :
129129 - name : Adjust apache.conf
130130 template :
Original file line number Diff line number Diff line change 2626 with_items :
2727 - " {{ nfs_shares }}"
2828 notify :
29- - nfs -server
29+ - Nfs -server
Original file line number Diff line number Diff line change 77- name : Configure Docker
88 copy :
99 content : |-
10- {
11- "mtu":{{ ansible_default_ipv4.mtu }}
12- }
10+ {
11+ "mtu":{{ ansible_default_ipv4.mtu }}
12+ }
1313 dest : /etc/docker/daemon.json
1414 owner : root
1515 group : root
1616 mode : " 0o644"
1717 notify :
18- docker
18+ Docker
1919
2020- name : Create docker group and change GID
2121 group :
3232
3333- name : Install docker-api via PIP
3434 pip :
35- name : ['docker', 'docker-compose'] # reevaluate
35+ name : [ 'docker', 'docker-compose' ] # reevaluate
3636
3737- name : (Re-)start docker socket
3838 systemd :
Original file line number Diff line number Diff line change 3636 group : munge
3737 mode : " 0o600"
3838 notify :
39- - munge
39+ - Munge
4040
4141- name : Ensures slurm directories exists
4242 file :
You can’t perform that action at this time.
0 commit comments