[ansible-project] Ansible Contributor Summit (27 July) - Information and remote participation details

2016-07-22 Thread Robyn Bergeron
Greetings! In case you haven't heard: The Ansible Contributor Summit will be happening this coming Wednesday, 27 July, the day before AnsibleFest in San Francisco. Similar to our last Contributor Summit, we'll be having ways to listen and collaborate remotely with the folks who are present in

Re: [ansible-project] Re: ansible 2.0.1.0 run show version with Cisco ASA-55x0

2016-07-22 Thread Peter Sprygada
There are now ASA specific modules available in extras ( https://github.com/ansible/ansible-modules-extras/tree/devel/network/asa) I would recommend using those for management of ASA devices. On Fri, Jul 22, 2016 at 12:25 PM, Tony Reveal wrote: > Did you ever find a fix for

Re: [ansible-project] Tomcat startup.sh script works from shell but not with ansible

2016-07-22 Thread Dick Davies
Folks, please don't use nohup. Any linux will have systemd or upstart which makes it easy to run foreground tasks as services if you write a small file to tell it what to do. On 22 July 2016 at 14:49, wrote: > iam also struck in tomcat8 to run .sh script can

[ansible-project] Re: Can ansible parse and act based on information in an input xml / yaml / json file?

2016-07-22 Thread K Dawg
As an example, I have a 3 level tree structure that defines a config. top level list: A , B , C, D, ... <-- note the ellipses Then under A: x, y, z, <-- note the ellipses Then under x: i, j, k, <--- note the ellipses And the pattern can continue. Moreover, there can be absent

Re: [ansible-project] Tomcat startup.sh script works from shell but not with ansible

2016-07-22 Thread shivaji . devopsenabler
iam also struck in tomcat8 to run .sh script can you share your playbook. In which file i have to add this line.(nohup $CATALINA_HOME/bin/catalina.sh start) On Wednesday, February 12, 2014 at 12:28:42 AM UTC+5:30, Alain Sahli wrote: > > Thank you very much! Your solution works. > > On

[ansible-project] local_action calling python script in ansible 2.1

2016-07-22 Thread Mohan L
Hi All, I am using the below code with Ansible 1.9 and works well: - name: Gether Info local_action: Infos.py host={{ hostname }} user={{ username }} password={{ mypassword }} vm_name={{ myhostname }} All the above variables coming from Ansible Vault file. I upgraded my Ansible version

[ansible-project] Re: ansible 2.0.1.0 run show version with Cisco ASA-55x0

2016-07-22 Thread Tony Reveal
Did you ever find a fix for this? I'm seeing the same error when connecting to an ASA 5505. On Wednesday, June 1, 2016 at 1:59:34 AM UTC-5, Ludi Fang wrote: > > *I could login the cisco device with SSH and run the show version > successfully.* > >

[ansible-project] Ansible Playbook AWS

2016-07-22 Thread Sid Ahmed Mecheri
Hi, I am new to ansible playbbok and I am trying to create AWS EC2 instance using a playbook based in some examples found in internet. But when I run the play-book I got the following error ! but I when execute a script python using boto3 it works !? *An exception occurred during task

[ansible-project] GCE .PY

2016-07-22 Thread sekov
Хello everyone in order to playbook in a google cloud deploid machine you need to use gce.py fill out the gce.ini and secrets.py in order to authenticated infront of google cloud machine and project and after that you have to authenticate in front of the machine itself with user and pass or

Re: [ansible-project] How to use variables while creating VMs using vsphere_guest?

2016-07-22 Thread Kai Stian Olstad
On 22. juli 2016 13:05, Chethan S wrote: I am in the process of developing a playbook to create VMs in VMware vCenter Server wherein I need to be able to name the VMs with incremental number suffixes - VM(x) becomes VM1, VM2. Since the number of VMs would be fixed, I intend to specify the number

[ansible-project] Re: Can ansible parse and act based on information in an input xml / yaml / json file?

2016-07-22 Thread K Dawg
On Wednesday, July 20, 2016 at 2:24:16 PM UTC-4, James wrote: > > The right answer to this probably depends on where this "input file" is > located (on Ansible server or on hosts being modified) and what you're > wanting to do with the information. But in general, if you are talking > about

Re: [ansible-project] Re: Ansible Acton Plugins

2016-07-22 Thread Mike Biancaniello
try creating /deployment/boxes/library/ and placing your files there. Usually, unless you change your ansible.cfg, the plugins, roles, libraries, etc are all subdirs of your playbook dir. On Friday, July 22, 2016 at 11:14:08 AM UTC-4, Vyacheslav wrote: > > Where should the library/ be present?

Re: [ansible-project] Re: Ansible Acton Plugins

2016-07-22 Thread Vyacheslav Voronenko
Where should the library/ be present? Could it be also directory under playbook? On Fri, Jul 22, 2016 at 6:02 PM, Mike Biancaniello wrote: > action_plugins/ will not be picked up by ansible unless there is a file in > library/ with the same name. This file in library/ can

Re: [ansible-project] Re: Ansible Acton Plugins

2016-07-22 Thread Mike Biancaniello
action_plugins/ will not be picked up by ansible unless there is a file in library/ with the same name. This file in library/ can be empty, but it must exist. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group

[ansible-project] Re: Error while doing kerbrose connection from Ansible to Windows

2016-07-22 Thread 'J Hawkesworth' via Ansible Project
Not sure what is wrong but kerberos needs DNS to work fully (both forward and reverse lookups). Check the hostname can be resolved to an ip from your ansible controller. Also check you have configured correct domain controllers in your /etc/krb5.conf Hope this helps, Jon On Friday, July 22,

[ansible-project] Ansible + weaved = ?

2016-07-22 Thread Jørgen Høyer
I have a couple of RPi connected to my weaved account and would like to orchestrate them with Ansible. I copied ssh-keys to both of them, and created a hosts file in /etc/ansible/hosts (for those who know ansible). The problem is when i try to ping the RPi collectively it seems i can only

[ansible-project] Error while doing kerbrose connection from Ansible to Windows

2016-07-22 Thread manoj kumar
Hi, I have ansible version *ansible 2.1.0.0* * config file = /etc/ansible/ansible.cfg* * configured module search path = Default w/o overrides* Kerberos is also installled along with request_kerberose and pywinrm0.2.0. I am getting the error while running a ping module as " *"changed":

[ansible-project] Re: docker module requirements met, but ansible misses docker-py

2016-07-22 Thread Henry Gallo
Hey did you figure it out. I have the same problem: specs below: pip -V pip 8.1.2 from /usr/lib/python2.6/site-packages (python 2.6) pip freeze |grep docker DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop

[ansible-project] Random inclusion of irrelevant hosts

2016-07-22 Thread Rodion Zudin
I have a question related to random inclusion of irrelevant hosts. Below is a part of my playbook: *- hosts: machine01 machine02 machine03 machine04* * gather_facts: no* * connection: docker* * tasks:* *- include: common/setup3.yml* *- hosts: machine05 machine06* * gather_facts: no* *

[ansible-project] Tower: setup.sh fails trying to find yum on Ubuntu

2016-07-22 Thread Vasily Kirichenko
Ubuntu 14.04.2 TASK: [preflight | Preflight check - Verify yum is recent enough on OL6] ** fatal: [localhost] => error while evaluating conditional: ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '6' and (yum_version.stdout is not defined or

[ansible-project] Tower: setup.sh fails with "Please configure passwords in the inventory file before running setup"

2016-07-22 Thread Vasily Kirichenko
inventory: [primary] localhost ansible_connection=local [secondary] [database] [all:vars] admin_password='p1' redis_password='p1' pg_password='p1' #pg_host='' #pg_port='' pg_database='awx' pg_username='awx' pg_password='' sudo ./setup.sh fails with following error: TASK: [preflight |

[ansible-project] docker_images module push does not work

2016-07-22 Thread Wei Wei
>From the docs I read: - name: Build an image ad push it to a private repo docker_image: path: ./sinatra name: registry.ansible.com/chouseknecht/sinatra tag: v1 but when I tried to build an image, I saw it not pushing to a private repo. Am I misunderstanding something? Thanks!

[ansible-project] How to use variables while creating VMs using vsphere_guest?

2016-07-22 Thread Chethan S
I am in the process of developing a playbook to create VMs in VMware vCenter Server wherein I need to be able to name the VMs with incremental number suffixes - VM(x) becomes VM1, VM2. Since the number of VMs would be fixed, I intend to specify the number in the playbook itself. I'm assuming

[ansible-project] Re: Could a value refer another key’s value as variable

2016-07-22 Thread David Wong
Hi Joanna, I tried that as well, it still did not work, it will fail with: .recursive loop detected in template string: {{record.field1}}"} David -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and

Re: [ansible-project] curl playbook

2016-07-22 Thread Kai Stian Olstad
On 21.07.2016 22:44, GBANE FETIGUE wrote: - action: shell curl --basic -u admin:admin -F file=/etc/ansible/playbooks/ms3-samples.zip -F name=ms3-samples -F version=2.0 --header "Content-Type:multipart/form-data" "http://52.73.56.141:8080/mmc-console-3.6.2/api/repository; register: upload -

Re: [ansible-project] Re: including roles from roles?

2016-07-22 Thread Mirko Friedenhagen
Hello, we do this a lot for e.g. runit scripts. Our roles are partitioned in install software, configure runit and configure software Regards Mirko -- Sent from my mobile Am 20.07.2016 14:26 schrieb "'J Hawkesworth' via Ansible Project" < ansible-project@googlegroups.com>: > Someone mentioned