Merge "Move chcon for /var/lib/config-data"

This commit is contained in:
Zuul 2020-05-27 00:12:18 +00:00 committed by Gerrit Code Review
commit dba54f6741
1 changed files with 8 additions and 1 deletions

View File

@ -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