Merge "add docker_apt_key_env variable to docker role"
This commit is contained in:
commit
9acc0ca6f7
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
With the ``docker_apt_key_env`` variable it is now possible to set
|
||||
enviroment variables for the get_url module to pass http proxy config.
|
||||
`LP#2086700 <https://launchpad.net/bugs/2086700>`__
|
@ -11,6 +11,9 @@ docker_apt_key_file: "gpg"
|
||||
docker_apt_package: "docker-ce"
|
||||
docker_apt_package_pin: ""
|
||||
|
||||
# Set environment variables when fetching gpg keys, to use a proxy for example
|
||||
docker_apt_key_env: {}
|
||||
|
||||
# Docker Yum repository configuration.
|
||||
docker_yum_url: "https://download.docker.com/linux/centos"
|
||||
docker_yum_baseurl: "{{ docker_yum_url }}/$releasever/$basearch/stable"
|
||||
|
@ -30,6 +30,7 @@
|
||||
mode: "0644"
|
||||
force: true
|
||||
become: true
|
||||
environment: "{{ docker_apt_key_env }}"
|
||||
|
||||
- name: Install docker apt pin
|
||||
copy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user