Maybe with one of these http://docs.ansible.com/playbooks_conditionals.html 
on the condition that the software doesn't exist. 

On Thursday, May 29, 2014 1:29:28 PM UTC-7, Adam Morris wrote:
>
> Greetings,
>
> I have been asked to automate a software installation task, and the actual 
> installation is relatively simple so I'm not having any problems there...
>
> Manual steps...
> mount an nfs directory on the client
> run a shell script from within the nfs directory (vendor provided 
> installation script, with options)
> unmount the nfs directory.
>
> 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? 
>
> Any thoughts?
>
> Thanks,
>
> 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/20b85041-bf42-48c4-a942-aebf41c5b76c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to