Is there a way to detect what OS ansible is being run on and to use that information in the condiational for a local_action task?
In particular, I need create a temporary directory on the local machine to fetch a local file into. I'd like to use mktemp, but it behaves differently on Mac OSX vs linux. I'd like one version of the localaction task that runs on Mac's and another for linux. -- 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/febc8289-fa10-43dc-8e8e-e898888ccc88%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
