Fix Infra command

This commit is contained in:
Christer Warén
2026-01-04 08:26:52 +02:00
parent a9e5b2c336
commit c9008a981b
2 changed files with 4 additions and 4 deletions

View File

@@ -77,10 +77,10 @@ wx-infra(){
wxi-header "Manager" h3
ansible-playbook $INFRA_VAULT manager.yml --tags $operation --extra-vars "host=$hostname operation=$operation"
else
wxi-header "Playbooks" h3
wxi-header "Infra" h3
hostname=${args['hostname']}
tags=${args['2']}
ansible-playbook $INFRA_VAULT playbooks.yml --tags $tags --limit "$hostname"
ansible-playbook $INFRA_VAULT infra.yml --tags $tags --limit "$hostname"
fi
cd "$OLDPWD"
fi