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,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: webserver | certbot | install certbot
package:
name: certbot
state: latest
- include_tasks: apps/apps.yml