Allow using operation without parameter name in Manager at Infra command
This commit is contained in:
1 parent
21db6ac4e9
commit
8a75a6c1ce
2 files changed
+12
No files matched your search
@@ -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