From c0f96253a4e7f02767da0f5be9922a78a2bcc1fd Mon Sep 17 00:00:00 2001 From: kapsh Date: Sun, 27 Aug 2017 17:47:54 +0300 Subject: [PATCH] Add yaml to _ansible-playbook recognized extensions --- src/_ansible-playbook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_ansible-playbook b/src/_ansible-playbook index 95aa261..e7c6b6a 100644 --- a/src/_ansible-playbook +++ b/src/_ansible-playbook @@ -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)]'\