Add become

This commit is contained in:
Filipe Marcelino 2024-09-02 00:49:52 +01:00
parent 753494a26d
commit a53660baab

View File

@ -50,6 +50,7 @@
when: add_repository_key is failed and docker_add_repo | bool
- name: Add Docker apt key (alternative for older systems without SNI).
become: true
shell: >
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
when: add_repository_key is failed and docker_add_repo | bool