Skip to content

Commit 6d14c7e

Browse files
committed
Merge branch 'main' into feature/multipart-hpctests2
2 parents 017e9b0 + fd0c2c0 commit 6d14c7e

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

ansible/bootstrap.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,20 @@
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

ansible/monitoring.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
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

ansible/roles/mysql/tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
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

ansible/roles/mysql/templates/mysql.service.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Restart=always
1313
EnvironmentFile=/etc/sysconfig/mysqld
1414
# The above EnvironmentFile must define MYSQL_INITIAL_ROOT_PASSWORD
1515
ExecStartPre=+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 }}
1617
ExecStart=/usr/bin/podman run \
1718
--network slirp4netns:cidr={{ podman_cidr }} \
1819
--sdnotify=conmon --cgroups=no-conmon \

ansible/roles/opendistro/templates/opendistro.service.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ After=network-online.target
1010
Environment=PODMAN_SYSTEMD_UNIT=%n
1111
Restart=always
1212
ExecStartPre=+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 }}
1314
ExecStart=/usr/bin/podman run \
1415
--network slirp4netns:cidr={{ podman_cidr }} \
1516
--sdnotify=conmon --cgroups=no-conmon \

0 commit comments

Comments
 (0)