diff --git a/src/commands/infra.sh b/src/commands/infra.sh index 80cf96e..b39b1ae 100644 --- a/src/commands/infra.sh +++ b/src/commands/infra.sh @@ -68,14 +68,14 @@ wx-infra(){ then if [[ -z ${args['host']} ]] then - host="any" + host="*" else host=${args['host']} fi operation=${args['operation']} wxi-header "Manager" h3 - ansible-playbook $INFRA_VAULT manager.yml --tags $operation --extra-vars "host=$host operation=$operation" + ansible-playbook $INFRA_VAULT manager.yml --tags $operation --extra-vars "host=$host" else wxi-header "Infra" h3 host=${args['host']} diff --git a/wx b/wx index b61dfdb..1cf5342 100755 --- a/wx +++ b/wx @@ -340,14 +340,14 @@ wx-infra(){ then if [[ -z ${args['host']} ]] then - host="any" + host="*" else host=${args['host']} fi operation=${args['operation']} wxi-header "Manager" h3 - ansible-playbook $INFRA_VAULT manager.yml --tags $operation --extra-vars "host=$host operation=$operation" + ansible-playbook $INFRA_VAULT manager.yml --tags $operation --extra-vars "host=$host" else wxi-header "Infra" h3 host=${args['host']}