ansible-role-server/tasks/caddyserver.yml
Jannik Beyerstedt a0ac0a67a7 [TIDY] move when statements, fix whitespace
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.
2022-02-13 20:52:02 +01:00

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"