fix docker compose install (become)

This commit is contained in:
eneller committed 2022-04-24 03:18:52 +02:00
1 parent d6acc6e953
commit 1c33f4f16d
1 file changed
+3
+3
View File
@@ -22,11 +22,14 @@
update_cache: yes update_cache: yes
- name: Add Docker GPG Key - name: Add Docker GPG Key
become: true
apt_key: apt_key:
url: https://download.docker.com/linux/ubuntu/gpg url: https://download.docker.com/linux/ubuntu/gpg
# id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
state: present state: present
- name: Add Docker Repository - name: Add Docker Repository
become: true
apt_repository: apt_repository:
repo: "deb [arch={{ arch }}] https://download.docker.com/linux/{{ansible_distribution|lower}} {{ansible_distribution_release}} stable" repo: "deb [arch={{ arch }}] https://download.docker.com/linux/{{ansible_distribution|lower}} {{ansible_distribution_release}} stable"
state: present state: present