[ansible-project] Which ansible.cfg value is the "ansible-playbook -T" flag overriding?

2019-02-18 Thread ibdg
Per my stackoverflow question: https://stackoverflow.com/questions/54757444/which-ansible-cfg-timeout-value-is-t-overriding-on-the-ansible-playbook-comma The ansible-playbook documentation says that -T will "override the connection

[ansible-project] Dropping Fedora rpms from https://releases.ansible.com/

2019-02-18 Thread Toshio Kuratomi
Hey all, Recently we had a discussion internally about whether to build upstream Ansible rpms on Fedora 29 using Python3 or Python2. This lead to a question about how useful the Fedora rpms Ansible releases on https://releases.ansible.com/ are. We found that for each of the Fedora releases, the

Re: [ansible-project] Having problems with a variable in vars_files

2019-02-18 Thread Sudarshan V
Have a look at https://docs.ansible.com/ansible/latest/modules/include_vars_module.html Cheers, Sudarshan 0423356179 On Tue, Feb 19, 2019 at 9:39 AM Sudarshan V wrote: > Ok, it is unclear what you are trying to accomplish. > try import_vars > > > > Cheers, > Sudarshan > 0423356179 > > > On

Re: [ansible-project] Having problems with a variable in vars_files

2019-02-18 Thread Sudarshan V
Ok, it is unclear what you are trying to accomplish. try import_vars Cheers, Sudarshan 0423356179 On Mon, Feb 18, 2019 at 11:47 PM Brian O'Mahony wrote: > I had tried that previous, and it is the same issue. > > -- > You received this message because you are subscribed to the Google Groups

[ansible-project] Re: WinRM timeout for VMWare Tools Install

2019-02-18 Thread Jordan Borean
The psrp connection plugin in Ansible 2.8 adds a reconnection_retries and reconnection_backoff option that allows you to retry a connection x amount of times on a ReadTimeout https://docs.ansible.com/ansible/devel/plugins/connection/psrp.html. You could try that out and see how it goes. The

[ansible-project] Re: WinRM timeout for VMWare Tools Install

2019-02-18 Thread Seth Daemen
Did someone find a solutions for the time-out? Op maandag 8 augustus 2016 16:56:17 UTC+2 schreef Matt Betts: > > Unfortunately the only switches I could find with VMWare tools was to > exclude modules entirely, not to postpone a delayed install until reboot. > I'm just going to keep VMware

[ansible-project] Re: Export debug msg to a file

2019-02-18 Thread Mike Klebolt
The stat module does not have a return key of stdout_lines. For a list of data that is returned from the stat module please reference this page here . On Monday, February 18, 2019 at 2:58:11 AM UTC-6, Adelmo Silva

[ansible-project] Re: Execute eval from shell module to set up environment variables

2019-02-18 Thread Adrian Sebastian Dutu
You need to put those export commands in the shell initialization files. Running export will set it just for the current session, which will close when the playbook ends. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

Re: [ansible-project] Execute eval from shell module to set up environment variables

2019-02-18 Thread Adrian Sebastian Dutu
You need to put those export commands in the shell initialization files. Running export will set it just for the current session, which will close when the playbook ends. On Sat, Feb 16, 2019 at 10:12 PM Захари Палазов wrote: > Is it possible to execute eval command from a shell module to set

Re: [ansible-project] Having problems with a variable in vars_files

2019-02-18 Thread Brian O'Mahony
I had tried that previous, and it is the same issue. -- 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

Re: [ansible-project] apt_key very slow on some keys?

2019-02-18 Thread Dick Visser
On Sat, 16 Feb 2019 at 19:11, 'Georg Großmann' via Ansible Project wrote: > > I think I can confirm now, that it is a problem with the IPv6 adress. > I just used the proposal from > https://stackoverflow.com/questions/31519567/disable-ipv6-for-python-script > and changed /etc/gai.conf. > Python

Re: [ansible-project] Check if test server configuration is same as prod server

2019-02-18 Thread Sudheer Satyanarayana
On 18/02/19 2:23 PM, Yacine Mourchid wrote: This Speadsheet gets populated manually and these OK/KO values are a simply excel formule to compare both values. You both comfirm that Ansible is the best way to maintain sure control of configurations and comparison of both environnement. Do you

Re: [ansible-project] How to handle case when dynamic inventory initially returns empty host list?

2019-02-18 Thread Keif Gwinn
Perhaps add a static inventory item alongside the dynamic so the scripts can run against ansible localhost to create the remote inventory? https://www.linuxtechi.com/manage-ansible-static-and-dynamic-host-inventory/

[ansible-project] Export debug msg to a file

2019-02-18 Thread Adelmo Silva
Good Morning I need to send to a text file a message that appears in debug msg after a check if a directory exists. Follow Playbook below. But it is giving error in the recording of the file. This is my Playbook hosts: teste become: yes become_user: root become_method: sudo gather_facts: yes

Re: [ansible-project] Check if test server configuration is same as prod server

2019-02-18 Thread Yacine Mourchid
This Speadsheet gets populated manually and these OK/KO values are a simply excel formule to compare both values. You both comfirm that Ansible is the best way to maintain sure control of configurations and comparison of both environnement. Do you know a good tutorial to set up this system ?