[ansible-project] Re: remove previously used remote_user (possibly ControlMaster, ControlPersist problem)

2018-02-09 Thread 'Davide' via Ansible Project
I found a related post [1] where it is suggested to just kill all processes before deleting the user [2]. [1]: https://groups.google.com/d/msg/ansible-project/woy_asjA5No/c2I86Gq7AwAJ [2]: https://groups.google.com/d/msg/ansible-project/woy_asjA5No/oLxrV6UZCAAJ -- You received this message

[ansible-project] Re: Deleting a user; still being used

2018-02-09 Thread 'Davide' via Ansible Project
So I am not the only one that has this problem on the raspberry pi ;) [1]. I am still confused on why I have this problem only on the raspberry pi but killing the process works great. Thanks! I still would prefer to set ControlMaster=no just for the one playbook that uses the default user. But

[ansible-project] Re: Cygwin breaking ansible

2018-02-09 Thread lpescatore via Ansible Project
Bump, again. On Tuesday, January 30, 2018 at 1:59:24 PM UTC-8, lpesc...@google.com wrote: > > Hi folks, I have a WEIRD problem. > After running cygwin ssh-host-config on my PC, which starts sshd and rsync > services, suddenly I can no longer run ansible. > I get this error: > >

[ansible-project] Re: unable to run ping command from Ansible server to Application server

2018-02-09 Thread Lokanath Veluru
Hi Suresh, Are you able to login SSH manually (ssh 10.XXX.XXX.XX)? --> Request you to regenerate the keys and make copy on both servers. It should work # On Friday, February 9, 2018 at 9:17:32 PM UTC+5:30, sureshma...@gmail.com wrote: > > hello > > > I have

Re: [ansible-project] How to configure playbook serial value by group var from inventory file?

2018-02-09 Thread Bing Hsueh
Thanks for the explaination. Now I know the reason why I cannot set the value from inventory file. And also thanks for branko to point out the inconsistence of variable names, I didn't notice that. :p Brian Coca於 2018年2月9日星期五 UTC+8下午11時08分27秒寫道: > > This is because serial is a play level

[ansible-project] unable to run ping command from Ansible server to Application server

2018-02-09 Thread sureshmadapathii
hello I have configured password less login from my ansible server to application server but my application server is having prompt like below This user account allows you to configure the appliance What would you like to do? 1) Configure system settings 2) Display Gateway configuration

[ansible-project] Re: Layer7 Prompt is not allowing to ping the application server

2018-02-09 Thread sureshmadapathii
On Friday, February 9, 2018 at 9:13:33 PM UTC+5:30, sureshma...@gmail.com wrote: > > hello > > > I have configured password less login from my ansible server to > application server but my application server is having prompt like below > > This user account allows you to configure the

[ansible-project] Layer7 Prompt is not allowing to ping the application server

2018-02-09 Thread sureshmadapathii
hello I have configured password less login from my ansible server to application server but my application server is having prompt like below This user account allows you to configure the appliance What would you like to do? 1) Configure system settings 2) Display Gateway configuration

Re: [ansible-project] How to configure playbook serial value by group var from inventory file?

2018-02-09 Thread Brian Coca
This is because serial is a play level keyword and must be the same for ALL hosts in play, so inventory data cannot be used to set it. You cannot set 'batches' of hosts for all play if the batch size keeps changing per host. -- -- Brian Coca -- You received this message because

[ansible-project] Ansible: Failed to connect to the host via ssh

2018-02-09 Thread Lokanath Veluru
Hi Ansible Team: This is application requirement to do package installation and configuration tunning on multiple servers and i have done with my requirement on all servers except one server(10.XXX.XXX.XX). 10.XXX.XXX.XX: In this server, we are able to do SSH but while we are

Re: [ansible-project] Ansible reporting wrong service status

2018-02-09 Thread Sidh
Thanks for your suggestion. Regards, Sidh On Thursday, February 8, 2018 at 5:49:52 PM UTC+1, Kai Stian Olstad wrote: > > On Thursday, 8 February 2018 16.26.07 CET Sidh wrote: > > Ansible - 2.4 > > > > With below snippet, service failed to start at remote host but ansible > > reports that

Re: [ansible-project] How to configure playbook serial value by group var from inventory file?

2018-02-09 Thread Branko Majic
On Fri, 9 Feb 2018 01:35:08 -0800 (PST) Bing Hsueh wrote: > > ERROR! The field 'serial' has an invalid value, which includes an > >> undefined variable. The error was: 'batch_deploy' is undefined Ansible is complaining that you are referencing a variable

[ansible-project] Re: Ansible Tower can't reach SCM source or remote host.

2018-02-09 Thread 'J Hawkesworth' via Ansible Project
WSL doesn't support every function available in the linux kernel unfortunately. There's a bug report open for signalfd here https://github.com/Microsoft/WSL/issues/129 If I recall Tower wants a fair bit of RAM etc so you are probably better off spinning up a dedicated VM for it. Hope this

[ansible-project] How to configure playbook serial value by group var from inventory file?

2018-02-09 Thread Bing Hsueh
I've tried to setup a group var "batch_deploy" in my inventory file and use it in playbook serial field. But always got failed with following message. Is there any concept I misunderstanding? PLAYBOOK: playbook.yml >>

Re: [ansible-project] In a loop everything executes at the same time?

2018-02-09 Thread Guillem Sola
Thanks Brian for helping me understand how with item task work under the hoods. I was expecting "with_items" to work as different tasks, as per documentation "To save some typing, repeated tasks can be written in short-hand like so