Agent skills

Prettier
eslint
shopify
This commit is contained in:
2026-09-06 06:38:04 +00:00
parent ba93b829c4
commit 328a1a23e0
177 changed files with 240971 additions and 868 deletions
+20
View File
@@ -0,0 +1,20 @@
---
- name: Build snippet block from variables
set_fact:
snippet_block: |
{{ snippet.host }} {
reverse_proxy {{ snippet.upstream }}
}
- name: Check if snippet already exists
set_fact:
snippet_present: "{{ snippet_block in caddyfile_content }}"
- name: Add snippet if missing
ansible.builtin.blockinfile:
path: "{{ caddyfile_path }}"
marker: "# {mark} Ansible managed Caddy snippet for {{ snippet.host }}"
block: "{{ snippet_block }}"
create: yes
when: not snippet_present
notify: "Reload Caddy"