Browse Source

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
changes/20/730420/4
Alex Schultz 1 month ago
parent
commit
4290e8b157
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      common/deploy-steps-playbooks-common.yaml

+ 8
- 1
common/deploy-steps-playbooks-common.yaml 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


Loading…
Cancel
Save