# Latest

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

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

**Page:** 1056

---

## [First command (ping) failure](https://forum.ansible.com/t/first-command-ping-failure/12484)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 12, 2013, 1:50pm UTC](https://forum.ansible.com/t/first-command-ping-failure/12484 "2013-03-12T13:50:39Z")

</div>

import paramiko exit() up-tools-vm1:145\> No errors to speak of... This is why the RPM and the pip package have dependencies :slight\_smile: Second try: up-tools-vm0:202\> /usr/local/bin/ansible -m ping all -…

---

## [ok\_on\_rc / failed\_on\_rc](https://forum.ansible.com/t/ok-on-rc-failed-on-rc/12453)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 2\
**Last updated:** [March 11, 2013, 10:15pm UTC](https://forum.ansible.com/t/ok-on-rc-failed-on-rc/12453 "2013-03-11T22:15:10Z")

</div>

I know we talked about this, but I don't think we ever reached a conclusion. I often run the command or shell module to be able to register values, and when successful, it shows as changed, even though nothing has chang…

---

## [Using $PIPE to sanitize a variable value; am I smoking it?](https://forum.ansible.com/t/using-pipe-to-sanitize-a-variable-value-am-i-smoking-it/12482)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 4\
**Last updated:** [March 11, 2013, 7:03pm UTC](https://forum.ansible.com/t/using-pipe-to-sanitize-a-variable-value-am-i-smoking-it/12482 "2013-03-11T19:03:18Z")

</div>

We use anisble for provisioning and deploying our application’s “feature branches” \[git branch\] to an accessible environment. Under our current approach we deploy the application code to; /apps/\[application\]-\[branch\] u…

---

## [sysctl module usage in playbooks](https://forum.ansible.com/t/sysctl-module-usage-in-playbooks/12481)

<div class="topic-metadata">

**Author:** [@PhilEv](https://forum.ansible.com/u/PhilEv)\
**Replies:** 0\
**Last updated:** [March 11, 2013, 4:46pm UTC](https://forum.ansible.com/t/sysctl-module-usage-in-playbooks/12481 "2013-03-11T16:46:03Z")

</div>

Hi, testing ansible (thanks for this amazing SW!) I would like to be able to switch ON or OFF a kernel parameter via some code similar to: name: Make sure the following item is turned ON action: sysctl value=1 name=…

---

## [Community review of pull requests: idea about +1 voting](https://forum.ansible.com/t/community-review-of-pull-requests-idea-about-1-voting/12477)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [March 11, 2013, 4:06pm UTC](https://forum.ansible.com/t/community-review-of-pull-requests-idea-about-1-voting/12477 "2013-03-11T16:06:59Z")

</div>

As we are getting larger there are getting to be a lot of pull requests. Rather than it just being me who does most of the reviews, I'd like to get people involved that have experience with the various other modules. …

---

## [Getting vagrant provisioner included in vagrant?](https://forum.ansible.com/t/getting-vagrant-provisioner-included-in-vagrant/12480)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [March 11, 2013, 1:53pm UTC](https://forum.ansible.com/t/getting-vagrant-provisioner-included-in-vagrant/12480 "2013-03-11T13:53:22Z")

</div>

Hi everyone, I don't actually use Vagrant myself because I've been using VMware fusion most of the time (I hear that's coming). Has anyone tried submitting a pull request to include ansible in the embedded provisione…

---

## [Authentication failure in fireball](https://forum.ansible.com/t/authentication-failure-in-fireball/12469)

<div class="topic-metadata">

**Author:** [@kavitha.c.k2006](https://forum.ansible.com/u/kavitha.c.k2006)\
**Replies:** 3\
**Last updated:** [March 11, 2013, 5:57am UTC](https://forum.ansible.com/t/authentication-failure-in-fireball/12469 "2013-03-11T05:57:45Z")

</div>

Hi I am getting following error when I try to query repo for installing the dependencies for fireball mode. PLAY \[all:!localhost\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[A.B.C.D\] =\> {‘msg’…

---

## [Summary of recent additions/tweaks on the development (1.1) branch](https://forum.ansible.com/t/summary-of-recent-additions-tweaks-on-the-development-1-1-branch/12476)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 1\
**Last updated:** [March 11, 2013, 2:18am UTC](https://forum.ansible.com/t/summary-of-recent-additions-tweaks-on-the-development-1-1-branch/12476 "2013-03-11T02:18:36Z")

</div>

Many things recently! Here are some developments over the last week on the 1.1 development branch. Most of these are module related. This email includes things that have changed since the last changelog update I …

---

## [new password generating lookup plugin -- neat!](https://forum.ansible.com/t/new-password-generating-lookup-plugin-neat/12478)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 11, 2013, 2:06am UTC](https://forum.ansible.com/t/new-password-generating-lookup-plugin-neat/12478 "2013-03-11T02:06:03Z")

</div>

Forgot to mention this cool trick recently added by Javie Candeira: https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/lookup\_plugins/password.py This is a lookup plugin that you can use inside variables …

---

## [Yet another ansible tutorial](https://forum.ansible.com/t/yet-another-ansible-tutorial/12474)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 0\
**Last updated:** [March 10, 2013, 7:33pm UTC](https://forum.ansible.com/t/yet-another-ansible-tutorial/12474 "2013-03-10T19:33:27Z")

</div>

Ansiblers, I've almost completed a tutorial aimed at introducing and advocating Ansible in-house. It lacks few chapters (introducing group/host variables, few other conditionals may be, but I don't want to get too mu…

---

## [Introducing AnsibleWorks](https://forum.ansible.com/t/introducing-ansibleworks/12455)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 16\
**Last updated:** [March 9, 2013, 8:02pm UTC](https://forum.ansible.com/t/introducing-ansibleworks/12455 "2013-03-09T20:02:56Z")

</div>

Hi everyone, By now you may have seen this post on GigaOM: http://gigaom.com/2013/03/05/ansibleworks-pitches-new-open-source-it-configuration-management/ So yes, we've started a company around Ansible! (I'll be CTO, …

---

## [Apply playbooks based on system facts](https://forum.ansible.com/t/apply-playbooks-based-on-system-facts/12470)

<div class="topic-metadata">

**Author:** [@kevin\_fernandes](https://forum.ansible.com/u/kevin_fernandes)\
**Replies:** 3\
**Last updated:** [March 9, 2013, 3:16pm UTC](https://forum.ansible.com/t/apply-playbooks-based-on-system-facts/12470 "2013-03-09T15:16:19Z")

</div>

Hi All, I have a current setup in puppet which applies the classes based on facter values on nodes. During provisioning phase i have a file called /etc/company\_facts.txt and has values like role = dev\_tst platform = p…

---

## [extending authorized\_key module](https://forum.ansible.com/t/extending-authorized-key-module/12471)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 5\
**Last updated:** [March 9, 2013, 4:51am UTC](https://forum.ansible.com/t/extending-authorized-key-module/12471 "2013-03-09T04:51:38Z")

</div>

Ok, so I'm a bit confused here as to what you're trying to achieve exactly. If you want to set the ownership of the file (like you can do from copy/template), we've got some common code we can add -- see what's done …

---

## [Problems running ansible w/o root access](https://forum.ansible.com/t/problems-running-ansible-w-o-root-access/12468)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [March 8, 2013, 10:53pm UTC](https://forum.ansible.com/t/problems-running-ansible-w-o-root-access/12468 "2013-03-08T22:53:45Z")

</div>

Running into some problems using Ansible on RHEL 5, installed/running as regular user (no root access). Note - we use host based ssh authentication on default port. Ok, that's totally fine so far... Added the hack…

---

## [multiple when\_ conditionals](https://forum.ansible.com/t/multiple-when-conditionals/12466)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 5\
**Last updated:** [March 8, 2013, 4:39am UTC](https://forum.ansible.com/t/multiple-when-conditionals/12466 "2013-03-08T04:39:20Z")

</div>

I was trying out using multiple when\_conditionals for example: when\_integer: $register.rc == 1 when\_set: $myvalues Should these work as an AND to determine if the action should run? I was trying them out on 1.0 and …

---

## [Vars question, bug or by design?](https://forum.ansible.com/t/vars-question-bug-or-by-design/12465)

<div class="topic-metadata">

**Author:** [@Chris\_Hoffman](https://forum.ansible.com/u/Chris_Hoffman)\
**Replies:** 4\
**Last updated:** [March 7, 2013, 2:11pm UTC](https://forum.ansible.com/t/vars-question-bug-or-by-design/12465 "2013-03-07T14:11:36Z")

</div>

I have been using nested vars in my group variables and ran into an issue when trying to nest variables in my playbooks. I have my ansible.cfg set to merge hashes (hash\_behavior=merge). This works great for group and hos…

---

## [module lineinfile](https://forum.ansible.com/t/module-lineinfile/12463)

<div class="topic-metadata">

**Author:** [@Andreas\_Piesk](https://forum.ansible.com/u/Andreas_Piesk)\
**Replies:** 1\
**Last updated:** [March 7, 2013, 5:09am UTC](https://forum.ansible.com/t/module-lineinfile/12463 "2013-03-07T05:09:55Z")

</div>

Hello list, while playing around with Ansible and looking at the code i noticed, that the module lineinfile cannot replace a line found by regexp with an arbitrary line, there's an explicit check in it. another thing:…

---

## [get\_url module documentation is incorrect: 'force' does not exist. 'thirsty' works.](https://forum.ansible.com/t/get-url-module-documentation-is-incorrect-force-does-not-exist-thirsty-works/12462)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [March 6, 2013, 5:10pm UTC](https://forum.ansible.com/t/get-url-module-documentation-is-incorrect-force-does-not-exist-thirsty-works/12462 "2013-03-06T17:10:41Z")

</div>

Hi Marcus, We should fix up the documentation, we renamed 'thirsty' to 'force' and added thirsty as an alias for backwards compatibility in 1.1. It seems like your checkout of 1.1 might need a "git pull --rebase" to …

---

## [Can't find yum package even though it is available](https://forum.ansible.com/t/cant-find-yum-package-even-though-it-is-available/12460)

<div class="topic-metadata">

**Author:** [@Curtis](https://forum.ansible.com/u/Curtis)\
**Replies:** 5\
**Last updated:** [March 6, 2013, 4:59pm UTC](https://forum.ansible.com/t/cant-find-yum-package-even-though-it-is-available/12460 "2013-03-06T16:59:15Z")

</div>

So the package libvirt-devel is available on the server that I am running ansible against (Redhat 6.4). \[root@VIRT-V2V:~\] $ yum search libvirt-devel Loaded plugins: product-id, rhnplugin, subscription-manager This sys…

---

## [ansible-pull: error: no such option: -v](https://forum.ansible.com/t/ansible-pull-error-no-such-option-v/12461)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 2\
**Last updated:** [March 6, 2013, 3:52pm UTC](https://forum.ansible.com/t/ansible-pull-error-no-such-option-v/12461 "2013-03-06T15:52:27Z")

</div>

Any reason why ansible-pull shouldn't have a -v option? I don't want to an ssh key, so running ansible-playbook locally doesn't work here. Thanks.

---

## [Creating a password crypt for use in user module.](https://forum.ansible.com/t/creating-a-password-crypt-for-use-in-user-module/12060)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 2\
**Last updated:** [March 6, 2013, 9:27am UTC](https://forum.ansible.com/t/creating-a-password-crypt-for-use-in-user-module/12060 "2013-03-06T09:27:42Z")

</div>

At the risk of becoming a spammer… I’m looking at the github example and it mentions: crypt.crypt(‘This is my Password’, ‘$1$SomeSalt’) password: $1$SomeSalt$UqddPX3r4kH3UL5jq5/ZI. Could this example be explained a li…

---

## [trying to build ansible documentation locally from rst source.](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12458)

<div class="topic-metadata">

**Author:** [@erodri07](https://forum.ansible.com/u/erodri07)\
**Replies:** 0\
**Last updated:** [March 5, 2013, 8:18pm UTC](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12458 "2013-03-05T20:18:12Z")

</div>

Done. Thank you very much, Michael.

---

## [trying to build ansible documentation locally from rst source.](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12457)

<div class="topic-metadata">

**Author:** [@erodri07](https://forum.ansible.com/u/erodri07)\
**Replies:** 1\
**Last updated:** [March 5, 2013, 6:41pm UTC](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12457 "2013-03-05T18:41:35Z")

</div>

Thanks michael. I’m pretty new on python environment. When i tried it , there is missing ansible.utils module. Could you please help me to go on ?. I’d got : era@home:~/ansible\_src$ make webdocs (cd docsite; make do…

---

## [trying to build ansible documentation locally from rst source.](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12456)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 5, 2013, 3:26pm UTC](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12456 "2013-03-05T15:26:19Z")

</div>

Documentation is meant for Sphinx, not Jekyll. "make webdocs" will run the doc build.

---

## [Referencing a fact from a variable (and resolve in template)](https://forum.ansible.com/t/referencing-a-fact-from-a-variable-and-resolve-in-template/12454)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 2\
**Last updated:** [March 5, 2013, 12:37pm UTC](https://forum.ansible.com/t/referencing-a-fact-from-a-variable-and-resolve-in-template/12454 "2013-03-05T12:37:35Z")

</div>

Fellow ansiblers, Is there a way to reference a gathered fact inside a variable ? Example use case is to get the ip address of a server (coolhost) and use it in another host var so it can issue http requests to it. F…

---

## [globally include handlers](https://forum.ansible.com/t/globally-include-handlers/12451)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [March 4, 2013, 8:31pm UTC](https://forum.ansible.com/t/globally-include-handlers/12451 "2013-03-04T20:31:53Z")

</div>

You can't, but this is a GREAT reasons to have less playbooks and just use task includes. Handlers are also super easy to just put all of them into one file.

---

## [new LVM module "lvol"](https://forum.ansible.com/t/new-lvm-module-lvol/12445)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 8\
**Last updated:** [March 4, 2013, 8:28pm UTC](https://forum.ansible.com/t/new-lvm-module-lvol/12445 "2013-03-04T20:28:01Z")

</div>

I forgot to mention this earlier, but Jeroen Hoekx's very nice "lvol" module is now part of core as well. (This means the 1.1 release has so far added \*13\* new modules) 1.1 is still due for release at the end of this …

---

## [Interface preference for adding text at start/end of a config-file line?](https://forum.ansible.com/t/interface-preference-for-adding-text-at-start-end-of-a-config-file-line/12452)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 0\
**Last updated:** [March 4, 2013, 6:42pm UTC](https://forum.ansible.com/t/interface-preference-for-adding-text-at-start-end-of-a-config-file-line/12452 "2013-03-04T18:42:42Z")

</div>

How many different processes will modify your file? Would templates work for you? What about this: - name: grab value of line DirctoryIndex shell: grep 'DirectoryIndex.\*index.php' /etc/httpd/httpd.conf re…

---

## [Ansible UI project starting tomorrow -- here's what you need to know](https://forum.ansible.com/t/ansible-ui-project-starting-tomorrow-heres-what-you-need-to-know/11897)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [March 4, 2013, 6:09pm UTC](https://forum.ansible.com/t/ansible-ui-project-starting-tomorrow-heres-what-you-need-to-know/11897 "2013-03-04T18:09:46Z")

</div>

So with the REST service basically operational, it's time to start the web interface. You should already make sure you can set up the REST interface if you want to help with the webapp, let me know if you have quest…

---

## [CFP: UCMS '13 (San Jose - June 24)](https://forum.ansible.com/t/cfp-ucms-13-san-jose-june-24/12450)

<div class="topic-metadata">

**Author:** [@Ashley\_Penney](https://forum.ansible.com/u/Ashley_Penney)\
**Replies:** 1\
**Last updated:** [March 4, 2013, 4:17pm UTC](https://forum.ansible.com/t/cfp-ucms-13-san-jose-june-24/12450 "2013-03-04T16:17:00Z")

</div>

Hello! I somehow made the mistake of agreeing to help our with UCMS13 and then discovered this means I have to actually do some work. I’m here to ask Ansible users to consider putting together a proposal for a talk on i…

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

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