Merge pull request #523 from kapsh/yaml_ext

Add yaml to _ansible-playbook recognized extensions
This commit is contained in:
nicoulaj 2017-08-29 17:52:47 +02:00 committed by GitHub
commit 7ca3815ebc
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ _ansible-playbook ()
typeset -A opt_args
_arguments -C -W \
"1:playbook yml file:_files -g '*.yml'"\
"1:playbook yml file:_files -g '*.yml|*.yaml'"\
'--ask-become-pass[ask for privilege escalation password]'\
"(-k --ask-pass)"{-k,--ask-pass}"[ask for connection password]"\
'--ask-su-pass[ask for su password (deprecated, use become)]'\