Ignore error if --extra-vars is not given

50 views
Skip to first unread message

Fazal-e-Rehman Khan

unread,
Dec 29, 2014, 12:02:05 AM12/29/14
to ansible...@googlegroups.com
Dear All,

Is there a way to ignore errors if extra-vars are not given at the command line. In my case, I don't need to pass extra-vars every time I run the playbook.

Regards,
Fazal

Dan Vaida

unread,
Jan 10, 2015, 8:21:48 AM1/10/15
to ansible...@googlegroups.com
If I got your question right, you should be able to use http://docs.ansible.com/playbooks_roles.html#role-default-variables
Reply all
Reply to author
Forward
0 new messages