*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit eebebc97 authored by entlein's avatar entlein
Browse files

including a upgrade all packages and removing the SELinux switching OFF/ON

parent 6eedd34e
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -7,6 +7,11 @@
backup: yes
loop: "{{ groups['all'] }}"
- name: dnf upgrade all
dnf:
name: "*"
state: latest
- name: install RHEL packages
dnf:
name:
......@@ -97,10 +102,7 @@
semodule -i /etc/selinux/targeted/policy/my-openstack-ccm.cil /etc/selinux/targeted/policy/base-container.cil
when: ( 'control-plane' in group_names )
- name: Disable SELinux
selinux:
policy: targeted
state: permissive
- name: Ensure /var/lib/rancher/rke2/server/manifests
file:
......@@ -114,8 +116,4 @@
state: directory
recurse: yes
- name: Enable SELinux
selinux:
policy: targeted
state: enforcing
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