changed role to webservers due to conflicting with hostnames

This commit is contained in:
2025-05-06 14:06:10 +02:00
parent 94b5c7e596
commit e4c70fc4c9
17 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
- name: webserver | nginx | installing nginx
package:
name: "{{ nginx_package }}"
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