8 lines
191 B
YAML
8 lines
191 B
YAML
- name: Restart firewall
|
|
ansible.builtin.command: /etc/network/if-pre-up.d/firewall
|
|
changed_when: true
|
|
|
|
- name: Restart sshd
|
|
ansible.builtin.systemd:
|
|
name: ssh
|
|
state: restarted
|