Roles that need to reload or restart Apache after writing configuration files do not necessarily need to depend on the _apache_ role, but may assume Apache is deployed in some other way. To support this, I have factored out the handlers from the _apache_ role into an _apache-base_ role, which such roles can list as a dependency.
4 lines
88 B
YAML
4 lines
88 B
YAML
- name: save firewalld configuration
|
|
command:
|
|
firewall-cmd --runtime-to-permanent
|