mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-05-01 01:15:16 +02:00
Add become: true
This commit is contained in:
parent
cf855d1b03
commit
263376925b
@ -41,7 +41,7 @@ docker_add_repo: true
|
||||
docker_repo_url: https://download.docker.com/linux
|
||||
|
||||
# Used only for Debian/Ubuntu/Pop!_OS/Linux Mint. Switch 'stable' to 'nightly' if needed.
|
||||
docker_apt_release_channel: nightly
|
||||
docker_apt_release_channel: stable
|
||||
# docker_apt_ansible_distribution is a workaround for Ubuntu variants which can't be identified as such by Ansible,
|
||||
# and is only necessary until Docker officially supports them.
|
||||
docker_apt_ansible_distribution: "{{ 'ubuntu' if ansible_distribution in ['Pop!_OS', 'Linux Mint'] else ansible_distribution }}"
|
||||
|
@ -34,6 +34,7 @@
|
||||
mode: "0755"
|
||||
|
||||
- name: Add Docker apt key.
|
||||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ docker_apt_gpg_key }}"
|
||||
dest: /etc/apt/keyrings/docker.asc
|
||||
|
Loading…
Reference in New Issue
Block a user