Allow using operation without parameter name in Manager at Infra command
This commit is contained in:
@@ -72,7 +72,13 @@ wx-infra(){
|
||||
else
|
||||
host=${args['host']}
|
||||
fi
|
||||
|
||||
if [[ -z ${args['3']} ]]
|
||||
then
|
||||
operation=${args['operation']}
|
||||
else
|
||||
operation=${args['3']}
|
||||
fi
|
||||
|
||||
wxi-header "Manager" h3
|
||||
ansible-playbook $INFRA_VAULT manager.yml --tags $operation --extra-vars "host=$host"
|
||||
|
||||
Reference in New Issue
Block a user