add keyring folder
This commit is contained in:
parent
e6d29bcbaf
commit
f9e5a9cf21
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@
|
||||||
become: true
|
become: true
|
||||||
when: docker_command == 'docker'
|
when: docker_command == 'docker'
|
||||||
|
|
||||||
|
- name: Ensure keyring folder for apt exists
|
||||||
|
file:
|
||||||
|
path: /etc/apt/keyrings
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Get Kubic (Podman) repo key
|
- name: Get Kubic (Podman) repo key
|
||||||
shell: "curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_{{ ansible_distribution_version }}/Release.key | gpg --dearmor | tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null"
|
shell: "curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_{{ ansible_distribution_version }}/Release.key | gpg --dearmor | tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null"
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue