mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-07-04 01:16:09 +02:00
Add become
This commit is contained in:
parent
753494a26d
commit
a53660baab
@ -50,6 +50,7 @@
|
|||||||
when: add_repository_key is failed and docker_add_repo | bool
|
when: add_repository_key is failed and docker_add_repo | bool
|
||||||
|
|
||||||
- name: Add Docker apt key (alternative for older systems without SNI).
|
- name: Add Docker apt key (alternative for older systems without SNI).
|
||||||
|
become: true
|
||||||
shell: >
|
shell: >
|
||||||
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
||||||
when: add_repository_key is failed and docker_add_repo | bool
|
when: add_repository_key is failed and docker_add_repo | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user