Remove ifup/ifdown scripts
This commit is contained in:
parent
9a8ee7942c
commit
f7674cd5bb
@ -11,18 +11,10 @@
|
|||||||
ansible.builtin.shell: netplan apply
|
ansible.builtin.shell: netplan apply
|
||||||
when: networkconfig.changed
|
when: networkconfig.changed
|
||||||
|
|
||||||
- name: Add ifDown Scripts via networkd-dispatcher
|
- name: Add Table 42 after netplan Apply
|
||||||
ansible.builtin.template:
|
ansible.builtin.shell: /bin/ip rule add fwmark 0x4 table 42
|
||||||
src: 50-ifdown-hooks.sh.j2
|
when: networkconfig.changed
|
||||||
dest: /etc/networkd-dispatcher/off.d/50-ifdown-hooks.sh
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: '0755'
|
|
||||||
|
|
||||||
- name: Add ifUP Scripts via networkd-dispatcher
|
- name: Add Table 42v6 after netplan Apply
|
||||||
ansible.builtin.template:
|
ansible.builtin.shell: /bin/ip -6 rule add fwmark 0x4 table 42
|
||||||
src: 50-ifup-hooks.sh.j2
|
when: networkconfig.changed
|
||||||
dest: /etc/networkd-dispatcher/routable.d/50-ifup-hooks.sh
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: '0755'
|
|
Loading…
Reference in New Issue
Block a user