Remove operation variable from Manager playbook in Infra command
This commit is contained in:
@@ -68,14 +68,14 @@ wx-infra(){
|
|||||||
then
|
then
|
||||||
if [[ -z ${args['host']} ]]
|
if [[ -z ${args['host']} ]]
|
||||||
then
|
then
|
||||||
host="any"
|
host="*"
|
||||||
else
|
else
|
||||||
host=${args['host']}
|
host=${args['host']}
|
||||||
fi
|
fi
|
||||||
operation=${args['operation']}
|
operation=${args['operation']}
|
||||||
|
|
||||||
wxi-header "Manager" h3
|
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
|
else
|
||||||
wxi-header "Infra" h3
|
wxi-header "Infra" h3
|
||||||
host=${args['host']}
|
host=${args['host']}
|
||||||
|
|||||||
4
wx
4
wx
@@ -340,14 +340,14 @@ wx-infra(){
|
|||||||
then
|
then
|
||||||
if [[ -z ${args['host']} ]]
|
if [[ -z ${args['host']} ]]
|
||||||
then
|
then
|
||||||
host="any"
|
host="*"
|
||||||
else
|
else
|
||||||
host=${args['host']}
|
host=${args['host']}
|
||||||
fi
|
fi
|
||||||
operation=${args['operation']}
|
operation=${args['operation']}
|
||||||
|
|
||||||
wxi-header "Manager" h3
|
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
|
else
|
||||||
wxi-header "Infra" h3
|
wxi-header "Infra" h3
|
||||||
host=${args['host']}
|
host=${args['host']}
|
||||||
|
|||||||
Reference in New Issue
Block a user