# Latest

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

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

**Page:** 925

---

## [Strange behaviour or misconfig ? (RDS and local connection)](https://forum.ansible.com/t/strange-behaviour-or-misconfig-rds-and-local-connection/16617)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 5:57pm UTC](https://forum.ansible.com/t/strange-behaviour-or-misconfig-rds-and-local-connection/16617 "2014-10-30T17:57:00Z")

</div>

Hi All, I’m using the bellow config in order to deploy Ansible in AWS with no problem , the db servers are actually RDS instances and the rest is all EC2 instances. inventory hosts file: \[db\] db1.example.com ansible\_c…

---

## [how to add github to known hosts](https://forum.ansible.com/t/how-to-add-github-to-known-hosts/16610)

<div class="topic-metadata">

**Author:** [@sam4](https://forum.ansible.com/u/sam4)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 5:55pm UTC](https://forum.ansible.com/t/how-to-add-github-to-known-hosts/16610 "2014-10-30T17:55:05Z")

</div>

I’ve been using the following to add github to my known hosts: shell: ssh-keyscan -H github.com \>\> ~/.ssh/known\_hosts …but it started failing, here’s the result: https://gist.github.com/uunsamp/28ae7967222f757c9c37 I…

---

## [What to do when sudo password prompt is hidden](https://forum.ansible.com/t/what-to-do-when-sudo-password-prompt-is-hidden/16646)

<div class="topic-metadata">

**Author:** [@Alex\_Scoble](https://forum.ansible.com/u/Alex_Scoble)\
**Replies:** 5\
**Last updated:** [October 30, 2014, 5:34pm UTC](https://forum.ansible.com/t/what-to-do-when-sudo-password-prompt-is-hidden/16646 "2014-10-30T17:34:30Z")

</div>

I’m using Ansible to do an ad-hoc command against multiple systems. The command does a wget and then pipes to sudo sh. Obviously, I’m using the shell module to do this. Psuedo command: ansible group -B 1800 -P 30 -m she…

---

## [Found Bug in current ansible Version in git](https://forum.ansible.com/t/found-bug-in-current-ansible-version-in-git/16634)

<div class="topic-metadata">

**Author:** [@Joachim\_Setzer](https://forum.ansible.com/u/Joachim_Setzer)\
**Replies:** 3\
**Last updated:** [October 30, 2014, 5:19pm UTC](https://forum.ansible.com/t/found-bug-in-current-ansible-version-in-git/16634 "2014-10-30T17:19:29Z")

</div>

Hi all, I have chacked out current ansible Version: ansible 1.8 (devel cd9ea13716) last updated 2014/10/28 22:08:28 (GMT +200) lib/ansible/modules/core: (devel 63e81cfc2e) last updated 2014/10/28 22:08:12 (GMT +200) …

---

## [\[bug\] host-pattern rule do not compatible with older versions](https://forum.ansible.com/t/bug-host-pattern-rule-do-not-compatible-with-older-versions/16632)

<div class="topic-metadata">

**Author:** [@Bob\_Chen](https://forum.ansible.com/u/Bob_Chen)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 5:15pm UTC](https://forum.ansible.com/t/bug-host-pattern-rule-do-not-compatible-with-older-versions/16632 "2014-10-30T17:15:46Z")

</div>

in older versions, list\_host = re.search(group.name) + re.search(host.name) in version 1.7.2, list\_host = re.search(group.name) + re.match(host.name) for example, in v1.6 \[chengshengbo@sd-ml-im-tool01 tmp\]$ ansible …

---

## [Configure your docker with ansible without ssh](https://forum.ansible.com/t/configure-your-docker-with-ansible-without-ssh/16624)

<div class="topic-metadata">

**Author:** [@Michael\_Bitard](https://forum.ansible.com/u/Michael_Bitard)\
**Replies:** 3\
**Last updated:** [October 30, 2014, 5:12pm UTC](https://forum.ansible.com/t/configure-your-docker-with-ansible-without-ssh/16624 "2014-10-30T17:12:47Z")

</div>

Hi, I used a lot ansible\_connection=chroot to configure a chroot on some of my hosts and I think this would be a nice feature if we were capable of launching an ansible playbook to configure a docker, but from the host …

---

## [Better OpenStack Support](https://forum.ansible.com/t/better-openstack-support/15768)

<div class="topic-metadata">

**Author:** [@Tyler\_North](https://forum.ansible.com/u/Tyler_North)\
**Replies:** 20\
**Last updated:** [October 30, 2014, 5:08pm UTC](https://forum.ansible.com/t/better-openstack-support/15768 "2014-10-30T17:08:31Z")

</div>

Hi all, I submitted a pull request to add more openstack support here: https://github.com/ansible/ansible/pull/8252 I was asked to open the topic to more discussion so… discuss I suppose! Please feel free to contact m…

---

## [Cant call hostvars variables from a task in a role](https://forum.ansible.com/t/cant-call-hostvars-variables-from-a-task-in-a-role/16640)

<div class="topic-metadata">

**Author:** [@Leandro\_Reox](https://forum.ansible.com/u/Leandro_Reox)\
**Replies:** 0\
**Last updated:** [October 29, 2014, 9:05pm UTC](https://forum.ansible.com/t/cant-call-hostvars-variables-from-a-task-in-a-role/16640 "2014-10-29T21:05:54Z")

</div>

Folks, Were dealing with some weird issue that we want to clarify, clearly were understanding something wrong Heres is our current playbook distribution, with roles and stuff deploy/ ├── ansible.cfg ├── filter\_plugi…

---

## [Using Ansible with Cloudformation](https://forum.ansible.com/t/using-ansible-with-cloudformation/16637)

<div class="topic-metadata">

**Author:** [@S.Mclaughlin](https://forum.ansible.com/u/S.Mclaughlin)\
**Replies:** 0\
**Last updated:** [October 29, 2014, 8:09pm UTC](https://forum.ansible.com/t/using-ansible-with-cloudformation/16637 "2014-10-29T20:09:49Z")

</div>

I am trying to use ansible to provision a CoreOS cluster and I am newbie to Ansible. I followed the directions for the ansible cloudformation module but I am lost as to what should be the contents of my hosts file? Will …

---

## [Usage of 'npm install' on centos 6.3 , getting error](https://forum.ansible.com/t/usage-of-npm-install-on-centos-6-3-getting-error/16567)

<div class="topic-metadata">

**Author:** [@Nikita\_Agrawal](https://forum.ansible.com/u/Nikita_Agrawal)\
**Replies:** 3\
**Last updated:** [October 29, 2014, 9:30am UTC](https://forum.ansible.com/t/usage-of-npm-install-on-centos-6-3-getting-error/16567 "2014-10-29T09:30:00Z")

</div>

Hi everyone I am trying to install forever using npm and ansible on Centos 6.3. Here is my playbook.

---

## [Cannot copy a file to a server when using ssh](https://forum.ansible.com/t/cannot-copy-a-file-to-a-server-when-using-ssh/16631)

<div class="topic-metadata">

**Author:** [@mtovey](https://forum.ansible.com/u/mtovey)\
**Replies:** 0\
**Last updated:** [October 28, 2014, 11:32pm UTC](https://forum.ansible.com/t/cannot-copy-a-file-to-a-server-when-using-ssh/16631 "2014-10-28T23:32:42Z")

</div>

I am experimenting with using ssh instead of paramiko. All was going well until I tried to transfer a file. Whenever I do that, it consistently fails. I have tried with “scp\_if\_ssh = True” and without that, and in both c…

---

## [Further EC2 module refactorings](https://forum.ansible.com/t/further-ec2-module-refactorings/14561)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 11\
**Last updated:** [October 28, 2014, 5:09pm UTC](https://forum.ansible.com/t/further-ec2-module-refactorings/14561 "2014-10-28T17:09:29Z")

</div>

I’ve added security\_token and profile\_name support (the latter only works with boto \> 2.24, but that is checked) to the module\_utils/ec2.py, along with an alternative mechanism to get\_ec2\_creds. I think the next step wi…

---

## [Using yum module to install latest or defined version of a package](https://forum.ansible.com/t/using-yum-module-to-install-latest-or-defined-version-of-a-package/13340)

<div class="topic-metadata">

**Author:** [@Byron\_Schlemmer](https://forum.ansible.com/u/Byron_Schlemmer)\
**Replies:** 8\
**Last updated:** [October 28, 2014, 12:24pm UTC](https://forum.ansible.com/t/using-yum-module-to-install-latest-or-defined-version-of-a-package/13340 "2014-10-28T12:24:22Z")

</div>

Hi all, I’m trying to work out the best way to either install the latest version or a specified version of a package dependent on a group\_vars variable passed. That is, my group\_vars/group contains: mypackage: 1.0 Bu…

---

## [loop over variables](https://forum.ansible.com/t/loop-over-variables/16623)

<div class="topic-metadata">

**Author:** [@kevin\_parker](https://forum.ansible.com/u/kevin_parker)\
**Replies:** 0\
**Last updated:** [October 28, 2014, 11:18am UTC](https://forum.ansible.com/t/loop-over-variables/16623 "2014-10-28T11:18:15Z")

</div>

I am using ansible to update configuration file of newly added NIC for that i have defined some variables in separate yml file /tmp/ip.yml #first interface interface1: eth1 bootproto1: static ipaddress1: 192.168.211.24…

---

## [git ls-remote fails](https://forum.ansible.com/t/git-ls-remote-fails/16613)

<div class="topic-metadata">

**Author:** [@sam4](https://forum.ansible.com/u/sam4)\
**Replies:** 1\
**Last updated:** [October 28, 2014, 4:33am UTC](https://forum.ansible.com/t/git-ls-remote-fails/16613 "2014-10-28T04:33:44Z")

</div>

i can’t clone a remote repo: failed: \[IP\_ADDRESS\_REMOVED\] =\> {“cmd”: “/usr/bin/git ls-remote git@bitbucket.org:REMOVED/REMOVED.git -h refs/heads/HEAD”, “failed”: true, “rc”: 128} stderr: Permission denied (publickey). …

---

## [stdout just md5sum and file name](https://forum.ansible.com/t/stdout-just-md5sum-and-file-name/16619)

<div class="topic-metadata">

**Author:** [@Simon\_Tomazic](https://forum.ansible.com/u/Simon_Tomazic)\
**Replies:** 0\
**Last updated:** [October 27, 2014, 5:11pm UTC](https://forum.ansible.com/t/stdout-just-md5sum-and-file-name/16619 "2014-10-27T17:11:49Z")

</div>

I would like to md5sum two conf files server.xml and server.xml\_latest in the same folder on two instances on remote server. How can I get stdout just “b9b82f9ad039e9d1b4c0233dbacf3934 /opt/tomcat-instance/fep21/conf/ser…

---

## [error: with\_dict expects a dict](https://forum.ansible.com/t/error-with-dict-expects-a-dict/16611)

<div class="topic-metadata">

**Author:** [@Paul\_Angus1](https://forum.ansible.com/u/Paul_Angus1)\
**Replies:** 1\
**Last updated:** [October 26, 2014, 5:02am UTC](https://forum.ansible.com/t/error-with-dict-expects-a-dict/16611 "2014-10-26T05:02:10Z")

</div>

I have this in my group\_vars: hotfixes-6\_2\_0: XS62ESP1003: dl\_file: XS62ESP1003.zip dl\_path: “http://downloadns.citrix.com.edgesuite.net/akdlm/9031/” XS62ESP1005: dl\_file: XS62E005.zip dl\_path: “http://downloadns.…

---

## [Using python2 instead of python in shebang lines](https://forum.ansible.com/t/using-python2-instead-of-python-in-shebang-lines/16586)

<div class="topic-metadata">

**Author:** [@Maykel\_Moya](https://forum.ansible.com/u/Maykel_Moya)\
**Replies:** 4\
**Last updated:** [October 25, 2014, 10:46pm UTC](https://forum.ansible.com/t/using-python2-instead-of-python-in-shebang-lines/16586 "2014-10-25T22:46:01Z")

</div>

Hi Given that the requirement for the management host is py2.6+ and PEP394\[1\] has been around some time now, would you consider using '#!/usr/bin/env python2' instead of '#!/usr/bin/env python' in bin/\*? I can submit…

---

## [Development topic - Understanding ongoing refactoring and the 'v2/' subtree](https://forum.ansible.com/t/development-topic-understanding-ongoing-refactoring-and-the-v2-subtree/16595)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 2\
**Last updated:** [October 25, 2014, 10:44pm UTC](https://forum.ansible.com/t/development-topic-understanding-ongoing-refactoring-and-the-v2-subtree/16595 "2014-10-25T22:44:13Z")

</div>

Hi everyone, Some of you may have noticed the ‘v2/’ subtree in the code that is just getting started. As such, some of you may either be like: (A) OOOH AWESOME! LET ME WRITE SOME PULL REQUESTS FOR THIS! or (B) AAARG…

---

## [Role encapsulation, DRY, and convention over configuration](https://forum.ansible.com/t/role-encapsulation-dry-and-convention-over-configuration/16609)

<div class="topic-metadata">

**Author:** [@azaghal](https://forum.ansible.com/u/azaghal)\
**Replies:** 1\
**Last updated:** [October 25, 2014, 4:14pm UTC](https://forum.ansible.com/t/role-encapsulation-dry-and-convention-over-configuration/16609 "2014-10-25T16:14:38Z")

</div>

Hello all, I am still quite new to Ansible (but coming from Puppet background, so my perspective might be a bit skewed to top it off), and I am currently trying to figure out what would be the best way to layout roles…

---

## [block statements?](https://forum.ansible.com/t/block-statements/16605)

<div class="topic-metadata">

**Author:** [@Ian\_Denhardt](https://forum.ansible.com/u/Ian_Denhardt)\
**Replies:** 2\
**Last updated:** [October 25, 2014, 11:51am UTC](https://forum.ansible.com/t/block-statements/16605 "2014-10-25T11:51:28Z")

</div>

Hey Does ansible have a way of grouping multiple tasks into one (akin to a block statement in many programming languages)? I've several tasks that I want to (a) apply some common options to, such as sudo: yes, and (b) …

---

## [Problem with SSH Forwarding using Ansible and Vagrant](https://forum.ansible.com/t/problem-with-ssh-forwarding-using-ansible-and-vagrant/16597)

<div class="topic-metadata">

**Author:** [@Navid\_Paya](https://forum.ansible.com/u/Navid_Paya)\
**Replies:** 2\
**Last updated:** [October 25, 2014, 3:54am UTC](https://forum.ansible.com/t/problem-with-ssh-forwarding-using-ansible-and-vagrant/16597 "2014-10-25T03:54:07Z")

</div>

Hi all I’m trying to use SSH forwarding to clone some private repos from github using Ansible on a Vagrant instance but it fails. Here are the involved artifacts. I’ve read pretty much all the related Google searches bu…

---

## [cloudformation module: list resources in results?](https://forum.ansible.com/t/cloudformation-module-list-resources-in-results/16582)

<div class="topic-metadata">

**Author:** [@Dan\_Farrell](https://forum.ansible.com/u/Dan_Farrell)\
**Replies:** 2\
**Last updated:** [October 25, 2014, 3:51am UTC](https://forum.ansible.com/t/cloudformation-module-list-resources-in-results/16582 "2014-10-25T03:51:33Z")

</div>

As a cloudformation user, I usually interact with stack resources via their Logical Resource ID (that is to day, their ‘name’ in the cloud formation template). However, the cloudformation module doesn’t seem to provide t…

---

## [With much thanks, welcome new cloud module lieutant/czar/santa-helpers](https://forum.ansible.com/t/with-much-thanks-welcome-new-cloud-module-lieutant-czar-santa-helpers/16607)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 2\
**Last updated:** [October 25, 2014, 2:21am UTC](https://forum.ansible.com/t/with-much-thanks-welcome-new-cloud-module-lieutant-czar-santa-helpers/16607 "2014-10-25T02:21:37Z")

</div>

Hi all, (Feel like I’ve sent this note but apparently I have not) Good news! I’ve recently added a few folks with commit access to the ansible-modules-core and ansible-modules-extras repos. These are: Eric Johnson - …

---

## [Creating a pull request for snmp\_facts module and suggestions](https://forum.ansible.com/t/creating-a-pull-request-for-snmp-facts-module-and-suggestions/16592)

<div class="topic-metadata">

**Author:** [@Patrick\_Ogenstad](https://forum.ansible.com/u/Patrick_Ogenstad)\
**Replies:** 1\
**Last updated:** [October 25, 2014, 1:56am UTC](https://forum.ansible.com/t/creating-a-pull-request-for-snmp-facts-module-and-suggestions/16592 "2014-10-25T01:56:05Z")

</div>

I’ve created an Ansible module which can gather Ansible facts from SNMP enabled devices. I’ve written about the module here: http://networklore.com/ansible-snmp-facts/ It was suggested on Twitter that I created a pull …

---

## [tags and role dependencies](https://forum.ansible.com/t/tags-and-role-dependencies/16596)

<div class="topic-metadata">

**Author:** [@Daniel\_Wendler](https://forum.ansible.com/u/Daniel_Wendler)\
**Replies:** 8\
**Last updated:** [October 25, 2014, 1:01am UTC](https://forum.ansible.com/t/tags-and-role-dependencies/16596 "2014-10-25T01:01:19Z")

</div>

Hello @all, i have an strage behavior with role dependencies and tags. I have an playbook like this: \`

---

## [when condition based on list](https://forum.ansible.com/t/when-condition-based-on-list/16602)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 2\
**Last updated:** [October 25, 2014, 12:33am UTC](https://forum.ansible.com/t/when-condition-based-on-list/16602 "2014-10-25T00:33:45Z")

</div>

Is it possible to write something like “when: a and b and c”, but get the list \[a,b,c\] from a variable? I have one command that outputs some data, which I register in a variable x. Then I want to see if all items from v…

---

## [include when and variables and Friday and I don't even](https://forum.ansible.com/t/include-when-and-variables-and-friday-and-i-dont-even/16603)

<div class="topic-metadata">

**Author:** [@brian1](https://forum.ansible.com/u/brian1)\
**Replies:** 1\
**Last updated:** [October 25, 2014, 12:06am UTC](https://forum.ansible.com/t/include-when-and-variables-and-friday-and-i-dont-even/16603 "2014-10-25T00:06:30Z")

</div>

I have a playbook. It’s got includes, and tags, and it works. But when I introduce a when it fails. And I’m too slow this long Friday to get what’s wrong. https://gist.github.com/bdunbar/82f55ed4f1de76cd3d6e Perhaps I’…

---

## [include: myplaybook.yml tags=mytag, how to make it work ?](https://forum.ansible.com/t/include-myplaybook-yml-tags-mytag-how-to-make-it-work/16542)

<div class="topic-metadata">

**Author:** [@Alain\_Kreienbuhl](https://forum.ansible.com/u/Alain_Kreienbuhl)\
**Replies:** 3\
**Last updated:** [October 25, 2014, 12:04am UTC](https://forum.ansible.com/t/include-myplaybook-yml-tags-mytag-how-to-make-it-work/16542 "2014-10-25T00:04:13Z")

</div>

Hello, Including a playbook with a tag restriction doesn’t actually restrict the playbook to the tags. It play’s the whole playbook. am I missing something ? Thanks Alain

---

## [Variable Definition Question](https://forum.ansible.com/t/variable-definition-question/16600)

<div class="topic-metadata">

**Author:** [@Jamal\_B](https://forum.ansible.com/u/Jamal_B)\
**Replies:** 1\
**Last updated:** [October 25, 2014, 12:03am UTC](https://forum.ansible.com/t/variable-definition-question/16600 "2014-10-25T00:03:29Z")

</div>

All, I’m new to Ansible so forgive me if this is already answered as I was unable to find a solution with my research. I have an application which uses a Java properties file (/usr/local/app/app.properties) which contai…

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

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