# Latest

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

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

**Page:** 833

---

## [attempt to ansible -m ping into vagrant box fails](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19356)

<div class="topic-metadata">

**Author:** [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Replies:** 2\
**Last updated:** [September 25, 2015, 4:04pm UTC](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19356 "2015-09-25T16:04:02Z")

</div>

what do you see when you rerun with ‘-vvvv’ as the error suggests?

---

## [What's The Difference?](https://forum.ansible.com/t/whats-the-difference/19354)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 3\
**Last updated:** [September 25, 2015, 1:49pm UTC](https://forum.ansible.com/t/whats-the-difference/19354 "2015-09-25T13:49:07Z")

</div>

Hi, What’s the difference, if any, between these 2 constructs? when: varname is none …and… when: varname | trim == ‘’ Are they equivalent, or is there a subtle difference? -T

---

## [attempt to ansible -m ping into vagrant box fails](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355)

<div class="topic-metadata">

**Author:** [@DEBORAH\_AKUOKO](https://forum.ansible.com/u/DEBORAH_AKUOKO)\
**Replies:** 0\
**Last updated:** [September 25, 2015, 1:27pm UTC](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355 "2015-09-25T13:27:41Z")

</div>

I have a vagrant vm which i can successfully ping and ssh into from my host machine and vice versa. But I am not able to run ansible ping to the vagrant box, nether an i able to run my playbook which connects to the va…

---

## [Waiting until facts are gathered from all hosts?](https://forum.ansible.com/t/waiting-until-facts-are-gathered-from-all-hosts/19353)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 0\
**Last updated:** [September 25, 2015, 12:37pm UTC](https://forum.ansible.com/t/waiting-until-facts-are-gathered-from-all-hosts/19353 "2015-09-25T12:37:47Z")

</div>

Hi, Is there a way to force a wait until facts can be gathered from all hosts? I have 17 machines on aws and often 1 or 2 will not be reachable when the initial fact-gathering happens. How can I retry until I’m certain…

---

## [aws ec2 module - count\_tag creating more instances than required](https://forum.ansible.com/t/aws-ec2-module-count-tag-creating-more-instances-than-required/19352)

<div class="topic-metadata">

**Author:** [@Adrian\_Black1](https://forum.ansible.com/u/Adrian_Black1)\
**Replies:** 1\
**Last updated:** [September 25, 2015, 12:30pm UTC](https://forum.ansible.com/t/aws-ec2-module-count-tag-creating-more-instances-than-required/19352 "2015-09-25T12:30:49Z")

</div>

Hi Possibly im not using this correctly. Here is the playbook snippet key\_name: "{{ aws\_key\_name }}" instance\_type: "{{ cms\_machine\_type }}" image: "{{ aws\_vm\_image }}" wait: yes …

---

## [Docker issues](https://forum.ansible.com/t/docker-issues/16441)

<div class="topic-metadata">

**Author:** [@techblog](https://forum.ansible.com/u/techblog)\
**Replies:** 2\
**Last updated:** [September 24, 2015, 10:46pm UTC](https://forum.ansible.com/t/docker-issues/16441 "2015-09-24T22:46:21Z")

</div>

Hello, I’m running into issues with the docker module on ansible 1.7.2 (I also tried to 1.8). I’m trying to use docker on a VM I have provisioned in EC2. The relevant part of my playbook looks like this: hosts: daas\_…

---

## [escape double quote issue at ansible 1.9.3](https://forum.ansible.com/t/escape-double-quote-issue-at-ansible-1-9-3/19351)

<div class="topic-metadata">

**Author:** [@jack1](https://forum.ansible.com/u/jack1)\
**Replies:** 0\
**Last updated:** [September 24, 2015, 9:49pm UTC](https://forum.ansible.com/t/escape-double-quote-issue-at-ansible-1-9-3/19351 "2015-09-24T21:49:49Z")

</div>

Hi, All We have the ansible task similar like this, which works fine at ansible 1.5 name: set fact set\_fact: option=“–op "type eq ‘db’"” At 1.5, the option was set to –op “type eq ‘db’” But after we upgrade ansibl…

---

## [sudo not working when using ansible\_ssh\_user and ansible\_become\_user](https://forum.ansible.com/t/sudo-not-working-when-using-ansible-ssh-user-and-ansible-become-user/19349)

<div class="topic-metadata">

**Author:** [@nrser](https://forum.ansible.com/u/nrser)\
**Replies:** 3\
**Last updated:** [September 24, 2015, 5:40pm UTC](https://forum.ansible.com/t/sudo-not-working-when-using-ansible-ssh-user-and-ansible-become-user/19349 "2015-09-24T17:40:13Z")

</div>

hey, i’m having issues with privilege escalation on OSX (all machines at version 10.10 with ansible ): we are using ansible to help manage our workstations, and when i execute playbooks locally using ansible\_connection=…

---

## [Delegation of plays](https://forum.ansible.com/t/delegation-of-plays/19272)

<div class="topic-metadata">

**Author:** [@Tony\_Yarusso](https://forum.ansible.com/u/Tony_Yarusso)\
**Replies:** 3\
**Last updated:** [September 24, 2015, 5:23pm UTC](https://forum.ansible.com/t/delegation-of-plays/19272 "2015-09-24T17:23:28Z")

</div>

So, for both security and other management reasons, we have several (currently 12) separate “environments”, firewalled off from each other, each with their own Ansible server. That’s fine for most things, but certain one…

---

## [How to iterate over nested lists with lineinfile?](https://forum.ansible.com/t/how-to-iterate-over-nested-lists-with-lineinfile/19347)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 1\
**Last updated:** [September 24, 2015, 4:57pm UTC](https://forum.ansible.com/t/how-to-iterate-over-nested-lists-with-lineinfile/19347 "2015-09-24T16:57:25Z")

</div>

I am trying to build a hash of users from a csv file. I am stuck on this last step, where the playbook just hangs: name: print user details into hash lineinfile: ‘dest=~csit-ansible/files/auto\_students.yml line=“{{ i…

---

## [Sending json to webservice not working](https://forum.ansible.com/t/sending-json-to-webservice-not-working/19348)

<div class="topic-metadata">

**Author:** [@thecodeassassin](https://forum.ansible.com/u/thecodeassassin)\
**Replies:** 0\
**Last updated:** [September 24, 2015, 1:35pm UTC](https://forum.ansible.com/t/sending-json-to-webservice-not-working/19348 "2015-09-24T13:35:52Z")

</div>

hey all, I have the following variables: vars: tutum\_tags: - { "name": "web" } - { "name": "redis" } - { "name": "memcached" } And the following task: - name: Main | Parsing tutum tags set\_fact: …

---

## [Ansible 1.9.4-rc2 is available for testing](https://forum.ansible.com/t/ansible-1-9-4-rc2-is-available-for-testing/19243)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [September 24, 2015, 11:57am UTC](https://forum.ansible.com/t/ansible-1-9-4-rc2-is-available-for-testing/19243 "2015-09-24T11:57:27Z")

</div>

Hi all, we’ve just tagged the rc2 release for 1.9.4, which adds a couple more bug fixes. To test from source, simply clone the git repository (if you haven’t already) and do the following: $ git checkout v1.9.4-0.2.rc2 …

---

## [whether there is an analogue set\_facts but keeping the difference between the plays](https://forum.ansible.com/t/whether-there-is-an-analogue-set-facts-but-keeping-the-difference-between-the-plays/19339)

<div class="topic-metadata">

**Author:** [@user72](https://forum.ansible.com/u/user72)\
**Replies:** 1\
**Last updated:** [September 24, 2015, 10:32am UTC](https://forum.ansible.com/t/whether-there-is-an-analogue-set-facts-but-keeping-the-difference-between-the-plays/19339 "2015-09-24T10:32:17Z")

</div>

whether there is an analogue set\_facts but keeping the difference between the plays register creates a structure, and I would be quite variable. for what it is to me. I have in the performance of the play there is a l…

---

## [Processing sleeps as long as the SSH timeout is](https://forum.ansible.com/t/processing-sleeps-as-long-as-the-ssh-timeout-is/19344)

<div class="topic-metadata">

**Author:** [@tma0286](https://forum.ansible.com/u/tma0286)\
**Replies:** 1\
**Last updated:** [September 24, 2015, 6:47am UTC](https://forum.ansible.com/t/processing-sleeps-as-long-as-the-ssh-timeout-is/19344 "2015-09-24T06:47:39Z")

</div>

I am not sure if this is a bug or an incompatibility. Part1: \` user@host:/sw\> time ansible -vvvv targetServer01 -m ping Using /sw/ansible/ansible.cfg as config file Loaded callback minimal of type stdout, v2.0 EST…

---

## [v2 bug, \`connection: local\` not honoured](https://forum.ansible.com/t/v2-bug-connection-local-not-honoured/17525)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 3\
**Last updated:** [September 23, 2015, 10:24pm UTC](https://forum.ansible.com/t/v2-bug-connection-local-not-honoured/17525 "2015-09-23T22:24:20Z")

</div>

Hi, FYI, I was playing with v2, and noticed the following in ansible/v2/samples/test\_block.yml: That playbook contains a connection: local, but connection still goes over ssh.

---

## [windows winrm environment does not allow some kinds of execution](https://forum.ansible.com/t/windows-winrm-environment-does-not-allow-some-kinds-of-execution/19294)

<div class="topic-metadata">

**Author:** [@cohen.ben](https://forum.ansible.com/u/cohen.ben)\
**Replies:** 5\
**Last updated:** [September 23, 2015, 5:20pm UTC](https://forum.ansible.com/t/windows-winrm-environment-does-not-allow-some-kinds-of-execution/19294 "2015-09-23T17:20:17Z")

</div>

I was trying to script the usage of the windows DISM utilities via ansible – and ran into an issue with being unable to execute dism from within the winrm context. Apparently some varieties of rpc (which DISM uses intern…

---

## [{"failed": true} msg: Failed to lock apt for exclusive operation  FATAL: all hosts have already failed -- aborting](https://forum.ansible.com/t/failed-true-msg-failed-to-lock-apt-for-exclusive-operation-fatal-all-hosts-have-already-failed-aborting/19341)

<div class="topic-metadata">

**Author:** [@DEBORAH\_AKUOKO](https://forum.ansible.com/u/DEBORAH_AKUOKO)\
**Replies:** 1\
**Last updated:** [September 23, 2015, 5:11pm UTC](https://forum.ansible.com/t/failed-true-msg-failed-to-lock-apt-for-exclusive-operation-fatal-all-hosts-have-already-failed-aborting/19341 "2015-09-23T17:11:57Z")

</div>

I get the error ({“failed”: true} msg: Failed to lock apt for exclusive operationFATAL: all hosts have already failed – aborting) as specified in the subject each time i run my playbook. But i can successfully ssh into…

---

## [Where to put new extras module](https://forum.ansible.com/t/where-to-put-new-extras-module/19337)

<div class="topic-metadata">

**Author:** [@Adrian\_Wood](https://forum.ansible.com/u/Adrian_Wood)\
**Replies:** 1\
**Last updated:** [September 23, 2015, 5:08pm UTC](https://forum.ansible.com/t/where-to-put-new-extras-module/19337 "2015-09-23T17:08:42Z")

</div>

Hello, I’m interested in contributing a module called ‘gsettings’ for managing desktop settings but don’t know which category it belongs to. I’m thinking system is the most appropriate - would this be correct? Also - I…

---

## [errors regarding ansible task execution on multiple hosts](https://forum.ansible.com/t/errors-regarding-ansible-task-execution-on-multiple-hosts/19340)

<div class="topic-metadata">

**Author:** [@anandkumar](https://forum.ansible.com/u/anandkumar)\
**Replies:** 0\
**Last updated:** [September 23, 2015, 2:06pm UTC](https://forum.ansible.com/t/errors-regarding-ansible-task-execution-on-multiple-hosts/19340 "2015-09-23T14:06:13Z")

</div>

hello, i am having currently 150 hosts.In ansible i have known that exeution of task in multiple hosts can be set by the forks parameter.Initially i have set the forks =70 and i run the following command: ansible -m sh…

---

## [Ansible Playbook Fact gathering fails on one Node](https://forum.ansible.com/t/ansible-playbook-fact-gathering-fails-on-one-node/19302)

<div class="topic-metadata">

**Author:** [@Dominik\_Bessler](https://forum.ansible.com/u/Dominik_Bessler)\
**Replies:** 2\
**Last updated:** [September 23, 2015, 1:59pm UTC](https://forum.ansible.com/t/ansible-playbook-fact-gathering-fails-on-one-node/19302 "2015-09-23T13:59:22Z")

</div>

I have a playbook that goes over the nodes and gets the facts. There is one node where this fails with following error. Anyone got a Idea why this error happens? Traceback (most recent call last): File “/tmp/ansible/…

---

## [Sharing variable in action plugin](https://forum.ansible.com/t/sharing-variable-in-action-plugin/19338)

<div class="topic-metadata">

**Author:** [@Ian\_Bytchek](https://forum.ansible.com/u/Ian_Bytchek)\
**Replies:** 0\
**Last updated:** [September 23, 2015, 11:48am UTC](https://forum.ansible.com/t/sharing-variable-in-action-plugin/19338 "2015-09-23T11:48:01Z")

</div>

I have a custom action plugin that launches a bunch of ec2 instances that receive custom user data. Within that data there is dynamic value that is unique per task but the same for all hosts inside that task. I can gener…

---

## [workaround to using a variable list of vars with include](https://forum.ansible.com/t/workaround-to-using-a-variable-list-of-vars-with-include/19336)

<div class="topic-metadata">

**Author:** [@Javeria\_Khan](https://forum.ansible.com/u/Javeria_Khan)\
**Replies:** 0\
**Last updated:** [September 23, 2015, 11:27am UTC](https://forum.ansible.com/t/workaround-to-using-a-variable-list-of-vars-with-include/19336 "2015-09-23T11:27:19Z")

</div>

Hi everyone, I need to include a playbook which is essentially contains a set of inititalization tasks for any set of variables passed to it. Like so: include: upstart\_common\_init.yml vars: program\_name: “{{ i…

---

## [python project deployment & version](https://forum.ansible.com/t/python-project-deployment-version/19226)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 2\
**Last updated:** [September 23, 2015, 9:49am UTC](https://forum.ansible.com/t/python-project-deployment-version/19226 "2015-09-23T09:49:39Z")

</div>

As we do not have any pypi server here, I usually deliver the following deploy.yml with every python application I write: \`

---

## [replacing ini content](https://forum.ansible.com/t/replacing-ini-content/19334)

<div class="topic-metadata">

**Author:** [@Chris\_Edwards](https://forum.ansible.com/u/Chris_Edwards)\
**Replies:** 0\
**Last updated:** [September 23, 2015, 7:02am UTC](https://forum.ansible.com/t/replacing-ini-content/19334 "2015-09-23T07:02:42Z")

</div>

I need to save a section from an ini file , copy a new version of the ini file and then replace the values. for example \[config\] option1=value1 option2=value2 option3=value3 \[locations\] location1=uk location2=us …

---

## [Use variables in standard loops](https://forum.ansible.com/t/use-variables-in-standard-loops/19332)

<div class="topic-metadata">

**Author:** [@Vikas\_Kumar](https://forum.ansible.com/u/Vikas_Kumar)\
**Replies:** 2\
**Last updated:** [September 23, 2015, 6:42am UTC](https://forum.ansible.com/t/use-variables-in-standard-loops/19332 "2015-09-23T06:42:44Z")

</div>

I am trying to user variables in the below example described here. - name: add several users user: name={{ item.name }} state=present groups={{ item.groups }} with\_items: - { name: 'testuser1', groups: 'whee…

---

## [Wrong Linode ID with the linode Module](https://forum.ansible.com/t/wrong-linode-id-with-the-linode-module/19323)

<div class="topic-metadata">

**Author:** [@Iwada\_Eja](https://forum.ansible.com/u/Iwada_Eja)\
**Replies:** 10\
**Last updated:** [September 23, 2015, 1:52am UTC](https://forum.ansible.com/t/wrong-linode-id-with-the-linode-module/19323 "2015-09-23T01:52:25Z")

</div>

Please im relatively new with ansiible and having an issue. Using the Linode Module to Create a new Linode instance. The Instance is created but with the wrong linode\_id name: Create linode machine linode: api\_key: …

---

## [hostvars keys are not all hostnames?](https://forum.ansible.com/t/hostvars-keys-are-not-all-hostnames/19331)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 0\
**Last updated:** [September 22, 2015, 8:48pm UTC](https://forum.ansible.com/t/hostvars-keys-are-not-all-hostnames/19331 "2015-09-22T20:48:36Z")

</div>

Given this playbook and inventory: +$ cat hostvars.yml

---

## [Contributing: which branch to use?](https://forum.ansible.com/t/contributing-which-branch-to-use/19239)

<div class="topic-metadata">

**Author:** [@alexk4work](https://forum.ansible.com/u/alexk4work)\
**Replies:** 8\
**Last updated:** [September 22, 2015, 8:27pm UTC](https://forum.ansible.com/t/contributing-which-branch-to-use/19239 "2015-09-22T20:27:29Z")

</div>

Hi all, If I would like to make a patch for the last v1 version, which branch should I use as a base?I’m hesitating between stable\_v1.9 and v1\_modules …

---

## [Multiple debug output redirection for incident response ?](https://forum.ansible.com/t/multiple-debug-output-redirection-for-incident-response/19320)

<div class="topic-metadata">

**Author:** [@Julien\_Touche](https://forum.ansible.com/u/Julien_Touche)\
**Replies:** 1\
**Last updated:** [September 22, 2015, 7:01pm UTC](https://forum.ansible.com/t/multiple-debug-output-redirection-for-incident-response/19320 "2015-09-22T19:01:31Z")

</div>

Hello, It’s a few months than I started to work with ansible and find it an awesome tool. rebuilding my home lab :slight\_smile: Thanks a lot for this great piece of code! One of the role/playbook that I work on is for…

---

## [gather\_facts: Stuck when Remote is booted from archiso](https://forum.ansible.com/t/gather-facts-stuck-when-remote-is-booted-from-archiso/19329)

<div class="topic-metadata">

**Author:** [@Marc\_Mettke](https://forum.ansible.com/u/Marc_Mettke)\
**Replies:** 1\
**Last updated:** [September 22, 2015, 6:50pm UTC](https://forum.ansible.com/t/gather-facts-stuck-when-remote-is-booted-from-archiso/19329 "2015-09-22T18:50:14Z")

</div>

I’m trying to create an os\_installation\_ansible\_playbook for automatic installation of various linux distributions. By doing this, I learned that gather\_facts works with an installed archlinux but not with the archiso i…

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

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