Fix Infra command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user