formatting

This commit is contained in:
uumas
2023-09-04 02:13:17 +03:00
parent 699c667a45
commit 4e9f127210
18 changed files with 60 additions and 55 deletions

View File

@@ -12,11 +12,11 @@
- main
- name: Install caddy
apt:
ansible.builtin.apt:
name: caddy
- name: Remove default settings from caddyfile
blockinfile:
ansible.builtin.blockinfile:
path: /etc/caddy/Caddyfile
marker: "{mark}"
marker_begin: ':80 {'
@@ -26,7 +26,7 @@
backup: true
- name: Put caddy general config in place
blockinfile:
ansible.builtin.blockinfile:
path: /etc/caddy/Caddyfile
marker: "# {mark} ANSIBLE MANAGED BLOCK general"
block: |
@@ -35,4 +35,4 @@
}
validate: 'caddy validate --config %s --adapter caddyfile'
backup: true
notify: reload caddy
notify: Reload caddy