2023-03-18 22:52:37 +05:30
|
|
|
# Testing ansible
|
|
|
|
```
|
2023-04-19 21:34:23 +05:30
|
|
|
ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force
|
|
|
|
ansible-playbook playbook.yaml # Initialize
|
2023-04-20 17:06:11 +05:30
|
|
|
ansible-playbook -i inventory.yml -e @secrets.enc --ask-vault-pass playbooks/caddy.yaml # Caddy
|
|
|
|
ansible-playbook -i inventory.yml -e @secrets.enc --ask-vault-pass playbooks/docker.yaml # Docker Compose
|
2023-03-18 22:52:37 +05:30
|
|
|
```
|
|
|
|
|
2023-04-19 21:34:23 +05:30
|
|
|
To add secrets: `ansible-vault edit secrets.enc`
|