When you say "checking role dependencies" is slow, can you elaborate?
There's a feature of Ansible called role dependencies which has nothing at all to do with the network, nor does it run any tasks, so I'm pretty sure we're not talking about the same thing. Or if we are, you've somehow got a super-strange recursive loop going on that we didn't anticipate and it's not going to get done ever -- but you said it does get done. In either case, more info would be great! On Sun, Dec 8, 2013 at 10:07 AM, Brian Green <[email protected]> wrote: > Have you tried something like: > > --- > dependencies: > - { role: some_role, when: some_role_dependency is not defined } > > ansible-playbook -i hosts some_role.yml -e "some_role_dependency=false" > - skips dependency > ansible-playbook -i hosts some_role.yml > - executes dependency > > > On Sunday, December 8, 2013 3:34:19 AM UTC-6, [email protected] wrote: >> >> Sometimes, we would like deploy a machine without the need for checking >> the "Role Dependencies", because it is very slow for our playbook (up to 5 >> mins), is it possible? >> >> Thanks. >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
