mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
Remove sudo dependency
The sudo dependency should not be needed because sudo escalation is managed by Ansible.
This commit is contained in:
parent
010917b868
commit
fcb1f461c0
@ -39,7 +39,7 @@
|
||||
|
||||
- name: Add Docker apt key (alternative for older systems without SNI).
|
||||
shell: >
|
||||
curl -sSL {{ docker_apt_gpg_key }} | sudo apt-key add -
|
||||
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
||||
args:
|
||||
warn: false
|
||||
when: add_repository_key is failed
|
||||
|
Loading…
Reference in New Issue
Block a user