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.

Reply via email to