File tree Expand file tree Collapse file tree 5 files changed +17
-15
lines changed
Expand file tree Collapse file tree 5 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 7474 - import_role :
7575 name : fail2ban
7676
77+ - name : Setup podman
78+ hosts : podman
79+ tags : podman
80+ tasks :
81+ - import_role :
82+ name : podman
83+ tasks_from : prereqs.yml
84+ tags : prereqs
85+
86+ - import_role :
87+ name : podman
88+ tasks_from : config.yml
89+ tags : config
90+
7791- hosts : update
7892 gather_facts : false
7993 become : yes
Original file line number Diff line number Diff line change 11# ---
22# # NOTE: Requires slurmdbd
33
4- - name : Setup podman
5- hosts : podman
6- tags : podman
7- tasks :
8- - import_role :
9- name : podman
10- tasks_from : prereqs.yml
11- tags : prereqs
12-
13- - import_role :
14- name : podman
15- tasks_from : config.yml
16- tags : config
17-
184- name : Setup elasticsearch
195 hosts : opendistro
206 tags : opendistro
Original file line number Diff line number Diff line change 2424 # no_log: true # TODO: FIXME
2525 register : _mysql_info
2626 until : " 'version' in _mysql_info"
27- retries : 60
27+ retries : 90
2828 delay : 2
2929
3030 - name : Ensure mysql databases created
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Restart=always
1313EnvironmentFile=/etc/sysconfig/mysqld
1414# The above EnvironmentFile must define MYSQL_INITIAL_ROOT_PASSWORD
1515ExecStartPre=+install -d -o {{ mysql_podman_user }} -g {{ mysql_podman_user }} -Z container_file_t {{ mysql_datadir }}
16+ ExecStartPre=+chown -R {{ mysql_podman_user }}:{{ mysql_podman_user }} {{ mysql_datadir }}
1617ExecStart=/usr/bin/podman run \
1718 --network slirp4netns:cidr={{ podman_cidr }} \
1819 --sdnotify=conmon --cgroups=no-conmon \
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ After=network-online.target
1010Environment=PODMAN_SYSTEMD_UNIT=%n
1111Restart=always
1212ExecStartPre=+install -d -o {{ opendistro_podman_user }} -g {{ opendistro_podman_user }} -Z container_file_t {{ opendistro_data_path }}
13+ ExecStartPre=+chown -R {{ opendistro_podman_user }}:{{ opendistro_podman_user }} {{ opendistro_data_path }}
1314ExecStart=/usr/bin/podman run \
1415 --network slirp4netns:cidr={{ podman_cidr }} \
1516 --sdnotify=conmon --cgroups=no-conmon \
You can’t perform that action at this time.
0 commit comments