podman_container module - environment variables work

This commit is contained in:
Mike Holloway 2025-11-29 16:46:47 -05:00
parent a2e283f069
commit 446e439052

View File

@ -20,10 +20,7 @@
volumes:
- "/home/{{ user.name }}/nextcloud/data:/home/step"
env:
VIRTUAL_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
LETSENCRYPT_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
VIRTUAL_PROTO: "fastcgi"
VIRTUAL_ROOT: "/var/www/html/"
FOO: "bar"
- name: NGINX Proxy Container State created
containers.podman.podman_container: