Great, thanks! Jacek
2014-11-04 4:10 GMT+00:00 Brian Coca <[email protected]>: > using delegate_to: localhost, local_action or connection: local with > file/copy/template should do the trick > > On Mon, Nov 3, 2014 at 7:42 PM, Jacek <[email protected]> wrote: > >> Hi, >> >> Is there a way to ask ansible to create a file locally on the controller >> node where my playbook exists? I need to create a property file for further >> build process and it would be great if I could do it automatically via >> ansible based on the information from inventory. >> >> To give a little more details. I use ansible to deploy my service on a >> remote cluster and once it's deployed I need to upload various bits and >> pieces to it. The property file is used to identify the service endpoint >> address. >> >> Cheers, >> Jacek >> >> -- >> 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/1a47cb4d-d8b2-4fc4-a210-793ab061d95e%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/1a47cb4d-d8b2-4fc4-a210-793ab061d95e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Brian Coca > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/c1wKUlyisL0/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAJ5XC8kSjt7EWSTz90jiSBVZKLbm5g%3DgXXbupVPOxeTRtuw%3DzA%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAJ5XC8kSjt7EWSTz90jiSBVZKLbm5g%3DgXXbupVPOxeTRtuw%3DzA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJQp9nH32ZVv0%3DTv5TZ0Rn6SJtKa3dayUpojYit%3DJyAJn_B%3Dyw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
