Ensure apt sources.list.d directory exists.
Systems built from minimal images may not have this directory present, so ensure that it exists. Change-Id: I7e5932f20acbbf516ada9ebec4eb0db7781fbfb8
This commit is contained in:
parent
1aef1f258c
commit
a131f1fe3f
@ -15,6 +15,14 @@
|
||||
|
||||
# APT configuration tasks that apply on all nodes.
|
||||
|
||||
- name: Ensure /etc/apt/sources.list.d exists
|
||||
file:
|
||||
path: /etc/apt/sources.list.d
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
|
||||
- name: Validate repo config is deb822 format
|
||||
vars:
|
||||
_repo_check: "{{ openstack_hosts_package_repos | selectattr('repo', 'defined') | map(attribute='repo') }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user