Merge "Create /var/lib/config-data if it doesn't exist."

This commit is contained in:
Zuul 2020-02-08 05:19:19 +00:00 committed by Gerrit Code Review
commit 3039119124
1 changed files with 6 additions and 0 deletions

View File

@ -1234,6 +1234,12 @@ outputs:
tasks:
- include_vars: global_vars.yaml
no_log: true
- name: make sure /var/lib/config-data exists
file:
path: /var/lib/config-data
state: directory
setype: svirt_sandbox_file_t
selevel: s0
- name: ensure we get the right selinux context
command: chcon -R -t svirt_sandbox_file_t /var/lib/config-data
args: