Remove operation variable from Manager playbook in Infra command
This commit is contained in:
@@ -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']}
|
||||
|
||||
4
wx
4
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']}
|
||||
|
||||
Reference in New Issue
Block a user