Skip to content

Commit f7feab1

Browse files
authored
fix(foreman): Render ansible_host on host, not on foreman (#209)
1 parent 7a868ec commit f7feab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/foreman/tasks/host_groups.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
image: ghcr.io/radiorabe/httpd:0.5.4
275275
env:
276276
- name: PODMAN_HOST
277-
value: "{{ ansible_host }}"
277+
value: "{{'{{ ansible_host }}'}}"
278278
ports:
279279
- containerPort: 8080
280280
hostPort: 8080
@@ -400,7 +400,7 @@
400400
image: ghcr.io/radiorabe/httpd:0.5.4
401401
env:
402402
- name: PODMAN_HOST
403-
value: "{{ ansible_host }}"
403+
value: "{{'{{ ansible_host }}'}}"
404404
ports:
405405
- containerPort: 8080
406406
hostPort: 8080

0 commit comments

Comments
 (0)