Skip to content
Snippets Groups Projects
Commit 836f394a authored by Will Szumski's avatar Will Szumski Committed by Pierre Riteau
Browse files

Run selinux playbook on seed hypervisor

Change-Id: Iec0b9cd24eda4fc0fc38003dea66c50ece7425b6
parent caa7cc54
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
- import_playbook: "wipe-disks.yml"
- import_playbook: "users.yml"
- import_playbook: "dev-tools.yml"
- import_playbook: "selinux.yml"
- import_playbook: "network.yml"
- import_playbook: "firewall.yml"
- import_playbook: "tuned.yml"
......
---
- name: Configure SELinux state and reboot if required
hosts: seed:overcloud:infra-vms
hosts: seed:seed-hypervisor:overcloud:infra-vms
tags:
- selinux
roles:
......
......@@ -32,12 +32,6 @@
value: 1
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
# precedence over the standard config files.
- name: Ensure kayobe-config override config file exists
......
......@@ -32,12 +32,6 @@
value: 1
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
# precedence over the standard config files.
- name: Ensure kayobe-config override config file exists
......
---
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment