Move chcon for /var/lib/config-data
The chconf for /var/lib/config-data should only apply to the hosts being targeted for the deployment and not all hosts. Change-Id: Ib56f370322f3e64fbedb24c09da7be72fc650082 Closes-Bug: #1880249
This commit is contained in:
parent
4c337d7737
commit
4290e8b157
@ -22,8 +22,15 @@
|
||||
tasks:
|
||||
- include_vars: global_vars.yaml
|
||||
no_log: true
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: ensure we get the right selinux context
|
||||
- hosts: "{{ deploy_target_host }}"
|
||||
name: Ensure /var/lib/config-data context
|
||||
gather_facts: false
|
||||
any_errors_fatal: yes
|
||||
tasks:
|
||||
- name: Ensure /var/lib/config-data context
|
||||
shell: |-
|
||||
set -o pipefail
|
||||
if [[ -e /var/lib/config-data ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user