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

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

what a giant mess

parent 89f0446d
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -14,6 +14,13 @@
enabled: yes
state: restarted
daemon_reload: yes
notify:
- enable SELinux
- name: enable SELinux
selinux:
policy: targeted
state: enforcing
- name: reload rke2
ansible.builtin.systemd:
......
......@@ -3,14 +3,14 @@
timeout: 45
delegate_to: localhost
- name: kill the openstack ccm pods to make sure they boot in permissive mode
shell: "/var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml rollout restart -n kube-system ds openstack-cloud-controller-manager "
register: openstack_ccm_ready
until: openstack_ccm_ready.stdout
retries: 2
delay: 30
when: ( 'master' in group_names )
ignore_errors: True
#- name: kill the openstack ccm pods to make sure they boot in permissive mode
# shell: "/var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml rollout restart -n kube-system ds openstack-cloud-controller-manager "
# register: openstack_ccm_ready
# until: openstack_ccm_ready.stdout
# retries: 2
# delay: 30
# when: ( 'master' in group_names )
# ignore_errors: True
- name: Sleep for another 30 seconds so that the OS-CCM has had time to boot up
ansible.builtin.wait_for:
......@@ -40,7 +40,7 @@
# ignore_errors: True
- name: Enable SELinux
selinux:
policy: targeted
state: enforcing
\ No newline at end of file
# - name: Enable SELinux
# selinux:
# policy: targeted
# state: enforcing
\ No newline at end of file
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