ansibletest/README.md

9 lines
286 B
Markdown

# Testing ansible
```
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`