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