I think you want this: 
http://docs.ansible.com/playbooks_conditionals.html#applying-when-to-roles-and-includes

Nathan

On Thursday, 29 May 2014 13:37:05 UTC-7, Adam Morris wrote:
>
>
>
> On Thursday, May 29, 2014 1:29:28 PM UTC-7, Adam Morris wrote:
>>
>> I can automate all of these steps easily, and even make the shell script 
>> dependent on whether a file exists (it creates several files, so that's 
>> easy...)
>>
>> The question I have is whether there is a better way to deal with the 
>> mount/unmount so it's only done if the software needs to be installed? 
>>
>>  
> Alternatively if you have any suggestions for how to conditionally skip a 
> role?  I can assert, or fail which will error out, but I can't find a 
> "skip", "step", "next", or similar that would allow me to skip an entire 
> role based on some condition...
>
> Adam
>

-- 
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/82cf5051-4542-4dea-ab2c-84f90671be02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to