On 30/05/2014 6:37 am, "Adam Morris" <[email protected]> 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...

The condition you set for whether the software needs to be installed is up
to you and easy enough, but for the auto mounting you might want to look
into autofs.

- Gonzalo

-- 
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/CAHpidMCvWUKnS0zOHUGiMQfQcPwzc%3DxjSrwTHRP95PvE0v-i6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to