Merge "Split out selinux management"

This commit is contained in:
Zuul 2020-04-28 22:55:42 +00:00 committed by Gerrit Code Review
commit dfbf9f03d0
1 changed files with 8 additions and 2 deletions

View File

@ -449,8 +449,8 @@ outputs:
deploy_source_host: "DEPLOY_SOURCE_HOST"
deploy_target_host: "DEPLOY_TARGET_HOST"
- hosts: all
name: Manage SELinux and generate /etc/hosts
- hosts: DEPLOY_TARGET_HOST
name: Manage SELinux
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
any_errors_fatal: yes
tasks:
@ -458,6 +458,12 @@ outputs:
selinux:
policy: targeted
state: SELINUX_MODE
- hosts: all
name: Generate /etc/hosts
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
any_errors_fatal: yes
tasks:
{% raw %}
- name: Configure Hosts Entries
include_role: