12 lines
322 B
YAML
12 lines
322 B
YAML
---
|
|
- name: common | Restart SSH daemon
|
|
systemd:
|
|
daemon_reload: true
|
|
name: sshd
|
|
state: restarted
|
|
|
|
- name: common | Load iptables rules for IPv4
|
|
shell: 'cat {{ common__conf_ipv4 }} | iptables-restore'
|
|
|
|
- name: common | Load iptables rules for IPv6
|
|
shell: 'cat {{ common__conf_ipv6 }} | ip6tables-restore'
|