enabled apache snmp check
This commit is contained in:
@@ -3,16 +3,10 @@
|
||||
name: "{{ apache_package }}"
|
||||
state: latest
|
||||
|
||||
# - name: webserver | apache | setup localhost for statistics
|
||||
# copy:
|
||||
# src: "apache_localhost"
|
||||
# dest: "/etc/apache/sites-available/localhost"
|
||||
- name: webserver | apache | setup server-statistics
|
||||
command:
|
||||
free_form: # not required. The command module takes a free form command to run. There is no actual parameter named 'free form'.
|
||||
cmd: 'a2enmod status'
|
||||
creates: '/etc/apache2/mods-enabled/status.conf'
|
||||
|
||||
# - name: webserver | apache | link sites-available to sites-enabled for localhost
|
||||
# file:
|
||||
# path: "/etc/apache/sites-enabled/localhost"
|
||||
# state: link
|
||||
# src: "/etc/apache/sites-available/localhost"
|
||||
# notify: restart_apache
|
||||
|
||||
# - include_tasks: configure_apache_snmpd.yml
|
||||
- include_tasks: configure_apache_snmpd.yml
|
||||
|
||||
Reference in New Issue
Block a user