mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-09-26 17:51:03 +02:00
change proxy_env to proxy_env|default('')
This commit is contained in:
parent
a6ab775c40
commit
cb362c27ee
@ -19,4 +19,4 @@
|
||||
dest: "{{ docker_compose_path }}"
|
||||
mode: 0755
|
||||
become: true
|
||||
environment: "{{ proxy_env }}"
|
||||
environment: "{{ proxy_env|default('') }}"
|
||||
|
@ -11,7 +11,7 @@
|
||||
state: "{{ docker_package_state }}"
|
||||
notify: restart docker
|
||||
become: true
|
||||
environment: "{{ proxy_env }}"
|
||||
environment: "{{ proxy_env|default('') }}"
|
||||
|
||||
# TODO: Remove this shim once 18.09.1 or later is released.
|
||||
- import_tasks: docker-1809-shim.yml
|
||||
|
@ -12,7 +12,7 @@
|
||||
key: https://download.docker.com/linux/centos/gpg
|
||||
state: present
|
||||
become: true
|
||||
environment: "{{ proxy_env }}"
|
||||
environment: "{{ proxy_env|default('') }}"
|
||||
|
||||
- name: Add Docker repository.
|
||||
get_url:
|
||||
@ -22,7 +22,7 @@
|
||||
group: root
|
||||
mode: 0644
|
||||
become: true
|
||||
environment: "{{ proxy_env }}"
|
||||
environment: "{{ proxy_env|default('') }}"
|
||||
|
||||
- name: Configure Docker Edge repo.
|
||||
ini_file:
|
||||
|
Loading…
Reference in New Issue
Block a user