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,22 @@
# Load distro-specific variables
- include_vars: "{{ ansible_distribution | lower }}.yml"
tags: always
- block:
- debug:
msg: Debug
# install software
- import_tasks: install_apache.yml
when:
- apache is defined
- apache == true
- import_tasks: install_nginx.yml
when:
- nginx is defined
- nginx == true
- import_tasks: install_php.yml
- name: webservers | certbot | install certbot
package:
name: certbot
state: latest
- include_tasks: apps/apps.yml