add deps and docs for caddy
This commit is contained in:
parent
1e34416958
commit
6492d8fb7a
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/roles/galaxy/*
|
@ -1,6 +1,8 @@
|
|||||||
# Testing ansible
|
# Testing ansible
|
||||||
```
|
```
|
||||||
ansible-galaxy collection install -r requirements.yml
|
ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force
|
||||||
ansible-playbook playbook.yaml
|
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`
|
||||||
|
4
collections/requirements.yml
Normal file
4
collections/requirements.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
collections:
|
||||||
|
- name: community.general
|
||||||
|
- name: community.docker
|
@ -1,2 +1,5 @@
|
|||||||
collections:
|
---
|
||||||
- name: community.docker
|
|
||||||
|
- src: git+https://github.com/caddy-ansible/caddy-ansible.git
|
||||||
|
version: v3.2.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user