Compare commits
3 Commits
601d5fcdc3
...
080c5b4dc2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
080c5b4dc2 | ||
|
|
c9d39cae0c | ||
|
|
34ca777a1d |
@@ -2,7 +2,7 @@
|
|||||||
namespace: uumas
|
namespace: uumas
|
||||||
name: general
|
name: general
|
||||||
description: General roles
|
description: General roles
|
||||||
version: 0.5.15
|
version: 0.5.17
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- uumas
|
- uumas
|
||||||
|
|||||||
2
roles/caddy/defaults/main.yaml
Normal file
2
roles/caddy/defaults/main.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
caddy_use_firewalld: true
|
||||||
@@ -7,3 +7,8 @@ argument_specs:
|
|||||||
description: Email address used for ssl certs
|
description: Email address used for ssl certs
|
||||||
type: str
|
type: str
|
||||||
required: true
|
required: true
|
||||||
|
caddy_use_firewalld:
|
||||||
|
description: Whether to open ports using firewalld
|
||||||
|
type: bool
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ dependencies:
|
|||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
version_min: 22
|
version_min: 22
|
||||||
- role: uumas.general.firewalld
|
- role: uumas.general.firewalld
|
||||||
|
when: caddy_use_firewalld
|
||||||
|
|||||||
@@ -52,3 +52,4 @@
|
|||||||
- http
|
- http
|
||||||
- https
|
- https
|
||||||
- http3
|
- http3
|
||||||
|
when: caddy_use_firewalld
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Include variables for os family {{ ansible_os_family }}
|
- name: Include variables for os family {{ ansible_os_family }}
|
||||||
ansible.builtin.include_vars: "{{ ansible_os_family }}.yaml"
|
ansible.builtin.include_vars: "{{ ansible_facts.os_family }}.yaml"
|
||||||
|
|
||||||
- name: Install locales package
|
- name: Install locales package
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
|||||||
Reference in New Issue
Block a user