[ansible-project] Openstack Dynamic Inventory Script

2016-08-01 Thread Govindaraj Venkatesan
Hi All, I tried setting multiple group names using nova meta tag as below but couldn't get that working using openstack.py dynamic inventory script for openstack. Can you please suggest? http://docs.ansible.com/ansible/intro_dynamic_inventory.html#example-openstack-external-inventory-script $n

Re: [ansible-project] hosts in ansible-pull working only for 127.0.0.1

2016-03-19 Thread Govindaraj Venkatesan
Hi All, I am facing the same issue as "no hosts matched" and the ansible-pull is taking only localhost. It is not able to see any of my hosts. I also Here is how i am using the command ansible-pull -U g...@github.com:XPlat/caps-sps.git -d /home/gvenka008c/caps-sps jenkins_mesos_icinga.yml -i

Re: [ansible-project] Re: ansible-pull git failures on initial clone and when repo changes.

2016-03-18 Thread Govindaraj Venkatesan
Hi All, I am facing the same issue as "no hosts matched" and the ansible-pull is taking only localhost. It is not able to see any of my hosts. Here is how i am using the command ansible-pull -U g...@github.com:XPlat/caps-sps.git -d /home/gvenka008c/caps-sps jenkins_mesos_icinga.yml -i caps-sps

[ansible-project] Dynamic Inventory

2016-02-16 Thread Govindaraj Venkatesan
Hi, Is there any script that we can use to construct dynamic inventory file for Openstack? I downloaded the script but it gives a JSON output. Does anyone have a script to convert JSON to update a inventory file with list of IP address? You can download the latest version of the OpenStack inven

[ansible-project] mount volumes based on size

2016-02-11 Thread Govindaraj Venkatesan
Hi All, Currently we are mounting the volume as below - name: mkfs the volume filesystem: fstype=ext4 dev=/dev/vdb tags: mount_zookeeper_fs is there a way we can mount volumes based on the size? sometimes our dev=/dev/vdb changes and is not constant. But the size remains the same. Th

[ansible-project] lineinfile

2016-02-11 Thread Govindaraj Venkatesan
Hi Team, I have the file with the below content. "Bamboo": { "Endpoint": "http://xx.xx.xxx.xxx:800";, "Zookeeper": { "Host": "//xx.xxx.xxx.xx:2181,xx.xxx.xxx.xx:2181,xx.xxx.xxx.xx:2181", "Path": "/marathon-haproxy/state", "ReportingDelay": 5 } }, I wanted to dyn