setup snmpd

This commit is contained in:
rene
2022-03-11 14:06:05 +01:00
parent 2ff81b17ea
commit 3bd4f46ceb
6 changed files with 88 additions and 8 deletions

View File

@@ -1,4 +1,18 @@
- name: webserver | nginx | installing nginx
package:
name: "{{ nginx_package }}"
state: latest
state: latest
- name: webserver | nginx | setup localhost for statistics
copy:
src: "nginx_localhost"
dest: "/etc/nginx/sites-available/localhost"
- name: webserver | nginx | link sites-available to sites-enabled for localhost
file:
path: "/etc/nginx/sites-enabled/localhost"
state: link
src: "/etc/nginx/sites-available/localhost"
notify: restart_nginx
- include_tasks: configure_nginx_snmpd.yml