parameterize repo
This commit is contained in:
parent
589022b2b6
commit
f2e076f96f
2 changed files with 2 additions and 1 deletions
|
@ -1 +1,2 @@
|
|||
docker_daemon_config: {}
|
||||
docker_repository: debian
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
keyring: /etc/apt/keyrings/docker.gpg
|
||||
- name: Add repository
|
||||
apt_repository:
|
||||
repo: "deb [signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
||||
repo: "deb [signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/{{ docker_repository }} {{ ansible_distribution_release }} stable"
|
||||
- name: Install Docker
|
||||
apt:
|
||||
pkg:
|
||||
|
|
Reference in a new issue