Re: [ansible-devel] Python invocation from Ansible

2021-01-21 Thread Db0
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/lineinfile_module.html https://docs.ansible.com/ansible/latest/collections/ansible/builtin/service_module.html These are generally very basic ansible concepts. A simple google search should find all the info you need. On Thu, Jan

Re: [ansible-devel] Python invocation from Ansible

2021-01-21 Thread Heman Malve
Thanks for your anticipation !! mean to say , bunch of servers name maintaining under hosts file. Do you have any sample implementation/web link or info related to this topic ; On Thursday, 21 January 2021 at 16:10:39 UTC+5:30 dbz...@gmail.com wrote: > Not sure what you mean by "one of the f

Re: [ansible-devel] Python invocation from Ansible

2021-01-21 Thread Db0
Not sure what you mean by "one of the file" but connecting to a bunch of servers, changing a few files and restarting their services is the bread & butter of ansible and definitely doable without needing to use python at all. On Thu, Jan 21, 2021 at 9:33 AM Heman Malve wrote: > Hi Team, > > One