diff --git a/src/commands/infra.sh b/src/commands/infra.sh index 8b7d31c..0ad7097 100644 --- a/src/commands/infra.sh +++ b/src/commands/infra.sh @@ -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 diff --git a/wx b/wx index a582438..ce83229 100755 --- a/wx +++ b/wx @@ -349,10 +349,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