Allow SSH through firewall
This commit is contained in:
parent
c27968d306
commit
784fdca2fe
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue