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.
6 lines
74 B
YAML
6 lines
74 B
YAML
dependencies:
|
|
- role: logrotate
|
|
tags:
|
|
- logrotate
|
|
- role: apache-base
|