mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
435 ansible-lint
This commit is contained in:
parent
ae29f9f9c0
commit
6cb849c416
@ -36,12 +36,12 @@
|
|||||||
- name: Ensure curl is present
|
- name: Ensure curl is present
|
||||||
package: name=curl state=present
|
package: name=curl state=present
|
||||||
|
|
||||||
- name: Add Docker apt key
|
- name: Add Docker apt key
|
||||||
shell: >
|
shell: >
|
||||||
curl -fsSL {{ docker_apt_gpg_key }} | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg --yes
|
curl -fsSL {{ docker_apt_gpg_key }} | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg --yes
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Change permissions for /etc/apt/keyrings/docker.gpg
|
- name: Change permissions for /etc/apt/keyrings/docker.gpg
|
||||||
file:
|
file:
|
||||||
path: /etc/apt/keyrings/docker.gpg
|
path: /etc/apt/keyrings/docker.gpg
|
||||||
mode: 'a+r'
|
mode: 'a+r'
|
||||||
|
Loading…
Reference in New Issue
Block a user