common: Sync from polyfloyd

This commit is contained in:
polyfloyd 2022-10-08 20:03:33 +02:00
parent b1add6ce2c
commit 97a4e95ca8
4 changed files with 21 additions and 20 deletions

View file

@ -31,7 +31,7 @@
lineinfile:
path: /etc/bash.bashrc
insertafter: EOF
regexp: "^source /usr/share/doc/fzf/{{ item }}"
regexp: "^source /usr/share/doc/fzf/examples/{{ item }}"
line: "source /usr/share/doc/fzf/examples/{{ item }} # Managed by Ansible"
with_items:
- key-bindings.bash
@ -77,12 +77,15 @@
- ipv6
notify: persist iptables
- name: Allow IPv6 ICMP
- name: Allow ICMP
iptables:
chain: INPUT
protocol: ipv6-icmp
protocol: "{{ item.proto }}"
jump: ACCEPT
ip_version: ipv6
ip_version: "{{ item.ip }}"
with_items:
- { ip: ipv4, proto: icmp }
- { ip: ipv6, proto: ipv6-icmp }
notify: persist iptables
- name: Allow related and established connections