Merge "Create /var/lib/config-data if it doesn't exist." into stable/train
This commit is contained in:
commit
7b948ecb55
|
@ -1225,6 +1225,12 @@ outputs:
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: global_vars.yaml
|
- include_vars: global_vars.yaml
|
||||||
no_log: true
|
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
|
- name: ensure we get the right selinux context
|
||||||
command: chcon -R -t svirt_sandbox_file_t /var/lib/config-data
|
command: chcon -R -t svirt_sandbox_file_t /var/lib/config-data
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in New Issue