[P3] NextDNS profile ID hardcoded in playbook — move to variable #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The profile ID
e3448eis hardcoded directly in the shell command and committed to git. Visible to anyone with repo access.Fix
Move to
inventory.ymlas a host variable:Reference in playbook:
This also makes the playbook reusable for different profiles without editing code.
Files:
inventory.yml,playbooks/config-nextdns.yml