fix docker compose install (become)

This commit is contained in:
eneller
2022-04-24 03:18:52 +02:00
parent d6acc6e953
commit 1c33f4f16d

View File

@@ -22,11 +22,14 @@
update_cache: yes
- name: Add Docker GPG Key
become: true
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
# id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
state: present
- name: Add Docker Repository
become: true
apt_repository:
repo: "deb [arch={{ arch }}] https://download.docker.com/linux/{{ansible_distribution|lower}} {{ansible_distribution_release}} stable"
state: present