role must not be be named like a host

This commit is contained in:
2025-10-03 09:19:47 +02:00
parent ad53e1630f
commit fa0dd762a7
19 changed files with 28 additions and 28 deletions

View File

@@ -0,0 +1,18 @@
- name: webservers | nginx | installing nginx
package:
name: "{{ nginx_package }}"
state: latest
- name: webservers | nginx | setup localhost for statistics
copy:
src: "nginx_localhost"
dest: "/etc/nginx/sites-available/localhost"
- name: webservers | 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