The *apache* role installs and configures the Apache HTTPD server and its *mod_ssl* module. It currently only works on Fedora/RHEL-based distributions.
12 lines
222 B
YAML
12 lines
222 B
YAML
- 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
|