We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20e1e3 commit c656bfdCopy full SHA for c656bfd
security/main.yml
@@ -14,6 +14,7 @@
14
proto: tcp
15
setype: ssh_port_t
16
state: present
17
+ when: ansible_selinux.status == 'enabled'
18
19
- name: Update SSH configuration to be more secure.
20
lineinfile:
@@ -147,9 +148,11 @@
147
148
selinux:
149
policy: targeted
150
state: enforcing
151
152
153
- name: Ensure httpd can connect to the network.
154
seboolean:
155
name: httpd_can_network_connect
156
state: yes
157
persistent: yes
158
0 commit comments