Skip to content

Commit 82e5415

Browse files
evgeniehelms
authored andcommitted
create a shared volume for Foreman data
1 parent 2317bed commit 82e5415

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/roles/foreman/tasks/main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
sdnotify: true
7575
network: host
7676
hostname: "{{ ansible_fqdn }}"
77+
volume:
78+
- 'foreman-data-run:/var/run/foreman:z'
7779
secrets:
7880
- 'foreman-database-url,type=env,target=DATABASE_URL'
7981
- 'foreman-settings-yaml,type=mount,target=/etc/foreman/settings.yaml'
@@ -98,6 +100,8 @@
98100
sdnotify: true
99101
network: host
100102
hostname: "{{ ansible_fqdn }}"
103+
volume:
104+
- 'foreman-data-run:/var/run/foreman:z'
101105
secrets:
102106
- 'foreman-database-url,type=env,target=DATABASE_URL'
103107
- 'foreman-settings-yaml,type=mount,target=/etc/foreman/settings.yaml'

0 commit comments

Comments
 (0)