mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
🔧 NetworkManager/Calico fix
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
serial: 1
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Pausing for 5 seconds...
|
- name: Pausing for 5 seconds...
|
||||||
ansible.builtin.pause:
|
ansible.builtin.pause:
|
||||||
@@ -135,8 +136,14 @@
|
|||||||
ansible.posix.selinux:
|
ansible.posix.selinux:
|
||||||
state: permissive
|
state: permissive
|
||||||
policy: targeted
|
policy: targeted
|
||||||
|
- name: System Configuration (3) | NetworkManager - Calico fix
|
||||||
|
ansible.builtin.blockinfile:
|
||||||
|
path: /etc/NetworkManager/conf.d/calico.conf
|
||||||
|
create: true
|
||||||
|
block : |
|
||||||
|
[keyfile]
|
||||||
|
unmanaged-devices=interface-name:cali*;interface-name:tunl*;interface-name:vxlan.calico;interface-name:vxlan-v6.calico;interface-name:wireguard.cali;interface-name:wg-v6.cali
|
||||||
notify: Reboot
|
notify: Reboot
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: Reboot
|
- name: Reboot
|
||||||
ansible.builtin.reboot:
|
ansible.builtin.reboot:
|
||||||
|
Reference in New Issue
Block a user