# Latest

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

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

**Page:** 822

---

## [SSH Config file not picked up during playbook execution.](https://forum.ansible.com/t/ssh-config-file-not-picked-up-during-playbook-execution/19677)

<div class="topic-metadata">

**Author:** [@ayekaymail](https://forum.ansible.com/u/ayekaymail)\
**Replies:** 5\
**Last updated:** [November 3, 2015, 3:18am UTC](https://forum.ansible.com/t/ssh-config-file-not-picked-up-during-playbook-execution/19677 "2015-11-03T03:18:08Z")

</div>

Hello Folks, I am trying to execute a playbook from the control machine in the internal network to a VM located in the DMZ as shown in the diagram below Access to the DMZ server is typically via a http proxy. I setup…

---

## [Recursive templates in roles?](https://forum.ansible.com/t/recursive-templates-in-roles/15860)

<div class="topic-metadata">

**Author:** [@Ryan\_VanGundy](https://forum.ansible.com/u/Ryan_VanGundy)\
**Replies:** 5\
**Last updated:** [November 2, 2015, 11:37pm UTC](https://forum.ansible.com/t/recursive-templates-in-roles/15860 "2015-11-02T23:37:16Z")

</div>

Would be convenient to do this in a role: \` template: src=some\_templates dest=/path/to/remote/folder recurse=true \` And for it to pass the entire folder structure over while passing every file through jinja2. Is the…

---

## [Automitain run task in several linux machines using script](https://forum.ansible.com/t/automitain-run-task-in-several-linux-machines-using-script/19668)

<div class="topic-metadata">

**Author:** [@ibrahim\_El-sanosi](https://forum.ansible.com/u/ibrahim_El-sanosi)\
**Replies:** 4\
**Last updated:** [November 2, 2015, 7:43pm UTC](https://forum.ansible.com/t/automitain-run-task-in-several-linux-machines-using-script/19668 "2015-11-02T19:43:24Z")

</div>

| I have a Java program (/workspace/Task), I want to run it in several Linux machines (m1, m2, m3, mn). I need to run a program Task on machines one by one. In other words, I want to run the Task on m1, …

---

## [fail\_when error](https://forum.ansible.com/t/fail-when-error/19631)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 4\
**Last updated:** [November 2, 2015, 6:57pm UTC](https://forum.ansible.com/t/fail-when-error/19631 "2015-11-02T18:57:32Z")

</div>

So i’m really stumped about this failed\_when clause that keeps giving me errors. I was trying to use a failed\_when syntax like the below which is very similar to other failed\_when conditionals that i’ve used previously. …

---

## [FAILED =\> SSH Error: Permission denied (publickey,password).](https://forum.ansible.com/t/failed-ssh-error-permission-denied-publickey-password/19640)

<div class="topic-metadata">

**Author:** [@rashidjilani](https://forum.ansible.com/u/rashidjilani)\
**Replies:** 2\
**Last updated:** [November 2, 2015, 4:15pm UTC](https://forum.ansible.com/t/failed-ssh-error-permission-denied-publickey-password/19640 "2015-11-02T16:15:15Z")

</div>

Hi: I am using ansible 1.9.4 on ubuntu trusty 64 linux, but when I run the ansible " sudo ansible -vvv testserver -i hosts -m ping" to connect to the remote host using ssh key I am getting the following errors " \<192.1…

---

## [Issue with lib/ansible.egg-info/ ownership when running from source as different users](https://forum.ansible.com/t/issue-with-lib-ansible-egg-info-ownership-when-running-from-source-as-different-users/19671)

<div class="topic-metadata">

**Author:** [@Calhoun\_Matt](https://forum.ansible.com/u/Calhoun_Matt)\
**Replies:** 2\
**Last updated:** [November 2, 2015, 3:23pm UTC](https://forum.ansible.com/t/issue-with-lib-ansible-egg-info-ownership-when-running-from-source-as-different-users/19671 "2015-11-02T15:23:20Z")

</div>

We have the need to run ansible from cron as root (to ensure the ‘ansible’ user exists on all remote hosts and its key is present in authorized\_keys) as well as the the ‘ansible’ user. The problem is that when root sour…

---

## [Module statistics?](https://forum.ansible.com/t/module-statistics/19665)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 1\
**Last updated:** [November 2, 2015, 3:22pm UTC](https://forum.ansible.com/t/module-statistics/19665 "2015-11-02T15:22:20Z")

</div>

Hi As I module developer I am interested in usage information about my modules. So I had an idea, that ansible (or maybe tower?) could gather statistics (opt-in) about what modules are used and how often. These statis…

---

## [Clarification on dev process](https://forum.ansible.com/t/clarification-on-dev-process/19622)

<div class="topic-metadata">

**Author:** [@David\_O\_Brien](https://forum.ansible.com/u/David_O_Brien)\
**Replies:** 3\
**Last updated:** [November 2, 2015, 2:11pm UTC](https://forum.ansible.com/t/clarification-on-dev-process/19622 "2015-11-02T14:11:32Z")

</div>

Hi, with all the latest changes I’ve been wondering which version are we supposed to “support” with new modules? Ansible 2.0 and greater? The customer I am working at at the moment is still on 1.9.3 I believe and won’t …

---

## [How to create multiple virtual machines in azure using ansible](https://forum.ansible.com/t/how-to-create-multiple-virtual-machines-in-azure-using-ansible/19666)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 2\
**Last updated:** [November 2, 2015, 12:29pm UTC](https://forum.ansible.com/t/how-to-create-multiple-virtual-machines-in-azure-using-ansible/19666 "2015-11-02T12:29:38Z")

</div>

try this: - hosts: localhost connection: local gather\_facts: no vars\_files: - vars/azure.yml tasks: - name: create VM azure: name: '{{ item }}' role\_size: '{{ role\_size }}' …

---

## [How to use sudo su - in ansible 1.9.4](https://forum.ansible.com/t/how-to-use-sudo-su-in-ansible-1-9-4/19670)

<div class="topic-metadata">

**Author:** [@rahul\_bhandari](https://forum.ansible.com/u/rahul_bhandari)\
**Replies:** 2\
**Last updated:** [November 2, 2015, 12:52am UTC](https://forum.ansible.com/t/how-to-use-sudo-su-in-ansible-1-9-4/19670 "2015-11-02T00:52:26Z")

</div>

I am trying to run following cli commands on remote host through ansible; I tried using different combinations but it is not working for me; probably I might be not using correct syntax; please help. sudo su - user1 ls…

---

## [Is there a way to set environment variables with conditionals?](https://forum.ansible.com/t/is-there-a-way-to-set-environment-variables-with-conditionals/19667)

<div class="topic-metadata">

**Author:** [@Christian\_Schmitt](https://forum.ansible.com/u/Christian_Schmitt)\
**Replies:** 1\
**Last updated:** [November 1, 2015, 9:39pm UTC](https://forum.ansible.com/t/is-there-a-way-to-set-environment-variables-with-conditionals/19667 "2015-11-01T21:39:06Z")

</div>

Hello, currently we have a site which needs a openvpn connection and some proxy variables while connection via ansible. Is there a way to set a environment variable only when a ansible condition is met? If we connect to…

---

## [HowTo transform variable groups.my\_group into array of dicts](https://forum.ansible.com/t/howto-transform-variable-groups-my-group-into-array-of-dicts/19669)

<div class="topic-metadata">

**Author:** [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Replies:** 1\
**Last updated:** [November 1, 2015, 9:17pm UTC](https://forum.ansible.com/t/howto-transform-variable-groups-my-group-into-array-of-dicts/19669 "2015-11-01T21:17:04Z")

</div>

Hi, I have a group named “zookeeper\_node”: tasks: debug: msg=“System {{ groups.zookeeper\_node }}” OUTPUT: ok: \[mesosnode01\] =\> { “msg”: “System \[‘mesosnode01’, ‘mesosnode02’, ‘mesosnode03’\]” } I want to transform…

---

## [leading zero omitted from variable](https://forum.ansible.com/t/leading-zero-omitted-from-variable/19637)

<div class="topic-metadata">

**Author:** [@Gregory\_Danenberg](https://forum.ansible.com/u/Gregory_Danenberg)\
**Replies:** 2\
**Last updated:** [November 1, 2015, 9:25am UTC](https://forum.ansible.com/t/leading-zero-omitted-from-variable/19637 "2015-11-01T09:25:05Z")

</div>

Hi In group\_vars I declared the following variables: version: stf: 2.6.0.0 build: 01.0 and later use it in tasks: name: copy task example copy: src=/var/rpms/functions-{{version.stf}}-{{version.build}}.x86\_64.rpm…

---

## [Proposal: include\_defaults](https://forum.ansible.com/t/proposal-include-defaults/16066)

<div class="topic-metadata">

**Author:** [@Daniele\_Varrazzo](https://forum.ansible.com/u/Daniele_Varrazzo)\
**Replies:** 5\
**Last updated:** [November 1, 2015, 2:54am UTC](https://forum.ansible.com/t/proposal-include-defaults/16066 "2015-11-01T02:54:07Z")

</div>

Hello, after yesterday’s thread I’ve goggled a bit more around ansible and variables and I’ve figured out the following facts (of which many of you are probably aware but I’m new of the environment): the precedence of…

---

## [Problems with a variable list in a loop](https://forum.ansible.com/t/problems-with-a-variable-list-in-a-loop/19664)

<div class="topic-metadata">

**Author:** [@Brian\_Huddleston](https://forum.ansible.com/u/Brian_Huddleston)\
**Replies:** 1\
**Last updated:** [October 31, 2015, 11:15pm UTC](https://forum.ansible.com/t/problems-with-a-variable-list-in-a-loop/19664 "2015-10-31T23:15:03Z")

</div>

I have a odd problem iterating through a list, I’m trying to define a role that will install multiple SSH keys from GitHub.

---

## [add\_host access host variables from in-memory group](https://forum.ansible.com/t/add-host-access-host-variables-from-in-memory-group/19645)

<div class="topic-metadata">

**Author:** [@K\_Cheng](https://forum.ansible.com/u/K_Cheng)\
**Replies:** 1\
**Last updated:** [October 31, 2015, 4:19am UTC](https://forum.ansible.com/t/add-host-access-host-variables-from-in-memory-group/19645 "2015-10-31T04:19:26Z")

</div>

Hey guys, Just wondering whether there is a way to access the contents of a add\_host group? EG: name: Add newly created instance to host group created\_instances add\_host: hostname: “{{ item.private\_ip }}” testvar…

---

## [Execute task when: "'Key' not in object"](https://forum.ansible.com/t/execute-task-when-key-not-in-object/19662)

<div class="topic-metadata">

**Author:** [@Rob\_Wilkerson](https://forum.ansible.com/u/Rob_Wilkerson)\
**Replies:** 0\
**Last updated:** [October 30, 2015, 10:07pm UTC](https://forum.ansible.com/t/execute-task-when-key-not-in-object/19662 "2015-10-30T22:07:53Z")

</div>

I have a playbook that’s creating n EC2 instances using exact\_count. I’d like to tag those instances with a semi-meaningful Name value. I can get a list of all of my tagged instances from the ec2 module return value usin…

---

## [find module parse return value](https://forum.ansible.com/t/find-module-parse-return-value/19661)

<div class="topic-metadata">

**Author:** [@Eugene\_Polyanichko](https://forum.ansible.com/u/Eugene_Polyanichko)\
**Replies:** 2\
**Last updated:** [October 30, 2015, 8:48pm UTC](https://forum.ansible.com/t/find-module-parse-return-value/19661 "2015-10-30T20:48:32Z")

</div>

Official documentation http://docs.ansible.com/ansible/find\_module.html states, that main return value name is files and it’s “list of dictionaries”. Does anyone know how to parse this value? I’ve tried all possible loop…

---

## [Problem with squashing complex arguments (#12976)](https://forum.ansible.com/t/problem-with-squashing-complex-arguments-12976/19659)

<div class="topic-metadata">

**Author:** [@Lars\_Kellogg-Stedma1](https://forum.ansible.com/u/Lars_Kellogg-Stedma1)\
**Replies:** 1\
**Last updated:** [October 30, 2015, 6:21pm UTC](https://forum.ansible.com/t/problem-with-squashing-complex-arguments-12976/19659 "2015-10-30T18:21:05Z")

</div>

I wanted to draw attention to this issue, filed earlier today by opoplwaski: - https://github.com/ansible/ansible/issues/12976 It highlights several regressions between 1.9.x and 2.0.0, primarily concerning situation…

---

## [roster: an Ansible dynamic inventory tool for Terraform projects](https://forum.ansible.com/t/roster-an-ansible-dynamic-inventory-tool-for-terraform-projects/19660)

<div class="topic-metadata">

**Author:** [@george\_hartzell](https://forum.ansible.com/u/george_hartzell)\
**Replies:** 0\
**Last updated:** [October 30, 2015, 6:19pm UTC](https://forum.ansible.com/t/roster-an-ansible-dynamic-inventory-tool-for-terraform-projects/19660 "2015-10-30T18:19:46Z")

</div>

Hi All, I’d like to share roster. Roster is a tool for working transforming Terraform state information into other forms (it’s original calling was as an Ansible dynamic inventory provider). It is intended to be “go …

---

## [SSH Connection does not complete.](https://forum.ansible.com/t/ssh-connection-does-not-complete/19658)

<div class="topic-metadata">

**Author:** [@Jon\_Dison](https://forum.ansible.com/u/Jon_Dison)\
**Replies:** 0\
**Last updated:** [October 30, 2015, 4:55pm UTC](https://forum.ansible.com/t/ssh-connection-does-not-complete/19658 "2015-10-30T16:55:50Z")

</div>

When attempting to run an ansible module on a remote host, the SSH connection never fully completes… \[myhost myusername 11:46:23\]~ $ ansible -vvvvvvvvv -m setup -i ~/dave\_ansible/ansible/hosts.txt remotehost -u user -k …

---

## [Playbook execution](https://forum.ansible.com/t/playbook-execution/19657)

<div class="topic-metadata">

**Author:** [@Trimurtulu\_k](https://forum.ansible.com/u/Trimurtulu_k)\
**Replies:** 0\
**Last updated:** [October 30, 2015, 2:59pm UTC](https://forum.ansible.com/t/playbook-execution/19657 "2015-10-30T14:59:23Z")

</div>

Hello Forum, How to execute a playbook remotely with password? Ex:ansible-playbook \<playbook.yml\> -k Thanks, Trim

---

## [playbook execution remotely](https://forum.ansible.com/t/playbook-execution-remotely/19656)

<div class="topic-metadata">

**Author:** [@Trimurtulu\_k](https://forum.ansible.com/u/Trimurtulu_k)\
**Replies:** 0\
**Last updated:** [October 30, 2015, 2:54pm UTC](https://forum.ansible.com/t/playbook-execution-remotely/19656 "2015-10-30T14:54:59Z")

</div>

Hello Forum, How to execute a playbook remotely with password? Ex:ansible-playbook \<playbook.yml\> -k Thanks, Trim

---

## [Galaxy 1.1.1 release](https://forum.ansible.com/t/galaxy-1-1-1-release/19654)

<div class="topic-metadata">

**Author:** [@Chris\_Houseknecht](https://forum.ansible.com/u/Chris_Houseknecht)\
**Replies:** 1\
**Last updated:** [October 30, 2015, 12:06pm UTC](https://forum.ansible.com/t/galaxy-1-1-1-release/19654 "2015-10-30T12:06:57Z")

</div>

We will be releasing Galaxy 1.1.1 tomorrow at 8:00 AM EDT. This a small maintenance release addressing a handful of minor bugs. There will be no interruption of service during the deployment. The complete list of bug fi…

---

## [add CORS support to s3\_bucket](https://forum.ansible.com/t/add-cors-support-to-s3-bucket/19650)

<div class="topic-metadata">

**Author:** [@Jaime\_Bermudez](https://forum.ansible.com/u/Jaime_Bermudez)\
**Replies:** 3\
**Last updated:** [October 30, 2015, 11:16am UTC](https://forum.ansible.com/t/add-cors-support-to-s3-bucket/19650 "2015-10-30T11:16:06Z")

</div>

Conversation continued from https://github.com/ansible/ansible-modules-extras/issues/1163 Rob, I don’t see any difference in adding a CORS policy vs. adding a bucket policy and the latter remains part of the s3\_bucke…

---

## [unpredictable 'working directory' on local machine](https://forum.ansible.com/t/unpredictable-working-directory-on-local-machine/19626)

<div class="topic-metadata">

**Author:** [@Jonathan\_Miller](https://forum.ansible.com/u/Jonathan_Miller)\
**Replies:** 4\
**Last updated:** [October 30, 2015, 10:55am UTC](https://forum.ansible.com/t/unpredictable-working-directory-on-local-machine/19626 "2015-10-30T10:55:52Z")

</div>

Hi, I have found that ansible is unpredictable in terms of determining the current working directory on the LOCAL machine. Invoking the same shell command as a lookup, or as a command, changes the apparent working dire…

---

## [Task/inventory option preference](https://forum.ansible.com/t/task-inventory-option-preference/19596)

<div class="topic-metadata">

**Author:** [@jonas.haag](https://forum.ansible.com/u/jonas.haag)\
**Replies:** 2\
**Last updated:** [October 30, 2015, 10:08am UTC](https://forum.ansible.com/t/task-inventory-option-preference/19596 "2015-10-30T10:08:42Z")

</div>

Hi everyone, what is the expected preference of options like “become” when they are defined both in the inventory and a task? More specifically, I connect to my Vagrant machines using the “vagrant” user, then become ro…

---

## [WIndows: Alpha of built-in scheduled task support](https://forum.ansible.com/t/windows-alpha-of-built-in-scheduled-task-support/19431)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 3\
**Last updated:** [October 30, 2015, 8:50am UTC](https://forum.ansible.com/t/windows-alpha-of-built-in-scheduled-task-support/19431 "2015-10-30T08:50:28Z")

</div>

Hi all, There’s been some chatter about getting some sort of functionality for running tasks as scheduled jobs into the builtin powershell functions in Ansible. I’ve spent a few hours today on a rought draft, and would…

---

## [Running parallely a playbook on the same host but with different values of the same extra var](https://forum.ansible.com/t/running-parallely-a-playbook-on-the-same-host-but-with-different-values-of-the-same-extra-var/19602)

<div class="topic-metadata">

**Author:** [@Roger\_Simon](https://forum.ansible.com/u/Roger_Simon)\
**Replies:** 4\
**Last updated:** [October 30, 2015, 7:06am UTC](https://forum.ansible.com/t/running-parallely-a-playbook-on-the-same-host-but-with-different-values-of-the-same-extra-var/19602 "2015-10-30T07:06:14Z")

</div>

Hi I would like if there is a way to run parallely the same playbook on the same host but different values for the same extra var ? some like playbook -i inventory/myhost playbook/test.yml --extra-vars “var=value1 var…

---

## [Ansible 2.0: slowdown, modified files, files/tasks always shown as changed?](https://forum.ansible.com/t/ansible-2-0-slowdown-modified-files-files-tasks-always-shown-as-changed/19655)

<div class="topic-metadata">

**Author:** [@Mirko\_Friedenhagen](https://forum.ansible.com/u/Mirko_Friedenhagen)\
**Replies:** 0\
**Last updated:** [October 29, 2015, 10:02pm UTC](https://forum.ansible.com/t/ansible-2-0-slowdown-modified-files-files-tasks-always-shown-as-changed/19655 "2015-10-29T22:02:32Z")

</div>

Hello, 1) SLOWDOWN I just installed ansible-2.0.0-0.4.beta2-1.tar.gz and reran a playbook against a local Vagrant instance which configures an Apache with mod\_proxy for ca. 60 hosts. 1.9.4: - PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*…

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

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