diff --git a/roles/fedora/tasks/ssh.yml b/roles/fedora/tasks/ssh.yml index 46919f1..b4fca4a 100644 --- a/roles/fedora/tasks/ssh.yml +++ b/roles/fedora/tasks/ssh.yml @@ -18,3 +18,10 @@ name: sshd.service state: restarted when: changed_ssh_config.changed == true +- name: Allow SSH through firewall + become: true + firewalld: + service: ssh + permanent: yes + state: enabled + immediate: yes