fix docker compose install (become)
This commit is contained in:
1 parent
d6acc6e953
commit
1c33f4f16d
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user