# Latest

**URL:** https://forum.ansible.com/latest.md?page=867

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 868

---

## [wait\_for host : 100% CPU on deploy host](https://forum.ansible.com/t/wait-for-host-100-cpu-on-deploy-host/18309)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [May 26, 2015, 1:55pm UTC](https://forum.ansible.com/t/wait-for-host-100-cpu-on-deploy-host/18309 "2015-05-26T13:55:09Z")

</div>

it is basically a 'wait loop' but it does have some sleeps in there to avoid chewing on CPU, in your case the statement wil just do nothing for 20s and then wait for another 300 w/o doing anything. This path has no in…

---

## [consul\_kv usage](https://forum.ansible.com/t/consul-kv-usage/18308)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 2\
**Last updated:** [May 26, 2015, 12:35pm UTC](https://forum.ansible.com/t/consul-kv-usage/18308 "2015-05-26T12:35:39Z")

</div>

Just started to play with the new consul goodness. Is it planned that the only way to specify a consul-agent is via an environment variable ANSIBLE\_CONSUL\_URL? In any case I cannot seem to get with\_consul\_kv to work: \`…

---

## [dynamic inventory tiered groups](https://forum.ansible.com/t/dynamic-inventory-tiered-groups/18306)

<div class="topic-metadata">

**Author:** [@Marc\_Pascual](https://forum.ansible.com/u/Marc_Pascual)\
**Replies:** 0\
**Last updated:** [May 26, 2015, 10:46am UTC](https://forum.ansible.com/t/dynamic-inventory-tiered-groups/18306 "2015-05-26T10:46:01Z")

</div>

Hello! I’m new to ansible, and I am trying to figure out how the json output should look like if I have a flat-file inventory source like: application:environment=hostlist heroes:marvel=thor hulk stark cap heroes:dc=s…

---

## [FAILED =\> SSH Error: ssh: connect to host 127.0.0.1 port 2222: connection refused](https://forum.ansible.com/t/failed-ssh-error-ssh-connect-to-host-127-0-0-1-port-2222-connection-refused/18300)

<div class="topic-metadata">

**Author:** [@vamsee\_krishna](https://forum.ansible.com/u/vamsee_krishna)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 9:53am UTC](https://forum.ansible.com/t/failed-ssh-error-ssh-connect-to-host-127-0-0-1-port-2222-connection-refused/18300 "2015-05-26T09:53:13Z")

</div>

Hi All, I’m new to Ansible. started working on Ansible basics. I installed Ubuntu 14.04 in virtual box and installed Ansible using the following commands $ sudo apt-get install software-properties-common $ sudo apt-ad…

---

## [Core modules missing error - the core module folder in ansible zip package is empty](https://forum.ansible.com/t/core-modules-missing-error-the-core-module-folder-in-ansible-zip-package-is-empty/18294)

<div class="topic-metadata">

**Author:** [@Ishana\_Tech](https://forum.ansible.com/u/Ishana_Tech)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 9:31am UTC](https://forum.ansible.com/t/core-modules-missing-error-the-core-module-folder-in-ansible-zip-package-is-empty/18294 "2015-05-26T09:31:51Z")

</div>

I have installed ansible on Linux machine from the downloaded zip. I am getting this error: " module ping not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git sub…

---

## [Auto-incrementing Integer Assignment to hostnames](https://forum.ansible.com/t/auto-incrementing-integer-assignment-to-hostnames/18285)

<div class="topic-metadata">

**Author:** [@raja](https://forum.ansible.com/u/raja)\
**Replies:** 3\
**Last updated:** [May 26, 2015, 7:45am UTC](https://forum.ansible.com/t/auto-incrementing-integer-assignment-to-hostnames/18285 "2015-05-26T07:45:24Z")

</div>

Hi , I am trying to provision my aws infrastructure using ansible and i wanted to see if there is a way to include an Auto-incrementing Integer Assignment to Hostvars. For ex: lets say if i have something like this - …

---

## [ssh connection issues.](https://forum.ansible.com/t/ssh-connection-issues/18297)

<div class="topic-metadata">

**Author:** [@Shubhra\_Rana](https://forum.ansible.com/u/Shubhra_Rana)\
**Replies:** 2\
**Last updated:** [May 26, 2015, 6:56am UTC](https://forum.ansible.com/t/ssh-connection-issues/18297 "2015-05-26T06:56:07Z")

</div>

Hi, I am a new ansible user. Wanted to set up a basic environment with two nodes, one control node with ansible installed (Fedora 20) and one node (Windows 2012 r2). Ansible is installed on the fedora machine, but the f…

---

## [Best way to perform postgresql admin related tasks with a non-admin user](https://forum.ansible.com/t/best-way-to-perform-postgresql-admin-related-tasks-with-a-non-admin-user/18293)

<div class="topic-metadata">

**Author:** [@Vincent\_Doba](https://forum.ansible.com/u/Vincent_Doba)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 4:19am UTC](https://forum.ansible.com/t/best-way-to-perform-postgresql-admin-related-tasks-with-a-non-admin-user/18293 "2015-05-26T04:19:00Z")

</div>

Hello I’m currently stuck on a privilege issue when managing postgresql with ansible Related modules All postgresql modules (for instance postgresql\_user) My problem In my remote host I have three users : vincent, w…

---

## [Update aws ec2 autoscaling group with ansible](https://forum.ansible.com/t/update-aws-ec2-autoscaling-group-with-ansible/18304)

<div class="topic-metadata">

**Author:** [@Bruno\_Galindro\_da\_Co](https://forum.ansible.com/u/Bruno_Galindro_da_Co)\
**Replies:** 0\
**Last updated:** [May 26, 2015, 2:08am UTC](https://forum.ansible.com/t/update-aws-ec2-autoscaling-group-with-ansible/18304 "2015-05-26T02:08:44Z")

</div>

I have an autoscaling group with two hosts running. Both of them have the same ec2 tags. I need to use ec2.py (dynamic inventory) for retrieve the hosts associated with the autoscaling group. What I need is: 1 - run an…

---

## [add\_host and variable mass-population](https://forum.ansible.com/t/add-host-and-variable-mass-population/18303)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 0\
**Last updated:** [May 25, 2015, 10:00pm UTC](https://forum.ansible.com/t/add-host-and-variable-mass-population/18303 "2015-05-25T22:00:37Z")

</div>

I have a dilemma: I’ve got a module that can produce list of sites that given app is configured to serve, “app\_info” which produces JSON output like this: \` “site\_info”: { “some.site.com”: { “dataroot”: “/var/lib/app…

---

## [Amazon VPC Peering Module ?](https://forum.ansible.com/t/amazon-vpc-peering-module/16104)

<div class="topic-metadata">

**Author:** [@Adrien\_Pujol](https://forum.ansible.com/u/Adrien_Pujol)\
**Replies:** 3\
**Last updated:** [May 25, 2015, 1:46pm UTC](https://forum.ansible.com/t/amazon-vpc-peering-module/16104 "2015-05-25T13:46:06Z")

</div>

Hi, I need to establish a VPC Peering connection in a playbook and I couldn’t find anything like that in the available modules. Did I miss something ? If not, I don’t mind writing this feature. It seems that Boto alrea…

---

## [git module StricHostKeyChecking.](https://forum.ansible.com/t/git-module-strichostkeychecking/18301)

<div class="topic-metadata">

**Author:** [@jody.frankowski](https://forum.ansible.com/u/jody.frankowski)\
**Replies:** 0\
**Last updated:** [May 25, 2015, 11:30am UTC](https://forum.ansible.com/t/git-module-strichostkeychecking/18301 "2015-05-25T11:30:52Z")

</div>

Link to previous comments: https://github.com/ansible/ansible-modules-core/issues/1410

---

## [gathering facts error with LXC containers](https://forum.ansible.com/t/gathering-facts-error-with-lxc-containers/18298)

<div class="topic-metadata">

**Author:** [@Kiki\_Sugiaman](https://forum.ansible.com/u/Kiki_Sugiaman)\
**Replies:** 0\
**Last updated:** [May 25, 2015, 8:57am UTC](https://forum.ansible.com/t/gathering-facts-error-with-lxc-containers/18298 "2015-05-25T08:57:08Z")

</div>

Hi all, noob here. When running ansible-playbook against LXC containers, I have to set "gather\_facts: False". Otherwise it always gets stuck there. The reason is because accessing /proc/cpuinfo inside lxc containers alw…

---

## [Suggestion for win\_chocolatey - supporting private NuGet repositories](https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251)

<div class="topic-metadata">

**Author:** [@tal](https://forum.ansible.com/u/tal)\
**Replies:** 2\
**Last updated:** [May 25, 2015, 7:57am UTC](https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251 "2015-05-25T07:57:57Z")

</div>

Unfortunately the win\_chocolatey module doesn’t support private NuGet repositores as a source. Examples for a private repository services are MyGet and ProGet. A private repository can be used to store your own build art…

---

## [Generating YAML config files via Jinja2 & Ansible vars](https://forum.ansible.com/t/generating-yaml-config-files-via-jinja2-ansible-vars/18289)

<div class="topic-metadata">

**Author:** [@Dan\_Tehranian](https://forum.ansible.com/u/Dan_Tehranian)\
**Replies:** 1\
**Last updated:** [May 24, 2015, 12:32pm UTC](https://forum.ansible.com/t/generating-yaml-config-files-via-jinja2-ansible-vars/18289 "2015-05-24T12:32:59Z")

</div>

Hello there, I’m trying to make a role that can dynamically generate the YAML config files for my app (The app is Data Dog’s agent). Ex: I want my Jinja2 template to render valid YAML, the contents of which are coming f…

---

## [openvz module](https://forum.ansible.com/t/openvz-module/18296)

<div class="topic-metadata">

**Author:** [@Takeshi\_Yaegashi](https://forum.ansible.com/u/Takeshi_Yaegashi)\
**Replies:** 0\
**Last updated:** [May 23, 2015, 9:07pm UTC](https://forum.ansible.com/t/openvz-module/18296 "2015-05-23T21:07:08Z")

</div>

Hi there, I didn’t know how much demand there would be, but I’ve just created openvz module to manage OpenVZ containers with Ansible, and published it as yaegashi.openvzmod role in Ansible Galaxy: https://galaxy.ansibl…

---

## [Auto detection of Docker API version in docker and docker\_image modules](https://forum.ansible.com/t/auto-detection-of-docker-api-version-in-docker-and-docker-image-modules/18295)

<div class="topic-metadata">

**Author:** [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Replies:** 0\
**Last updated:** [May 23, 2015, 8:54pm UTC](https://forum.ansible.com/t/auto-detection-of-docker-api-version-in-docker-and-docker-image-modules/18295 "2015-05-23T20:54:32Z")

</div>

Currently, these modules require docker-py\>=0.3.0. But in version 1.1.0 docker-py gained option to auto detect API version \[1\]. I think Ansible can use it, if there is nothing that prevents to raise required version of …

---

## ["gem" module reports gem as present when it is not and therefore will not install](https://forum.ansible.com/t/gem-module-reports-gem-as-present-when-it-is-not-and-therefore-will-not-install/13936)

<div class="topic-metadata">

**Author:** [@Adam\_Williams](https://forum.ansible.com/u/Adam_Williams)\
**Replies:** 8\
**Last updated:** [May 23, 2015, 6:51pm UTC](https://forum.ansible.com/t/gem-module-reports-gem-as-present-when-it-is-not-and-therefore-will-not-install/13936 "2015-05-23T18:51:08Z")

</div>

I am running Ansible using “brew install --HEAD ansible”, which currently prints it’s version as “ansible 1.4”. Here is my task: name: install ruby gem bundler gem: name=bundler state=present version=1.3.5 user\_insta…

---

## [vsphere\_guest : setting Guest IP address](https://forum.ansible.com/t/vsphere-guest-setting-guest-ip-address/18282)

<div class="topic-metadata">

**Author:** [@benjamin.jolivot](https://forum.ansible.com/u/benjamin.jolivot)\
**Replies:** 3\
**Last updated:** [May 23, 2015, 3:08am UTC](https://forum.ansible.com/t/vsphere-guest-setting-guest-ip-address/18282 "2015-05-23T03:08:20Z")

</div>

Hello, I’m looking for the best way to use Ansible for provisionning ESXi VM. It’s easy to spin new VM via vsphere\_guest It’s easy to use playbook on ssh connectable VM …I’m just looking the best (easy ?) way between…

---

## [Error in Ansible New Modules](https://forum.ansible.com/t/error-in-ansible-new-modules/18292)

<div class="topic-metadata">

**Author:** [@tarun\_emany](https://forum.ansible.com/u/tarun_emany)\
**Replies:** 2\
**Last updated:** [May 23, 2015, 12:11am UTC](https://forum.ansible.com/t/error-in-ansible-new-modules/18292 "2015-05-23T00:11:00Z")

</div>

Hi all, I am trying the reproduce the same as mentioned in https://github.com/romeotheriault/ansible-vsphere\_guest Ansible module that allows you to define and create a VMWare vsphere guest OS instance which can then …

---

## [Modifying vsphere\_guest](https://forum.ansible.com/t/modifying-vsphere-guest/18291)

<div class="topic-metadata">

**Author:** [@tarun\_emany](https://forum.ansible.com/u/tarun_emany)\
**Replies:** 4\
**Last updated:** [May 22, 2015, 11:35pm UTC](https://forum.ansible.com/t/modifying-vsphere-guest/18291 "2015-05-22T23:35:20Z")

</div>

Hi all, I am trying the reproduce the same as mentioned in https://github.com/romeotheriault/ansible-vsphere\_guest Ansible module that allows you to define and create a VMWare vsphere guest OS instance which can then …

---

## [Installing Ansible Core modules](https://forum.ansible.com/t/installing-ansible-core-modules/18290)

<div class="topic-metadata">

**Author:** [@Ishana\_Tech](https://forum.ansible.com/u/Ishana_Tech)\
**Replies:** 1\
**Last updated:** [May 22, 2015, 9:14pm UTC](https://forum.ansible.com/t/installing-ansible-core-modules/18290 "2015-05-22T21:14:40Z")

</div>

I have installed the Ansible on a linux machine using the zip file. I am getting following error while running ping: module ping not found in configured modul e paths. Additionally, core modules are missing. If this is…

---

## [Switching git branches](https://forum.ansible.com/t/switching-git-branches/18288)

<div class="topic-metadata">

**Author:** [@Joe\_Whittles](https://forum.ansible.com/u/Joe_Whittles)\
**Replies:** 0\
**Last updated:** [May 22, 2015, 4:30pm UTC](https://forum.ansible.com/t/switching-git-branches/18288 "2015-05-22T16:30:59Z")

</div>

Hey all – suppose I had the following task in a playbook: \` name: “Clone aire\_core repo” git: repo: “git@bitbucket.org:joe/my\_repo.git” dest: “/home/me/my\_repo” depth: 1 version: “{{ git\_branch }}” key\_file: “~/…

---

## [Error in lineinfile module](https://forum.ansible.com/t/error-in-lineinfile-module/12494)

<div class="topic-metadata">

**Author:** [@Kavin](https://forum.ansible.com/u/Kavin)\
**Replies:** 3\
**Last updated:** [May 22, 2015, 9:04am UTC](https://forum.ansible.com/t/error-in-lineinfile-module/12494 "2015-05-22T09:04:12Z")

</div>

I have the latest version of Ansible and I keep getting the following stack trace in lineinfile module, Also i have copied my playbook below. Stacktrace: fatal: \[d7\] =\> failed to parse: Traceback (most recent call last…

---

## [use variable with a default in a role](https://forum.ansible.com/t/use-variable-with-a-default-in-a-role/18269)

<div class="topic-metadata">

**Author:** [@fabix](https://forum.ansible.com/u/fabix)\
**Replies:** 1\
**Last updated:** [May 22, 2015, 8:02am UTC](https://forum.ansible.com/t/use-variable-with-a-default-in-a-role/18269 "2015-05-22T08:02:54Z")

</div>

I have this role (roles/dummy/tasks/main.yml) :

---

## [Ansible with AWS](https://forum.ansible.com/t/ansible-with-aws/18273)

<div class="topic-metadata">

**Author:** [@Stanley\_Nguyen](https://forum.ansible.com/u/Stanley_Nguyen)\
**Replies:** 3\
**Last updated:** [May 22, 2015, 3:11am UTC](https://forum.ansible.com/t/ansible-with-aws/18273 "2015-05-22T03:11:56Z")

</div>

Hi, Sorry I’m new to ansible and trying to debate whether I should migrate my current framework to ansible. I’m mainly dealing with provisioning AWS stacks using AWS CLI written in bash. This is probably a stupid questi…

---

## [balanced configuration](https://forum.ansible.com/t/balanced-configuration/18267)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 4\
**Last updated:** [May 21, 2015, 11:35pm UTC](https://forum.ansible.com/t/balanced-configuration/18267 "2015-05-21T23:35:07Z")

</div>

Hi, We have a 2 tiers environment where the front-end servers connects to the backend servers. As an example we have 30 application servers and 3 backend servers, let’s say every backend server should support up to 10 …

---

## [facts module output in setup?](https://forum.ansible.com/t/facts-module-output-in-setup/17271)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 6\
**Last updated:** [May 21, 2015, 5:53pm UTC](https://forum.ansible.com/t/facts-module-output-in-setup/17271 "2015-05-21T17:53:43Z")

</div>

Hello! Is it possible to get a fact module to be included in the output for the setup module using ansible, i.e. not from a play? Perhaps I’m not asking this question correctly . . . I would like to extend setup to retri…

---

## [Add state to easy\_install](https://forum.ansible.com/t/add-state-to-easy-install/18272)

<div class="topic-metadata">

**Author:** [@Brandon\_Schlueter](https://forum.ansible.com/u/Brandon_Schlueter)\
**Replies:** 2\
**Last updated:** [May 21, 2015, 5:45pm UTC](https://forum.ansible.com/t/add-state-to-easy-install/18272 "2015-05-21T17:45:26Z")

</div>

I just opened a PR to add state to the easy\_install resource at https://github.com/ansible/ansible-modules-core/pull/1383 for this. State may be either present or latest. If it is latest, the --upgrade option is passed …

---

## [Error while creating VM using ansible in vShpere | Must call 'connect' before invoking this method](https://forum.ansible.com/t/error-while-creating-vm-using-ansible-in-vshpere-must-call-connect-before-invoking-this-method/18284)

<div class="topic-metadata">

**Author:** [@tarun\_emany](https://forum.ansible.com/u/tarun_emany)\
**Replies:** 0\
**Last updated:** [May 21, 2015, 5:44pm UTC](https://forum.ansible.com/t/error-while-creating-vm-using-ansible-in-vshpere-must-call-connect-before-invoking-this-method/18284 "2015-05-21T17:44:47Z")

</div>

Hi, I am trying to create VM using ansible playbook. hosts: 127.0.0.1 connection: local user: root sudo: false gather\_facts: false serial: 1 tasks: vsphere\_guest: vcenter\_hostname: ‘10.39.1.59’ username: ‘xx…

[Previous page](https://forum.ansible.com/latest.md?page=866)

[Next page](https://forum.ansible.com/latest.md?page=868)
