From fc4399d190cb620d64d643626960079e5f9bedb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 15 Jan 2026 05:36:24 +0200 Subject: [PATCH] Update Manager playbook in Infra command --- src/commands/infra.sh | 4 ++-- wx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/infra.sh b/src/commands/infra.sh index 80cf96e..4ae601a 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" --limit "localhost,$host" else wxi-header "Infra" h3 host=${args['host']} diff --git a/wx b/wx index b61dfdb..7d7e191 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" --limit "localhost,$host" else wxi-header "Infra" h3 host=${args['host']}