update caddy
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
blockinfile:
|
||||
path: /etc/caddy/Caddyfile
|
||||
marker: "{mark}"
|
||||
marker_begin: ':80'
|
||||
marker_begin: ':80 {'
|
||||
marker_end: '# https://caddyserver.com/docs/caddyfile'
|
||||
state: absent
|
||||
validate: 'caddy validate --config %s --adapter caddyfile'
|
||||
@@ -38,7 +38,7 @@
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK general"
|
||||
block: |
|
||||
{
|
||||
email {{ email }}
|
||||
email {{ admin_email }}
|
||||
}
|
||||
validate: 'caddy validate --config %s --adapter caddyfile'
|
||||
backup: yes
|
||||
|
||||
Reference in New Issue
Block a user