ansible-caddy/roles/install/tasks/main.yml
GregoryDosh 9eb4f6dce4
All checks were successful
Publish Collection / Publish Collection (push) Has been skipped
Version Bump Galaxy.yml / Version Bump Galaxy.yml (push) Has been skipped
Initial Dosh LLC Release
2025-11-18 17:09:03 -06:00

11 lines
614 B
YAML

# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: 2025 Dosh LLC
---
- block:
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate-config.yml"
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/user-group.yml"
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/bin-install.yml"
when: CADDY_BIN_INSTALL | bool
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/caddy-config.yml"
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/service-systemd.yml"
when: ansible_service_mgr == 'systemd' and CADDY_SERVICE_SYSTEMD_INSTALL | bool