roles/apache: Role to deploy Apache HTTPD
The *apache* role installs and configures the Apache HTTPD server and its *mod_ssl* module. It currently only works on Fedora/RHEL-based distributions.
This commit is contained in:
11
roles/apache/handlers/main.yml
Normal file
11
roles/apache/handlers/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: restart httpd
|
||||
service:
|
||||
name=httpd
|
||||
state=restarted
|
||||
- name: reload httpd
|
||||
service:
|
||||
name=httpd
|
||||
state=reloaded
|
||||
- name: save firewalld configuration
|
||||
command:
|
||||
firewall-cmd --runtime-to-permanent
|
||||
Reference in New Issue
Block a user