Adding firewalld install check
This commit is contained in:
parent
6432c2c181
commit
c77ccef1f1
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
||||||
---
|
---
|
||||||
# file: roles/base/tasks/redhat_firewall.yml
|
# file: roles/base/tasks/redhat_firewall.yml
|
||||||
|
|
||||||
|
- name: Install firewalld package
|
||||||
|
package:
|
||||||
|
name: firewalld
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Allow SSH access through the firewall
|
- name: Allow SSH access through the firewall
|
||||||
firewalld:
|
firewalld:
|
||||||
service: ssh
|
service: ssh
|
||||||
|
|
Loading…
Reference in a new issue