Re: [ansible-project] Is there any Ansible master / Slave concept.

2018-03-15 Thread SUMIT SAHAY
On Wednesday, 14 March 2018 20:24:06 UTC+5:30, Brian Coca wrote: > > 'clustering' is a very broad term, you need to define the specific > features you are looking for. > > -- > -- > Brian Coca > Thanks Brian for your prompt reply. I am looking for load balancing in ansible, having

[ansible-project] Ansible 2.5.0 Release Candidate 3 is available

2018-03-15 Thread mattdavi
Hi all- we're happy to announce that Release Candidate 3 of Ansible 2.5.0 is now available! How do you get it? -- All Ansible pre-releases in the 2.5 series will be published to PyPI. This is probably the easiest way for

Re: [ansible-project] delegate_to /one member/ of a group

2018-03-15 Thread Žarko Aleksić
I was working on the similar thing and stumbled across your post. Might be too late for you, but it might help someone else. You can achieve this easily by setting random server as a fact once at the beginning of the playbook. Then referencing that (now static) fact as part of delagate_to. I

Re: [ansible-project] Re: Import/Include a Single task from one play book to another play book.

2018-03-15 Thread Brian Coca
import_X applies the tags to the imported tasks, include_X has the tags applied to itself, but not to the included tasks (we plan update with feature to allow for this). -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project"

[ansible-project] need help for the module cyberarkpassword - get secrets from CyberArk AIM

2018-03-15 Thread nitin kansal
This module says requirements as: https://docs.ansible.com/ansible/devel/plugins/lookup/cyberarkpassword.html The below requirements are needed on the local master node that executes this lookup. - CyberArk AIM tool installed How do I install this tool and is there any link to download

[ansible-project] Is there custom ansible module registry somewhere similar to galaxy.ansible.com for ansible role?

2018-03-15 Thread Tony Chia
I was wondering if anyone know a place similar to galaxy.ansible.com where I can find custom ansible modules that people have written that is not part of the ansible core or extra modules. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group.

[ansible-project] Register and print stdout_lines output while running a loop [code help]

2018-03-15 Thread Raja Shekar
Hello, I am currently working on a task as below - name: Client Schema upgrade shell: source ~/.bash_profile && sqlplus -S '{{ username }}/{{ password }}@{{ TNS_NAME }}' @"client.sql" {{ item }} with_items: "{{ schema_names.stdout_lines }}" register: client_schema args:

Re: [ansible-project] Re: Import/Include a Single task from one play book to another play book.

2018-03-15 Thread Vino B
Hi All, I was able to find the solution as this was stated in the ansible documentation And import/include statements: - import_tasks: foo.yml tags: [web,foo] or: - include_tasks: foo.yml tags: [web,foo] All of these apply the specified tags to EACH task inside the play, included file,

Re: [ansible-project] reboot via ansible 2.4

2018-03-15 Thread Jean-Yves LENHOF
Le 15/03/2018 à 17:06, rraka1...@gmail.com a écrit : > Thanks JYL, by the way there is no log when i run this play , even > system gets rebooted and up  but it doesn't  give any clue and breaks > the connection . > Anyway, i will try to debug the logs.. You can add more verbose with -v and -vv,

Re: [ansible-project] reboot via ansible 2.4

2018-03-15 Thread rraka1002
Thanks JYL, by the way there is no log when i run this play , even system gets rebooted and up but it doesn't give any clue and breaks the connection . Anyway, i will try to debug the logs.. On Thursday, March 15, 2018 at 9:03:45 PM UTC+5:30, Jean-Yves LENHOF wrote: > > Hi, > > > Le

Re: [ansible-project] reboot via ansible 2.4

2018-03-15 Thread Jean-Yves LENHOF
Hi, Le 15/03/2018 à 15:21, rraka1...@gmail.com a écrit : > Hello Friends,  > > Does anyone have experience using the reboot playbook on RHEL systems, > i'm using below method and it reboots the systems but in between while > system is rebooting it breaks the connection and does not wait for >

Re: [ansible-project] Error while running bigip_node module

2018-03-15 Thread Toshio Kuratomi
Setting ansible_python_interpreter=/path/to/python2.7 should do it for you unless the scl python2.7 doesn't know where its own libraries are (haven't used scl python so I don't know the answer to that off the top of my head) You can set that on the command line using the --extra-vars option to

[ansible-project] reboot via ansible 2.4

2018-03-15 Thread rraka1002
Hello Friends, Does anyone have experience using the reboot playbook on RHEL systems, i'm using below method and it reboots the systems but in between while system is rebooting it breaks the connection and does not wait for post reboot status like uptime, if someone already overcomed this

[ansible-project] Re: Error while running bigip_node module

2018-03-15 Thread 'J Hawkesworth' via Ansible Project
I *think* you'd have to run your ansible command using python2.7 - something like /usr/bin/python2.7 /usr/local/bin/ansible-playbook If you want to run remote ansible commands using 2.6 or something else, you can set ansible_python_interpreter in your inventory/group_vars as described

Re: [ansible-project] Expect Module Help

2018-03-15 Thread Samuel Sutton
Kai, It seems that editing out the "question:" helped. I still have to add [Connected to port 33. : "echo"] to my playbook though. If I omit that line, the playbook will time out. [sansible@scspr0415857001 ansible]$ cat expect-r6.yaml --- - hosts: localhost connection: local gather_facts:

[ansible-project] How to get winrm log from ansible?

2018-03-15 Thread Павел Полушин
Hello. I'm trying to debug an issue with transfering file to windows host by ansible. Is there any way to get log detailed log of winrm operations and errors from ansible? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] Error while running bigip_node module

2018-03-15 Thread eric landers
I'm trying to run the bigip_node playbook and am receiving the below error. I've also upgraded to python 2.7 which is now running alongside of python 2.6. How do I make the f5 modules now point to python 2.7 instead of 2.6? [admin@server1 f5]$ cat playbooks/labbigipnode.yaml --- - name: Create

[ansible-project] Re: Complex fact setting in Ansible playbooks

2018-03-15 Thread Giulio Vito de Musso
Hi, for future reference, I solved this issue by using the Jinja's {% if %} construct to build the conditions between the services: *C.service* {% set required_service = "network.target" %} {% if 'B_group' in group_names %} {%set required_service = "B.service" %} {% else %} {%if