Re: [ansible-project] Re: How to debug very simple hanging playbook

2015-07-30 Thread Olivier Lauret
an for your help. Regards, Olivier On Wednesday, 29 July 2015 22:10:26 UTC+1, Olivier Lauret wrote: > > Hi All, > > I have tested the latest version and I have the same behaviour. So, so far > , only works in 1.6.10. I guess, this is a regression. > > Regards, > Olivier >

Re: [ansible-project] Re: How to debug very simple hanging playbook

2015-07-29 Thread Olivier Lauret
Hi All, I have tested the latest version and I have the same behaviour. So, so far , only works in 1.6.10. I guess, this is a regression. Regards, Olivier On Tuesday, 28 July 2015 16:52:23 UTC+1, Olivier Lauret wrote: > > Hello Brian, > > Thank you for your answer. I have tried th

Re: [ansible-project] Re: How to debug very simple hanging playbook

2015-07-28 Thread Olivier Lauret
Hello Brian, Thank you for your answer. I have tried that and it is working fine. Thisi is reference to the "Password:" I mentioned earlier. The problem seems to be related to the version of ansible. It is working fine in 1.6.10 but not in 1.9.1 I am testing now the latest stable version (1.9

[ansible-project] Re: How to debug very simple hanging playbook

2015-07-28 Thread Olivier Lauret
t; - Gather facts works fine - Python 2.6.6 - Linux machine Is it something related to the "Password:" prompt? How to find this out? Regards, Olivier On Monday, 27 July 2015 17:32:04 UTC+1, Olivier Lauret wrote: > > Hi all, I was wondering if there was away to debug

[ansible-project] How to debug very simple hanging playbook

2015-07-27 Thread Olivier Lauret
Hi all, I was wondering if there was away to debug a very simple playbook when it is hanging. ### Playbook: - name: Install app on my servers hosts: my_hosts gather_facts: no remote_user: my_user su: yes roles: - app_install app_install role (under tasks/main.yml) - name: que

Re: [ansible-project] Importing custom python library from ansible custom module

2015-07-16 Thread Olivier Lauret
and the change probates thru. > > Just some food for thought. > > > > > On Thu, Jul 16, 2015 at 3:30 PM, Olivier Lauret > wrote: > >> Hi Tim, >> >> Thank you very much for the update. It helps a lot, thank you very much. >> Indeed, I have chose

Re: [ansible-project] Importing custom python library from ansible custom module

2015-07-16 Thread Olivier Lauret
Hi Tim, Thank you very much for the update. It helps a lot, thank you very much. Indeed, I have chosen your second option as it is easier to maintain and avoid any conflict with other systems. The inifile.py is too big to be included in the custom module but I would not do this as I wouldn't be

[ansible-project] Importing custom python library from ansible custom module

2015-07-16 Thread Olivier Lauret
Hello all, Is there a way to import a custom python library from an ansible custom module? I am trying to create a custom module and need a specific python library. I have put my inifile.py file in the library folder of my playbook. My ansible custom module is in the same folder. However, when

[ansible-project] changing remote_tmp from the playbook

2015-06-11 Thread Olivier Lauret
Hello, I have an issue with the remote_tmp parameter from the ansible.cfg that I would like to change from the playbook task. The problem I have is the way I am connecting to the servers, with the different type of users. Here are some example Most of the connections: GenericUserA/AnsibleS

[ansible-project] Re: On the same server, how to run a role twice with different arguments

2015-03-23 Thread Olivier Lauret
ole: yourrole, install_path: '/opt/install2' } > > > > On Monday, March 23, 2015 at 9:49:18 AM UTC-4, Olivier Lauret wrote: >> >> Hello all, >> >> I am new with ansible and trying to understand how, on the same server, >> to run a role twice w

[ansible-project] On the same server, how to run a role twice with different arguments

2015-03-23 Thread Olivier Lauret
Hello all, I am new with ansible and trying to understand how, on the same server, to run a role twice with different arguments. What I am trying to do is to install twice the same software but using a different path. I have tried to use the host file like: [grp1] 192.168.1.10 [grp2