Add yaml to _ansible-playbook recognized extensions

This commit is contained in:
kapsh 2017-08-27 17:47:54 +03:00
parent 97ae4a914e
commit c0f96253a4
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)]'\