Ensure /etc/apt/sources.list.d exists
Jammy nodes appear to lack the /etc/apt/sources.list.d dir by default. Ensure it exists in the install-docker role before we attempt to install a deb repo config to that directory for docker packages. Change-Id: I859d31ed116607ffa3d8db5bfd0b805d72dd70c0
This commit is contained in:
parent
d5cef7827e
commit
33c2b4ff5f
@ -14,6 +14,14 @@
|
|||||||
apt_key:
|
apt_key:
|
||||||
data: "{{ ubuntu_gpg_key }}"
|
data: "{{ ubuntu_gpg_key }}"
|
||||||
|
|
||||||
|
- name: Ensure /etc/apt/sources.list.d exists
|
||||||
|
file:
|
||||||
|
path: /etc/apt/sources.list.d
|
||||||
|
state: directory
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
# TODO(mordred) We should add a proxy cache mirror for this
|
# TODO(mordred) We should add a proxy cache mirror for this
|
||||||
- name: Add docker apt repo
|
- name: Add docker apt repo
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user