# Latest

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

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

**Page:** 1062

---

## [Documentation updates: with\_\* and filter plugins](https://forum.ansible.com/t/documentation-updates-with-and-filter-plugins/12282)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [February 2, 2013, 6:38pm UTC](https://forum.ansible.com/t/documentation-updates-with-and-filter-plugins/12282 "2013-02-02T18:38:19Z")

</div>

A quick update -- I've updated what I believe to be the remainder of things we need to cover for 1.0 documentation. Much of the changes were in the module documentation, and thanks to JPMens's fantastic automatic-do…

---

## [Question regarding host group variables for intersections of groups](https://forum.ansible.com/t/question-regarding-host-group-variables-for-intersections-of-groups/12280)

<div class="topic-metadata">

**Author:** [@Arne\_Jacobs](https://forum.ansible.com/u/Arne_Jacobs)\
**Replies:** 3\
**Last updated:** [February 2, 2013, 4:20am UTC](https://forum.ansible.com/t/question-regarding-host-group-variables-for-intersections-of-groups/12280 "2013-02-02T04:20:13Z")

</div>

If a host is in multiple groups, which have different values for the same variable key, what value takes precedence for that host? Is it based on the order in the inventory? I couldn’t find anything in the documentation. …

---

## [documentation error](https://forum.ansible.com/t/documentation-error/12276)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 4\
**Last updated:** [February 1, 2013, 4:19pm UTC](https://forum.ansible.com/t/documentation-error/12276 "2013-02-01T16:19:18Z")

</div>

On the web, in the current doc, in modules ( http://ansible.cc/docs/modules.html), for the "apt" module, it says that "state" can the values of "latest", "present" or "absent". But then the examples show state as "insta…

---

## [Immediate notifies?](https://forum.ansible.com/t/immediate-notifies/12254)

<div class="topic-metadata">

**Author:** [@Blair\_Zajac](https://forum.ansible.com/u/Blair_Zajac)\
**Replies:** 12\
**Last updated:** [February 1, 2013, 1:35pm UTC](https://forum.ansible.com/t/immediate-notifies/12254 "2013-02-01T13:35:32Z")

</div>

I'm writing a bunch of tasks and playbooks to bring up new VM nodes: 1) installing postfix 2) modifying /etc/postfix/main.cf to configuring it as a satellite a) register a handler to restart postfix 3) install ap…

---

## [shortcut to group dns hostname](https://forum.ansible.com/t/shortcut-to-group-dns-hostname/12279)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [February 1, 2013, 1:30pm UTC](https://forum.ansible.com/t/shortcut-to-group-dns-hostname/12279 "2013-02-01T13:30:17Z")

</div>

A couple of possible suggestions. (A) one, you could write an inventory script, which serves up this information from another data file. (B) two, you could code-generate the inventory file from another script.

---

## [Multi OS playbook](https://forum.ansible.com/t/multi-os-playbook/12277)

<div class="topic-metadata">

**Author:** [@Kavin](https://forum.ansible.com/u/Kavin)\
**Replies:** 2\
**Last updated:** [February 1, 2013, 7:10am UTC](https://forum.ansible.com/t/multi-os-playbook/12277 "2013-02-01T07:10:49Z")

</div>

Hi, Is it possible to have multi os , playbook without having factor or ohai on remote nodes ? I have used $ansible\_distribution successfully to detect OS in my playbook , when i try only\_if … But i am not able to use …

---

## [lineinfile module: replace multiple matching lines?](https://forum.ansible.com/t/lineinfile-module-replace-multiple-matching-lines/12271)

<div class="topic-metadata">

**Author:** [@Arne\_Jacobs](https://forum.ansible.com/u/Arne_Jacobs)\
**Replies:** 3\
**Last updated:** [February 1, 2013, 6:06am UTC](https://forum.ansible.com/t/lineinfile-module-replace-multiple-matching-lines/12271 "2013-02-01T06:06:37Z")

</div>

As it is implemented now, the lineinfile module replaces only the last matching line in the given file. I guess the requirement for the line argument (“Must match the value given to regexp”) is there to guarantee idempot…

---

## [Error when using vars\_files and vars\_prompt in same playbook](https://forum.ansible.com/t/error-when-using-vars-files-and-vars-prompt-in-same-playbook/12275)

<div class="topic-metadata">

**Author:** [@Daniel\_Hokka\_Zakriss](https://forum.ansible.com/u/Daniel_Hokka_Zakriss)\
**Replies:** 3\
**Last updated:** [January 31, 2013, 8:03pm UTC](https://forum.ansible.com/t/error-when-using-vars-files-and-vars-prompt-in-same-playbook/12275 "2013-01-31T20:03:42Z")

</div>

Andrew Berman wrote: Hello, I'm new to Ansible and I'm not sure if this is a bug or if I'm doing something wrong. I currently have a playbook which has vars\_prompt and vars\_files in it and no matter what I do, I ge…

---

## [Error when using vars\_files and vars\_prompt in same playbook](https://forum.ansible.com/t/error-when-using-vars-files-and-vars-prompt-in-same-playbook/12274)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 31, 2013, 7:22pm UTC](https://forum.ansible.com/t/error-when-using-vars-files-and-vars-prompt-in-same-playbook/12274 "2013-01-31T19:22:45Z")

</div>

Hello, I'm new to Ansible and I'm not sure if this is a bug or if I'm doing something wrong. I currently have a playbook which has vars\_prompt and vars\_files in it and no matter what I do, I get a Python error. He…

---

## [where are host keys saved in paramiko? changing a host key in .ssh/known\_hosts does not make connection to that host fail](https://forum.ansible.com/t/where-are-host-keys-saved-in-paramiko-changing-a-host-key-in-ssh-known-hosts-does-not-make-connection-to-that-host-fail/12273)

<div class="topic-metadata">

**Author:** [@Arne\_Jacobs](https://forum.ansible.com/u/Arne_Jacobs)\
**Replies:** 1\
**Last updated:** [January 31, 2013, 4:28pm UTC](https://forum.ansible.com/t/where-are-host-keys-saved-in-paramiko-changing-a-host-key-in-ssh-known-hosts-does-not-make-connection-to-that-host-fail/12273 "2013-01-31T16:28:01Z")

</div>

I saw that Ansible uses the “AutoAddPolicy” for missing host keys, which is nice if you have a lot of new hosts, but I’m a bit worried about what exactly paramiko does in this mode and the implications thereof. It sounds…

---

## [Global arguments support (or command aliasing?)](https://forum.ansible.com/t/global-arguments-support-or-command-aliasing/12264)

<div class="topic-metadata">

**Author:** [@Oren\_Shomron](https://forum.ansible.com/u/Oren_Shomron)\
**Replies:** 3\
**Last updated:** [January 31, 2013, 3:43pm UTC](https://forum.ansible.com/t/global-arguments-support-or-command-aliasing/12264 "2013-01-31T15:43:37Z")

</div>

Hi everyone, I am trying to find the best way of supporting HTTP proxies with the pip command. pip accepts the proxy as a --proxy argument, which can be supplied with the new “extra\_args” parameter on the dev branch. B…

---

## [\[OT\] CommunitySysadmins.org](https://forum.ansible.com/t/ot-communitysysadmins-org/12269)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 31, 2013, 2:15am UTC](https://forum.ansible.com/t/ot-communitysysadmins-org/12269 "2013-01-31T02:15:51Z")

</div>

While I don't know how it will play out in practice, this looks like a great project to use Ansible for some greater good: http://signup.communitysysadmins.org/?lrRef=uHS8SP --Michael

---

## [Playbook to set Hostname for servers](https://forum.ansible.com/t/playbook-to-set-hostname-for-servers/12263)

<div class="topic-metadata">

**Author:** [@Kavin](https://forum.ansible.com/u/Kavin)\
**Replies:** 6\
**Last updated:** [January 30, 2013, 7:50pm UTC](https://forum.ansible.com/t/playbook-to-set-hostname-for-servers/12263 "2013-01-30T19:50:00Z")

</div>

Hi, I am thinking on what would be the best way to set hostname on servers (trying to provision test machines) and if there are already a sample playbook or what would be the best approach, Write playbook, to use seque…

---

## [Parsing Error](https://forum.ansible.com/t/parsing-error/12266)

<div class="topic-metadata">

**Author:** [@Steve1](https://forum.ansible.com/u/Steve1)\
**Replies:** 3\
**Last updated:** [January 30, 2013, 7:36pm UTC](https://forum.ansible.com/t/parsing-error/12266 "2013-01-30T19:36:31Z")

</div>

I’ve been using the below task successfully for a while, and then I just updated ansible (it was probably 3 weeks stale) and now the user\_data line below gets a parsing error. name: Launch New Server Instances local\_a…

---

## [Black Duck Software "Rookies of the Year" announcement](https://forum.ansible.com/t/black-duck-software-rookies-of-the-year-announcement/12268)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [January 30, 2013, 7:22pm UTC](https://forum.ansible.com/t/black-duck-software-rookies-of-the-year-announcement/12268 "2013-01-30T19:22:16Z")

</div>

Thanks to EVERYONE here for their part in this. http://news.yahoo.com/black-duck-announces-2012-open-140500196.html Party at ... your current location :slight\_smile: --Michael

---

## [repo question](https://forum.ansible.com/t/repo-question/12267)

<div class="topic-metadata">

**Author:** [@Luke\_Tislow](https://forum.ansible.com/u/Luke_Tislow)\
**Replies:** 3\
**Last updated:** [January 30, 2013, 7:01pm UTC](https://forum.ansible.com/t/repo-question/12267 "2013-01-30T19:01:46Z")

</div>

Does enablerepo= enable that specific repo only, meaning that I would not need to have a disablerepo action before the enable? -luke

---

## [re-gathering facts](https://forum.ansible.com/t/re-gathering-facts/12265)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 6:04pm UTC](https://forum.ansible.com/t/re-gathering-facts/12265 "2013-01-30T18:04:00Z")

</div>

Sure, no problem! You can just do a task like so: - action: setup any time you want and even can switch off fact gathering at the play level to save the duplicate first call (gather\_facts: False on the play)

---

## [Is it possible to increase the timeout for urllib2.urlopen()? (or whatever raises "\[Errno 110\] Connection timed out")](https://forum.ansible.com/t/is-it-possible-to-increase-the-timeout-for-urllib2-urlopen-or-whatever-raises-errno-110-connection-timed-out/12261)

<div class="topic-metadata">

**Author:** [@Arne\_Jacobs](https://forum.ansible.com/u/Arne_Jacobs)\
**Replies:** 4\
**Last updated:** [January 29, 2013, 4:46pm UTC](https://forum.ansible.com/t/is-it-possible-to-increase-the-timeout-for-urllib2-urlopen-or-whatever-raises-errno-110-connection-timed-out/12261 "2013-01-29T16:46:19Z")

</div>

When increasing the connection timeout with Ansible’s --timeout parameter and try to reach an offline host, at some timeout value I get a “\[Errno 110\] Connection timed out” message instead of the usual “timed out” messag…

---

## [Checking if something is both set and unsett (or, is there a better way to do this?)](https://forum.ansible.com/t/checking-if-something-is-both-set-and-unsett-or-is-there-a-better-way-to-do-this/12262)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 0\
**Last updated:** [January 29, 2013, 4:44pm UTC](https://forum.ansible.com/t/checking-if-something-is-both-set-and-unsett-or-is-there-a-better-way-to-do-this/12262 "2013-01-29T16:44:55Z")

</div>

I have a setup task that runs when I first create a server, and also at various points in larger playbooks so I can ensure that the baseline state is still maintained. On initial run, ansible\_fqdn isn't necessarily corre…

---

## [magic variables](https://forum.ansible.com/t/magic-variables/12260)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [January 29, 2013, 2:24am UTC](https://forum.ansible.com/t/magic-variables/12260 "2013-01-29T02:24:06Z")

</div>

Is there a comprehensive list of all the magic varialbes? I've been using $inventory\_hostname a lot. Right I'm looking for the user name of the user running the playbook, etc... Every time I am about to register a varia…

---

## [Multiple levels of handlers, virtual notifications or...](https://forum.ansible.com/t/multiple-levels-of-handlers-virtual-notifications-or/12240)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 3\
**Last updated:** [January 28, 2013, 11:34pm UTC](https://forum.ansible.com/t/multiple-levels-of-handlers-virtual-notifications-or/12240 "2013-01-28T23:34:41Z")

</div>

Here's something else I'd like to model. I was thinking of using Ansible to provision SSL certificates. I can start a host out on a self-signed cert, then just push out a real one once I buy it. The problem I'm anticip…

---

## [Alternate key/value inputs discussion (for 1.1)](https://forum.ansible.com/t/alternate-key-value-inputs-discussion-for-1-1/12256)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [January 28, 2013, 11:31pm UTC](https://forum.ansible.com/t/alternate-key-value-inputs-discussion-for-1-1/12256 "2013-01-28T23:31:41Z")

</div>

We talked a bit earlier about the need to pass complex variables (nested, etc) to some modules and making things so that some modules could accept JSON. Given this, I'm pondering also allowing this syntax, in addition…

---

## [apt\_key module could use some retesting](https://forum.ansible.com/t/apt-key-module-could-use-some-retesting/12258)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 8:57pm UTC](https://forum.ansible.com/t/apt-key-module-could-use-some-retesting/12258 "2013-01-28T20:57:56Z")

</div>

I pushed some fixes to it today so it would use the standard module.run\_command stuff, which also required updating module.run\_command a little. Basic problem was it was swallowing errors and I needed to know what w…

---

## [cron module idempotence when starting to use Ansible with an existing non-empty crontab](https://forum.ansible.com/t/cron-module-idempotence-when-starting-to-use-ansible-with-an-existing-non-empty-crontab/12257)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 3:51pm UTC](https://forum.ansible.com/t/cron-module-idempotence-when-starting-to-use-ansible-with-an-existing-non-empty-crontab/12257 "2013-01-28T15:51:58Z")

</div>

If you can template the crontab from a file, I would almost always do it that way. If you can use cron.daily or cron.weekly, I would almost always do it that way too Crontab module is for when you need to add very sp…

---

## [mako](https://forum.ansible.com/t/mako/12255)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [January 28, 2013, 1:37am UTC](https://forum.ansible.com/t/mako/12255 "2013-01-28T01:37:29Z")

</div>

Would there be any interest in a mako module, as an alternative to the template module?

---

## [Other host's host variables not available (for Zookeeper)](https://forum.ansible.com/t/other-hosts-host-variables-not-available-for-zookeeper/12253)

<div class="topic-metadata">

**Author:** [@Blair\_Zajac](https://forum.ansible.com/u/Blair_Zajac)\
**Replies:** 7\
**Last updated:** [January 27, 2013, 2:13am UTC](https://forum.ansible.com/t/other-hosts-host-variables-not-available-for-zookeeper/12253 "2013-01-27T02:13:26Z")

</div>

I’m trying to build a playbook that will deploy and configure a Zookeeper cluster. For a cluster, Zookeeper requires that “You attribute the server id to each machine by creating a file named myid” \[1\]. The zoo.cfg needs…

---

## [Oracle Java module](https://forum.ansible.com/t/oracle-java-module/12250)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 25, 2013, 9:08pm UTC](https://forum.ansible.com/t/oracle-java-module/12250 "2013-01-25T21:08:56Z")

</div>

Parts of this are duplicating a lot of modules we already have in many ways (apt, yum, apt key, apt add repository, etc) so I would be very tempted to see if this could just be a playbook or a task include file for th…

---

## [Unable to start fireball transport](https://forum.ansible.com/t/unable-to-start-fireball-transport/12248)

<div class="topic-metadata">

**Author:** [@Meng\_Kuan](https://forum.ansible.com/u/Meng_Kuan)\
**Replies:** 2\
**Last updated:** [January 25, 2013, 1:42pm UTC](https://forum.ansible.com/t/unable-to-start-fireball-transport/12248 "2013-01-25T13:42:45Z")

</div>

I wanted to give fireball mode a spin on my test machine. However, fireball action complains that python-keyczar is not installed even though it is. ansible-playbook -v playbooks/fireball.yml PLAY \[all\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [\[Developers\] Code freeze today (effective midnight EST)](https://forum.ansible.com/t/developers-code-freeze-today-effective-midnight-est/12249)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 25, 2013, 12:53pm UTC](https://forum.ansible.com/t/developers-code-freeze-today-effective-midnight-est/12249 "2013-01-25T12:53:12Z")

</div>

I'll be merging all outstanding pull requests that are ready this weekend. In the meantime, if you have other features, you can submit them, but they'll likely be merged in a week as I want to reserve this next week f…

---

## [ansible-pull](https://forum.ansible.com/t/ansible-pull/12243)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 4\
**Last updated:** [January 25, 2013, 8:47am UTC](https://forum.ansible.com/t/ansible-pull/12243 "2013-01-25T08:47:07Z")

</div>

I am confused by ansible pull: The example seems indicate that we need to create "workdir" and a "repo\_url" variable. Is this correct, or I mis-read that? When running ansible-pull, I always have to specify both -U and…

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

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