update caddy
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
These variables might be required by multiple roles and need to be defined. Example values below.
|
These variables might be required by multiple roles and need to be defined. Example values below.
|
||||||
|
|
||||||
```
|
```
|
||||||
email: 'admin@domain.tld'
|
admin_email: 'admin@domain.tld'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace: uumas
|
namespace: uumas
|
||||||
name: general
|
name: general
|
||||||
version: 0.4.1
|
version: 0.4.2
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- uumas
|
- uumas
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/caddy/Caddyfile
|
path: /etc/caddy/Caddyfile
|
||||||
marker: "{mark}"
|
marker: "{mark}"
|
||||||
marker_begin: ':80'
|
marker_begin: ':80 {'
|
||||||
marker_end: '# https://caddyserver.com/docs/caddyfile'
|
marker_end: '# https://caddyserver.com/docs/caddyfile'
|
||||||
state: absent
|
state: absent
|
||||||
validate: 'caddy validate --config %s --adapter caddyfile'
|
validate: 'caddy validate --config %s --adapter caddyfile'
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK general"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK general"
|
||||||
block: |
|
block: |
|
||||||
{
|
{
|
||||||
email {{ email }}
|
email {{ admin_email }}
|
||||||
}
|
}
|
||||||
validate: 'caddy validate --config %s --adapter caddyfile'
|
validate: 'caddy validate --config %s --adapter caddyfile'
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user