fix(custodian-agent): dedicated playbook, correct working dir
- ansible/playbooks/custodian-agent.yaml: minimal playbook with only the custodian_agent role — avoids loading base/sops_agent/etc when all we need is key injection - Makefile: use custodian-agent.yaml in provision targets; remove --tags workaround (was fragile; standalone playbook is correct) Manual invocation (from CoulombCore): cd ~/railiance-infra/ansible ansible-playbook playbooks/custodian-agent.yaml -u tegwick --limit Railiance01 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
087f5da57b
commit
8c08b4b806
2 changed files with 53 additions and 9 deletions
16
ansible/playbooks/custodian-agent.yaml
Normal file
16
ansible/playbooks/custodian-agent.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
# Minimal playbook — only deploys the Custodian automation SSH key.
|
||||
# Use this instead of bootstrap.yaml when you only need key injection:
|
||||
#
|
||||
# cd ~/railiance-infra/ansible
|
||||
# ansible-playbook playbooks/custodian-agent.yaml -u tegwick --limit Railiance01
|
||||
#
|
||||
# Or via Makefile from repo root:
|
||||
# make provision-custodian-agent-host HOST=Railiance01
|
||||
|
||||
- hosts: all
|
||||
become: true
|
||||
vars_files:
|
||||
- ../inventory/group_vars/all.yaml
|
||||
roles:
|
||||
- role: custodian_agent
|
||||
Loading…
Add table
Add a link
Reference in a new issue