role must not be be named like a host
This commit is contained in:
11
roles/webservers/tasks/install_apache.yml
Normal file
11
roles/webservers/tasks/install_apache.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: webservers | apache | installing apache
|
||||
package:
|
||||
name: "{{ apache_package }}"
|
||||
state: latest
|
||||
|
||||
- name: webservers | apache | setup server-statistics
|
||||
command:
|
||||
cmd: 'a2enmod status'
|
||||
creates: '/etc/apache2/mods-enabled/status.conf'
|
||||
|
||||
- include_tasks: configure_apache_snmpd.yml
|
||||
Reference in New Issue
Block a user