42 lines
923 B
YAML
42 lines
923 B
YAML
- name: enable interfaces
|
|
command: ifup --auto
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: mkinitfs
|
|
command: mkinitfs
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: reload frr
|
|
command: /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: reload nftables
|
|
service:
|
|
name: nftables
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart conntrackd
|
|
service:
|
|
name: conntrackd
|
|
state: restarted
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart frr
|
|
service:
|
|
name: frr
|
|
state: restarted
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: reload sshd.friwall
|
|
service:
|
|
name: sshd.friwall
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart sshd.friwall
|
|
service:
|
|
name: sshd.friwall
|
|
state: restarted
|
|
when: "'handler' not in ansible_skip_tags"
|