Re: [ansible-project] ntp.j2 for different set of hosts

2019-01-20 Thread coach rhca
Thanks Kai and Steve for your different approaches to the issue. So Steve, you have mentioned in the last line *"If you just want to change the ip of the server, you can just use a variable in the template* *server {{ ntp_server }} iburst"-- >*you mean that to have a single template file and

Re: [ansible-project] Re: Unable to parse /etc/ansible/hosts as an inventory source

2019-01-20 Thread James Cassell
On Sun, Jan 20, 2019, at 12:56 PM, bng.ze...@gmail.com wrote: > also make sure that you are in the root directory while doing mkdir > > On Friday, June 22, 2018 at 5:34:49 AM UTC+5:30, stifan kristi wrote: > > > > is file /etc/ansible/hosts exist? perhaps you should create it first > > e.g. >

[ansible-project] Re: Unable to parse /etc/ansible/hosts as an inventory source

2019-01-20 Thread bng . zero1
also make sure that you are in the root directory while doing mkdir On Friday, June 22, 2018 at 5:34:49 AM UTC+5:30, stifan kristi wrote: > > is file /etc/ansible/hosts exist? perhaps you should create it first > e.g. > sudo mkdir /etc/ansible/ > sudo touch /etc/ansible/hosts > sudo chmod 777

[ansible-project] Re: Want to change the installatin path using win_package

2019-01-20 Thread shyam . awk
Hi Varun, I will try this. Thank you, Shyam > >>> -- 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

[ansible-project] Re: Want to change the installatin path using win_package

2019-01-20 Thread Varun Chopra
Also might wanna add /q On Sunday, January 20, 2019 at 10:42:43 PM UTC+5:30, Varun Chopra wrote: > > - name: installation of the package in D drive > win_package: > path: \\Network\\path\\rabbitmq.exe > arguments: INSTALLDIR="D:\Program Files" > > should work. Please post the verbose

[ansible-project] Re: Want to change the installatin path using win_package

2019-01-20 Thread Varun Chopra
- name: installation of the package in D drive win_package: path: \\Network\\path\\rabbitmq.exe arguments: INSTALLDIR="D:\Program Files" should work. Please post the verbose output here. (use -) On Sunday, January 20, 2019 at 7:48:55 PM UTC+5:30, shya...@gmail.com wrote: > > Hi,

[ansible-project] Want to change the installatin path using win_package

2019-01-20 Thread shyam . awk
Hi, I want to change the new software installation path from C:\ to D:\ but the installation is going to the C:\ drive and the following playbook not worked. The package is at shared network path. - name: installation of the package in D drive win_package: path:

Re: [ansible-project] Event handler using ansible

2019-01-20 Thread Sathya Narayanan
Thanks dave, I will take a look it ansible-runner. On Sat, 19 Jan 2019, 11:26 pm Dave Cottlehuber On Thu, 10 Jan 2019, at 17:47, Sathya Narayanan wrote: > > Hi All, > > > > I know, I have ask this question before, but to my surprise I don't find > > any better documentation on internet which

Re: [ansible-project] ansible jinja2 template to loop through variables that has multiple values for each variable on a per host basis

2019-01-20 Thread Nagaraj P
Hi Mauricio, Yes I have read for loop in ansible. But I'm not aware how to loop through the variables thats placed in the host inventory file. I need assistance in knowing where to place my variable list . On Sun 20 Jan, 2019 10:05 am Mauricio Tavares On Sat, Jan 19, 2019 at 11:04 AM wrote: