Re: [ansible-project] best practice to sync a lot of file in different server
ook thnak you! On Tuesday, 27 November 2018 11:06:03 UTC+1, Dick Visser wrote: > > On Tue, 27 Nov 2018 at 10:00, cavamagie > > wrote: > > > > thank you! > > but all the file in in a repository, > > for you is not better to create a zip a use like an artifcat over nexus > or jfrog? > > to speed up push & post > > > > I have no idea what you mean by 'all the file in in a repository'. If > you mean the source of the module, then I don't see how this is > relevant? > Also artifcat, nexus, or jfrog don't mean anything to me (neither do > push & post, in this context). > > Your task is about synchronizing a number of nagios plugins in a local > source directory to a destination directory on your target system. > > As for the hint about 'a zip', then I assume you are asking if > combining individual files into a single archive file would be better. > This of course depends on what your definition of 'better' is. > Assuming it includes 'easier to manage', then the answer is no. > You add a lot of overhead by having to handle the creation and > unwrapping of the ZIP file. > It will hence be more work to achieve idempotency (depending if this > is part of your definition of 'better', but I think it should). > > So I would still go for the 'synchronize' module (note that your > original task actually had that very word in it's name). > If your scale requires further optimisations, then I would suggest to > do some tests using different strategies and compare numbers. > > Dick > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6ec9c9be-3121-4088-ad96-d99dbbc78337%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[ansible-project] Re: AWX Tower callback - No matching host could be found but tower console is working
same problem Op donderdag 30 augustus 2018 20:46:53 UTC+2 schreef devula...@gmail.com: > > > I have setup inventory and job template and the call back is returning > "No matching host could be found" but actually the tower console I could > see host listed in the inventory and even attempted synch and even I could > able to run the job template successfully > > could someone please help me why callback is not working but tower console > is working fine. > > Thank you! > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f472c2c1-e648-4a93-b698-75be543261f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[ansible-project] best practice to sync a lot of file in different server
i have the necessity to copy a large number of file in a large number of server and to check periodically now i use a task like this - name: Synchronization of src on the control machine to dest on the remote hosts usr/lib/nagios/plugins copy: src={{ item }} dest=/usr/lib/nagios/plugins/ mode=0755 with_fileglob: - plugins/* but take a lot of time (70 file) x 200 server i have an maven it's a good idea to create a zip with all the file and manage like a single entities ? -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6892fa4c-d737-41ab-b7e2-e4cf08d6f5d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[ansible-project] manage linux system policy routing?
i'm aunable to use the module net_static_route other ways? -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8b6bd35f-af68-49de-ad9c-a6429d199b1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.