add deps and docs for caddy

This commit is contained in:
Arya 2023-04-19 21:34:23 +05:30
parent 1e34416958
commit 6492d8fb7a
Signed by: arya
GPG Key ID: 842D12BDA50DF120
4 changed files with 14 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/roles/galaxy/*

View File

@ -1,6 +1,8 @@
# Testing ansible
```
ansible-galaxy collection install -r requirements.yml
ansible-playbook playbook.yaml
ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force
ansible-playbook playbook.yaml # Initialize
ansible-playbook -i inventory.yml -e @secrets.enc --ask-vault-pass playbooks/caddy.yaml # Caddy
```
To add secrets: `ansible-vault edit secrets.enc`

View File

@ -0,0 +1,4 @@
---
collections:
- name: community.general
- name: community.docker

View File

@ -1,2 +1,5 @@
collections:
- name: community.docker
---
- src: git+https://github.com/caddy-ansible/caddy-ansible.git
version: v3.2.0