Run selinux playbook on seed hypervisor
Change-Id: Iec0b9cd24eda4fc0fc38003dea66c50ece7425b6
This commit is contained in:

committed by
Pierre Riteau

parent
caa7cc54ee
commit
836f394a6d
@@ -9,6 +9,7 @@
|
|||||||
- import_playbook: "wipe-disks.yml"
|
- import_playbook: "wipe-disks.yml"
|
||||||
- import_playbook: "users.yml"
|
- import_playbook: "users.yml"
|
||||||
- import_playbook: "dev-tools.yml"
|
- import_playbook: "dev-tools.yml"
|
||||||
|
- import_playbook: "selinux.yml"
|
||||||
- import_playbook: "network.yml"
|
- import_playbook: "network.yml"
|
||||||
- import_playbook: "firewall.yml"
|
- import_playbook: "firewall.yml"
|
||||||
- import_playbook: "tuned.yml"
|
- import_playbook: "tuned.yml"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Configure SELinux state and reboot if required
|
- name: Configure SELinux state and reboot if required
|
||||||
hosts: seed:overcloud:infra-vms
|
hosts: seed:seed-hypervisor:overcloud:infra-vms
|
||||||
tags:
|
tags:
|
||||||
- selinux
|
- selinux
|
||||||
roles:
|
roles:
|
||||||
|
@@ -32,12 +32,6 @@
|
|||||||
value: 1
|
value: 1
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ensure SELinux is disabled
|
|
||||||
selinux:
|
|
||||||
state: disabled
|
|
||||||
become: True
|
|
||||||
when: ansible_os_family in ['RedHat', 'Rocky']
|
|
||||||
|
|
||||||
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
|
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
|
||||||
# precedence over the standard config files.
|
# precedence over the standard config files.
|
||||||
- name: Ensure kayobe-config override config file exists
|
- name: Ensure kayobe-config override config file exists
|
||||||
|
@@ -32,12 +32,6 @@
|
|||||||
value: 1
|
value: 1
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ensure SELinux is disabled
|
|
||||||
selinux:
|
|
||||||
state: disabled
|
|
||||||
become: True
|
|
||||||
when: ansible_os_family in ['RedHat', 'Rocky']
|
|
||||||
|
|
||||||
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
|
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
|
||||||
# precedence over the standard config files.
|
# precedence over the standard config files.
|
||||||
- name: Ensure kayobe-config override config file exists
|
- name: Ensure kayobe-config override config file exists
|
||||||
|
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Kayobe now configures SELinux on the seed hypervisor. The default is to set
|
||||||
|
SELinux to ``permissive``.
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Configures SELinux to ``permissive`` on the seed hypervisor, which fixes
|
||||||
|
permission issues when provisioning seed or infra VMs.
|
Reference in New Issue
Block a user