Initial commit, squashed

This commit is contained in:
Timotej Lazar 2023-12-18 11:22:14 +01:00
commit 158e8740b8
83 changed files with 2718 additions and 0 deletions

View file

@ -0,0 +1,41 @@
- 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"