# Latest

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

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

**Page:** 1065

---

## [libcloud](https://forum.ansible.com/t/libcloud/12182)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 2\
**Last updated:** [January 4, 2013, 3:30pm UTC](https://forum.ansible.com/t/libcloud/12182 "2013-01-04T15:30:37Z")

</div>

I'm new to ansible, noticed there is a module for ec2, but no module for libcloud (http://libcloud.apache.org/). Anybody looked at libcloud, or working on it? Any reason why not? Thanks

---

## [Unexpected behaviour of conditionals](https://forum.ansible.com/t/unexpected-behaviour-of-conditionals/12181)

<div class="topic-metadata">

**Author:** [@Nigel\_Metheringham](https://forum.ansible.com/u/Nigel_Metheringham)\
**Replies:** 7\
**Last updated:** [January 4, 2013, 1:03am UTC](https://forum.ansible.com/t/unexpected-behaviour-of-conditionals/12181 "2013-01-04T01:03:26Z")

</div>

If I want an action to only run on Centos I can use when\_string:- - name: ensure package absent action: yum name=$item state=absent when\_string: $ansible\_distribution == 'Centos' with\_items: …

---

## [2 variables with same values being treated differently](https://forum.ansible.com/t/2-variables-with-same-values-being-treated-differently/12178)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 5\
**Last updated:** [January 1, 2013, 5:54pm UTC](https://forum.ansible.com/t/2-variables-with-same-values-being-treated-differently/12178 "2013-01-01T17:54:25Z")

</div>

This is a head scratcher, well for me anyways. I have two values that are being treated as if they weren’t equal, yet everything on the debug is showing me they have the same value. In the playbook, the debug msg shows…

---

## [Review help (recursive copy support)](https://forum.ansible.com/t/review-help-recursive-copy-support/12177)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [January 1, 2013, 4:23am UTC](https://forum.ansible.com/t/review-help-recursive-copy-support/12177 "2013-01-01T04:23:01Z")

</div>

Here's a recursive copy module that doesn't rely on rsync (which could be nice if you were specifying passwords on the command line versus using keys) -- anyone want to help test/review? https://github.com/ansible/ans…

---

## [playbook via jumphost](https://forum.ansible.com/t/playbook-via-jumphost/12176)

<div class="topic-metadata">

**Author:** [@Brian\_McQueen](https://forum.ansible.com/u/Brian_McQueen)\
**Replies:** 3\
**Last updated:** [December 31, 2012, 5:56pm UTC](https://forum.ansible.com/t/playbook-via-jumphost/12176 "2012-12-31T17:56:56Z")

</div>

I’m using the latest Ansible and python 2.7.2. I’ve got my jump host all set via ~/.ssh/config. Ssh connections to my target host work fine. I’ve got an ansible\_hosts line for my target’s hostname, and it matches the hos…

---

## [Using Ansible Facts to get devices information](https://forum.ansible.com/t/using-ansible-facts-to-get-devices-information/12170)

<div class="topic-metadata">

**Author:** [@Kavin](https://forum.ansible.com/u/Kavin)\
**Replies:** 14\
**Last updated:** [December 31, 2012, 5:24pm UTC](https://forum.ansible.com/t/using-ansible-facts-to-get-devices-information/12170 "2012-12-31T17:24:40Z")

</div>

Ansible facts, i.e. when i run ansible all -m setup I get all the basic information like the interfaces, IP etc, But i am really interested in also getting disk/partition information and devices attached, Like the inform…

---

## [hacking ec2.py inventory script for localhost support](https://forum.ansible.com/t/hacking-ec2-py-inventory-script-for-localhost-support/12175)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 0\
**Last updated:** [December 31, 2012, 4:41pm UTC](https://forum.ansible.com/t/hacking-ec2-py-inventory-script-for-localhost-support/12175 "2012-12-31T16:41:31Z")

</div>

So I started hacking the ec2.py inventory script to add “localhost” as one of the groups … I had to do this because one of the playbooks I run references both localhost and some ec2 stuff. Anyhow, I was also trying to s…

---

## [getting facts from previous plays](https://forum.ansible.com/t/getting-facts-from-previous-plays/12172)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 5\
**Last updated:** [December 31, 2012, 2:30pm UTC](https://forum.ansible.com/t/getting-facts-from-previous-plays/12172 "2012-12-31T14:30:28Z")

</div>

I’m a bit confused by the wording here: “The hosts that you want to reference data from must be included in either the current play or any previous play” Does that mean of any playbook, or just the same playbook? Than…

---

## [Error while trying to install ansible](https://forum.ansible.com/t/error-while-trying-to-install-ansible/12174)

<div class="topic-metadata">

**Author:** [@yarlagadda\_ramya](https://forum.ansible.com/u/yarlagadda_ramya)\
**Replies:** 2\
**Last updated:** [December 31, 2012, 2:11pm UTC](https://forum.ansible.com/t/error-while-trying-to-install-ansible/12174 "2012-12-31T14:11:21Z")

</div>

After this step, am getting an error while trying to install ansible. \[oracle@TCS-PERF-TEST-DB01 ansible\]$ ansible all -m ping --ask-pass Traceback (most recent call last): File “/home/oracle/ansible/ansible/bin/ansib…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/12173)

<div class="topic-metadata">

**Author:** [@Alex\_Wheeler](https://forum.ansible.com/u/Alex_Wheeler)\
**Replies:** 0\
**Last updated:** [December 30, 2012, 5:02pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/12173 "2012-12-30T17:02:08Z")

</div>

---

## [Ansible User Survey #2](https://forum.ansible.com/t/ansible-user-survey-2/12171)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [December 29, 2012, 6:57pm UTC](https://forum.ansible.com/t/ansible-user-survey-2/12171 "2012-12-29T18:57:52Z")

</div>

Hi everyone, It's always useful to know how different people are using Ansible differently, and to know who your audience is. We had a survey a while in the past but have grown a lot since then. If you would like to …

---

## [using $hostvars in a custom module](https://forum.ansible.com/t/using-hostvars-in-a-custom-module/12168)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 4\
**Last updated:** [December 29, 2012, 2:20am UTC](https://forum.ansible.com/t/using-hostvars-in-a-custom-module/12168 "2012-12-29T02:20:14Z")

</div>

Is it possible to use $hostvars in a custom module? I tried passing it to my custom module and was told that the module only wanted key/value pairs. Thanks, James

---

## [Using ansible facts with when or only\_if](https://forum.ansible.com/t/using-ansible-facts-with-when-or-only-if/12166)

<div class="topic-metadata">

**Author:** [@Dylan\_Silva](https://forum.ansible.com/u/Dylan_Silva)\
**Replies:** 5\
**Last updated:** [December 29, 2012, 1:17am UTC](https://forum.ansible.com/t/using-ansible-facts-with-when-or-only-if/12166 "2012-12-29T01:17:57Z")

</div>

Hello all! I am trying to use ansible fact names (mainly group\_names) with both when\_string and only\_if, but am hitting a road block. It seems to me that if I run a playbook using a child group like foo:children but in …

---

## [Ansible 0.9 on Fedora / in EPEL6](https://forum.ansible.com/t/ansible-0-9-on-fedora-in-epel6/12169)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [December 28, 2012, 4:18pm UTC](https://forum.ansible.com/t/ansible-0-9-on-fedora-in-epel6/12169 "2012-12-28T16:18:04Z")

</div>

Great! So we'll have Fedora and EPEL RPMs for the fireball support packages? Awesome! --Michael

---

## [Is there a list of all vars available in a template/playbook?](https://forum.ansible.com/t/is-there-a-list-of-all-vars-available-in-a-template-playbook/12156)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin](https://forum.ansible.com/u/Dylan_Martin)\
**Replies:** 4\
**Last updated:** [December 28, 2012, 4:10pm UTC](https://forum.ansible.com/t/is-there-a-list-of-all-vars-available-in-a-template-playbook/12156 "2012-12-28T16:10:53Z")

</div>

I’m fumbling about and I keep running into vars I didn’t know existed. For example, I just saw “group\_names” in the hadoop iptables example (https://github.com/jkleint/ansible-hadoop/blob/master/templates/iptables). I k…

---

## [ansible & virtualenv](https://forum.ansible.com/t/ansible-virtualenv/12165)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 1\
**Last updated:** [December 28, 2012, 3:12pm UTC](https://forum.ansible.com/t/ansible-virtualenv/12165 "2012-12-28T15:12:32Z")

</div>

I’m using a custom module that calls out to boto, but when I run the module, it get the following error: failed: \[localhost\] =\> {“failed”: true, “parsed”: false} invalid output was: Traceback (most recent call last): …

---

## [svn login credentials](https://forum.ansible.com/t/svn-login-credentials/12023)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [December 27, 2012, 8:17pm UTC](https://forum.ansible.com/t/svn-login-credentials/12023 "2012-12-27T20:17:37Z")

</div>

Looks like it currently can't do it, but from the example supports SSH keys. Unencrypted keys should be ok. If your key is encrypted, it probably doesn't work that well. Can you enable public read-only access?

---

## [Parsing ansible results](https://forum.ansible.com/t/parsing-ansible-results/12167)

<div class="topic-metadata">

**Author:** [@Tom\_Laredo](https://forum.ansible.com/u/Tom_Laredo)\
**Replies:** 0\
**Last updated:** [December 27, 2012, 4:36pm UTC](https://forum.ansible.com/t/parsing-ansible-results/12167 "2012-12-27T16:36:44Z")

</div>

Hi, Sorry for the delay, thank you very much! It definitly helped :slight\_smile: I’m playing now with callbacks and modules to do the work. Thank you again and see you soon.

---

## [register expressions](https://forum.ansible.com/t/register-expressions/12164)

<div class="topic-metadata">

**Author:** [@rektide](https://forum.ansible.com/u/rektide)\
**Replies:** 0\
**Last updated:** [December 26, 2012, 5:46pm UTC](https://forum.ansible.com/t/register-expressions/12164 "2012-12-26T17:46:45Z")

</div>

Greets ansible, I'm interested in the development of a way to extract specific pieces of data when doing a "register:" directive on a command. I seem to have a lot of ${foo.stdout} code littered around, which first, i…

---

## [Ansible pacman module](https://forum.ansible.com/t/ansible-pacman-module/12163)

<div class="topic-metadata">

**Author:** [@mujahideen.solutions](https://forum.ansible.com/u/mujahideen.solutions)\
**Replies:** 0\
**Last updated:** [December 25, 2012, 8:07pm UTC](https://forum.ansible.com/t/ansible-pacman-module/12163 "2012-12-25T20:07:34Z")

</div>

I’ve created a pacman module for Ansible. If there are any Arch users out there, could you please take a look at the pull request. https://github.com/ansible/ansible/pull/1670 Thanks

---

## [using dict for exit\_json and fail\_json, considering add\_path\_info and keys path/dest](https://forum.ansible.com/t/using-dict-for-exit-json-and-fail-json-considering-add-path-info-and-keys-path-dest/12162)

<div class="topic-metadata">

**Author:** [@david.chanial](https://forum.ansible.com/u/david.chanial)\
**Replies:** 0\
**Last updated:** [December 25, 2012, 3:40pm UTC](https://forum.ansible.com/t/using-dict-for-exit-json-and-fail-json-considering-add-path-info-and-keys-path-dest/12162 "2012-12-25T15:40:31Z")

</div>

Hi, About, #1788 I’m now using a dict in order to pass/update variables across functions. (Like args/kwargs in many modules like “mount”). but i have a question : https://github.com/ansible/ansible/blob/devel/lib/an…

---

## [aws command line](https://forum.ansible.com/t/aws-command-line/12161)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 0\
**Last updated:** [December 25, 2012, 6:26am UTC](https://forum.ansible.com/t/aws-command-line/12161 "2012-12-25T06:26:34Z")

</div>

http://docs.amazonwebservices.com/cli/latest/userguide/cli-chap-welcome.html the commands seem to return json, this will probably work very well with ansible

---

## [tomcat appserver provisioning](https://forum.ansible.com/t/tomcat-appserver-provisioning/12157)

<div class="topic-metadata">

**Author:** [@David\_Newman](https://forum.ansible.com/u/David_Newman)\
**Replies:** 5\
**Last updated:** [December 25, 2012, 1:34am UTC](https://forum.ansible.com/t/tomcat-appserver-provisioning/12157 "2012-12-25T01:34:55Z")

</div>

Hi there, I am new to Ansible and I would like to use it to provision tomcat instances. I'm wondering what other people have done in terms of playbooks. Would one mimic the way it is done manually? i.e. push a tgz…

---

## [virtualenv & custom modules](https://forum.ansible.com/t/virtualenv-custom-modules/12160)

<div class="topic-metadata">

**Author:** [@James\_Martin2](https://forum.ansible.com/u/James_Martin2)\
**Replies:** 0\
**Last updated:** [December 24, 2012, 12:21am UTC](https://forum.ansible.com/t/virtualenv-custom-modules/12160 "2012-12-24T00:21:30Z")

</div>

I'm using a custom module that calls out to boto, but when I run the module, it get the following error: failed: \[localhost\] =\> {"failed": true, "parsed": false} invalid output was: Traceback (most recent call last): …

---

## [ansible.cc site outage](https://forum.ansible.com/t/ansible-cc-site-outage/12159)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [December 23, 2012, 5:28pm UTC](https://forum.ansible.com/t/ansible-cc-site-outage/12159 "2012-12-23T17:28:31Z")

</div>

I have a ticket in to get this machine restarted, apparently we don't have a web-interface button for that. In the meantime, http://github.com/ansible is still operational. --Michael

---

## [Ansible is now available to install via pip](https://forum.ansible.com/t/ansible-is-now-available-to-install-via-pip/12158)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [December 23, 2012, 2:23pm UTC](https://forum.ansible.com/t/ansible-is-now-available-to-install-via-pip/12158 "2012-12-23T14:23:30Z")

</div>

I had received enough requests for ansible to be installable via pip that it is now uploaded to PyPi. A cursory test of installing it in virtualenv seems to imply it looks ok. Note that the pip binary tries to instal…

---

## [ansible\_facts and with\_items don't play nicely](https://forum.ansible.com/t/ansible-facts-and-with-items-dont-play-nicely/12147)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 15\
**Last updated:** [December 23, 2012, 1:54pm UTC](https://forum.ansible.com/t/ansible-facts-and-with-items-dont-play-nicely/12147 "2012-12-23T13:54:54Z")

</div>

Hi, I'm writing a module which sets facts via the ansible\_facts. (Actually, it's an action plugin, but that makes no difference, I see the same thing either way.) When used in a task, it works fine: - name: my modul…

---

## [Difference between apt and pip output when using with\_items](https://forum.ansible.com/t/difference-between-apt-and-pip-output-when-using-with-items/12155)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 0\
**Last updated:** [December 21, 2012, 3:40pm UTC](https://forum.ansible.com/t/difference-between-apt-and-pip-output-when-using-with-items/12155 "2012-12-21T15:40:31Z")

</div>

I think most of this is b/c all of the pkgs are being handed through to the apt and yum modules as one big line. This is to help speed up multiple package calls - which is extremely common. If you'd like to return a lis…

---

## [host as variable in a playbook ?](https://forum.ansible.com/t/host-as-variable-in-a-playbook/12149)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 1\
**Last updated:** [December 21, 2012, 3:28pm UTC](https://forum.ansible.com/t/host-as-variable-in-a-playbook/12149 "2012-12-21T15:28:49Z")

</div>

You might have an easier way by using delegat\_to Brian Coca

---

## [Difference between apt and pip output when using with\_items](https://forum.ansible.com/t/difference-between-apt-and-pip-output-when-using-with-items/12154)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [December 21, 2012, 12:57pm UTC](https://forum.ansible.com/t/difference-between-apt-and-pip-output-when-using-with-items/12154 "2012-12-21T12:57:53Z")

</div>

IIRC, it does not have a way to return whether or not something has actually changed right now but patches would be accepted.

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

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