Jannik Beyerstedt
a0ac0a67a7
Having the when condition of a task at the top instead of bottom is easiert to read. Also some spaces were another whitespace character on accident.
11 lines
369 B
YAML
11 lines
369 B
YAML
---
|
|
# Server/Caddyserver: Install Caddy Webserver (with some modules)
|
|
# ATTENTION: No Caddyfile is created yet and caddy is not enabled or started!
|
|
|
|
- name: caddyserver - Install caddy server
|
|
ansible.builtin.include_tasks: "caddy-install.yml"
|
|
|
|
- name: caddyserver - Setup caddy server
|
|
when: caddy_email is defined
|
|
ansible.builtin.include_tasks: "caddy-setup.yml"
|