kayobe/ansible/selinux.yml
Will Szumski 836f394a6d Run selinux playbook on seed hypervisor
Change-Id: Iec0b9cd24eda4fc0fc38003dea66c50ece7425b6
2022-06-24 14:00:13 +00:00

10 lines
306 B
YAML

---
- name: Configure SELinux state and reboot if required
hosts: seed:seed-hypervisor:overcloud:infra-vms
tags:
- selinux
roles:
- role: selinux
selinux_reboot_timeout: "{{ 600 if ansible_facts.virtualization_role == 'host' else 300 }}"
when: ansible_facts.os_family == 'RedHat'