This repository was archived by the owner on Feb 13, 2023. It is now read-only.
File tree 3 files changed +12
-6
lines changed
roles/geerlingguy.firewall
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 26
26
- src : geerlingguy.elasticsearch
27
27
version : 2.1.3
28
28
- src : geerlingguy.firewall
29
- version : 2.2.0
29
+ version : 2.2.1
30
30
- src : geerlingguy.git
31
31
version : 1.3.0
32
32
- src : geerlingguy.java
Original file line number Diff line number Diff line change 1
1
---
2
- - name : Check firewalld package is installed (on RHEL).
2
+ - name : Check if firewalld package is installed (on RHEL).
3
3
shell : yum list installed firewalld
4
+ args :
5
+ warn : no
4
6
register : firewalld_installed
5
7
ignore_errors : true
6
8
changed_when : false
13
15
enabled : no
14
16
when : ansible_os_family == "RedHat" and firewall_disable_firewalld and firewalld_installed.rc == 0
15
17
16
- - name : Check ufw package is installed (on Ubuntu).
17
- shell : dpkg -l ufw
18
+ - name : Check if ufw package is installed (on Ubuntu).
19
+ shell : service ufw status
20
+ args :
21
+ warn : no
18
22
register : ufw_installed
19
23
ignore_errors : true
20
24
changed_when : false
27
31
enabled : no
28
32
when : ansible_distribution == "Ubuntu" and firewall_disable_ufw and ufw_installed.rc == 0
29
33
30
- - name : Check ufw package is installed (on Archlinux).
34
+ - name : Check if ufw package is installed (on Archlinux).
31
35
command : pacman -Q ufw
36
+ args :
37
+ warn : no
32
38
register : ufw_installed
33
39
ignore_errors : true
34
40
changed_when : false
Original file line number Diff line number Diff line change 8
8
# 22: SSH
9
9
# 25: SMTP
10
10
# 80: HTTP
11
- # 123: DNS
11
+ # 123: NTP
12
12
# 443: HTTPS
13
13
# 2222: SSH alternate
14
14
# 4949: Munin
You can’t perform that action at this time.
0 commit comments