http_proxy doesn't seem to work #519
-
Does anyone know if env.vir. works with these modules? - name: Pull images
containers.podman.podman_image:
name: "{{ item }}"
loop:
- docker.io/library/mariadb:{{ mariadb_version }}
- docker.io/library/redis:{{ redis_version }}
- docker.io/library/nextcloud:{{ nextcloud_version }}
- docker.io/library/nextcloud:fpm-alpine
environment: "{{ proxy_env }}" |
Beta Was this translation helpful? Give feedback.
Answered by
sshnaidm
Nov 22, 2022
Replies: 2 comments 6 replies
-
What do you have in |
Beta Was this translation helpful? Give feedback.
3 replies
-
Do you use - hosts: localhost
gather_facts: true
vars:
proxy_env:
http_proxy: http://proxy.localproxy.com:8000
https_proxy: http://proxy.localproxy.com:8000
tasks:
- name: pull
containers.podman.podman_image:
name: alpine:3.3
environment: "{{ proxy_env }}" |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
metasikander
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you use
gather_facts: true
?This worked for me: