Manage routine operations through Ansible
This commit is contained in:
+12
-6
@@ -110,12 +110,18 @@ See full shape in [docs/pdns-upstream.md](../docs/pdns-upstream.md). Live secret
|
||||
- [pdns-upstream docs](../docs/pdns-upstream.md)
|
||||
|
||||
```bash
|
||||
ssh -4 windy@hk2.chans.xyz
|
||||
cd /opt/pdns && docker compose ps -a
|
||||
docker compose logs -f auth poweradmin backup
|
||||
./scripts/manual-backup.sh
|
||||
# after pdns.conf / secrets.j2 / auth env changes:
|
||||
docker compose up -d --force-recreate auth
|
||||
cd ansible
|
||||
ansible-playbook playbooks/health-report.yml --limit powerdns
|
||||
# after reviewed auth config / secret-template / environment changes:
|
||||
ansible-playbook playbooks/compose-reconcile.yml --limit powerdns \
|
||||
-e '{"service_reconcile_confirm": true, "service_reconcile_targets": ["auth"]}'
|
||||
```
|
||||
|
||||
Direct SSH remains appropriate for streaming incident logs or running the
|
||||
on-server, intentionally imperative manual backup command:
|
||||
|
||||
```bash
|
||||
ssh -4 windy@hk2.chans.xyz 'cd /opt/pdns && ./scripts/manual-backup.sh'
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user