fix docker compose install (become)
This commit is contained in:
@@ -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