# Latest

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

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

**Page:** 1058

---

## ["Getting Ansible" with Ansible](https://forum.ansible.com/t/getting-ansible-with-ansible/12395)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 6\
**Last updated:** [February 24, 2013, 7:09pm UTC](https://forum.ansible.com/t/getting-ansible-with-ansible/12395 "2013-02-24T19:09:58Z")

</div>

I’d love to hear how other people are pushing Ansible out to their servers using ansible. I think once there’s a solid method for this, it would be great to add to the documentation under; http://ansible.cc/docs/getting…

---

## [PyPI mirroring / caching](https://forum.ansible.com/t/pypi-mirroring-caching/12387)

<div class="topic-metadata">

**Author:** [@John\_Wong](https://forum.ansible.com/u/John_Wong)\
**Replies:** 1\
**Last updated:** [February 24, 2013, 6:06pm UTC](https://forum.ansible.com/t/pypi-mirroring-caching/12387 "2013-02-24T18:06:01Z")

</div>

Hi all, This is not really ansible question, but I figure most of us install Python packages … Has anyone ever tried to mirror/cache PyPI. There were a few outdated projects on the Internet. Basically, we want to be a…

---

## [Efficient deployment management of nearly identical servers](https://forum.ansible.com/t/efficient-deployment-management-of-nearly-identical-servers/12411)

<div class="topic-metadata">

**Author:** [@Asad\_Khan](https://forum.ansible.com/u/Asad_Khan)\
**Replies:** 13\
**Last updated:** [February 24, 2013, 5:14pm UTC](https://forum.ansible.com/t/efficient-deployment-management-of-nearly-identical-servers/12411 "2013-02-24T17:14:02Z")

</div>

I have an application that consists of several server types, most of which are nearly the same, differing only in one top-level application package. Usually it’s the application step that’s the most time-consuming, since…

---

## [Two queries regarding ansible](https://forum.ansible.com/t/two-queries-regarding-ansible/12416)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 24, 2013, 2:26pm UTC](https://forum.ansible.com/t/two-queries-regarding-ansible/12416 "2013-02-24T14:26:33Z")

</div>

I have just started using ansible so pardon me my n00b-ness :smiley: No problem! I have two questions 1) It is my understanding that when we use yum it downloads the packages from internet.How can we orchestrate t…

---

## [Lots of new documentation](https://forum.ansible.com/t/lots-of-new-documentation/12412)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 23, 2013, 8:49pm UTC](https://forum.ansible.com/t/lots-of-new-documentation/12412 "2013-02-23T20:49:30Z")

</div>

Just wrote and pushed a lot of documentation, mostly for features in 1.1 (and are Environment variables and proxies: http://ansible.cc/docs/playbooks2.html#setting-the-environment-and-working-with-proxies --check-mod…

---

## [request vars\_prompt feature?](https://forum.ansible.com/t/request-vars-prompt-feature/12410)

<div class="topic-metadata">

**Author:** [@lars\_svenson](https://forum.ansible.com/u/lars_svenson)\
**Replies:** 1\
**Last updated:** [February 23, 2013, 7:06pm UTC](https://forum.ansible.com/t/request-vars-prompt-feature/12410 "2013-02-23T19:06:32Z")

</div>

Hi, I would like to have a feature that you will only prompted by vars if you need them. For example when I create vhost on a webserver I sometimes need databases and sometimes not. So I have an ansible-playbook that …

---

## [Possibility of copying directorys](https://forum.ansible.com/t/possibility-of-copying-directorys/12408)

<div class="topic-metadata">

**Author:** [@lars\_svenson](https://forum.ansible.com/u/lars_svenson)\
**Replies:** 5\
**Last updated:** [February 23, 2013, 6:28pm UTC](https://forum.ansible.com/t/possibility-of-copying-directorys/12408 "2013-02-23T18:28:38Z")

</div>

Hi, I want to use the copy module to copy the whole content of a directory in a recursiv way to a path on a host. With copy I get all the time error messages, but then I realized copy is just for single files. Is there …

---

## [register variable in conjunction with when\_changed](https://forum.ansible.com/t/register-variable-in-conjunction-with-when-changed/12405)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 8\
**Last updated:** [February 23, 2013, 5:06pm UTC](https://forum.ansible.com/t/register-variable-in-conjunction-with-when-changed/12405 "2013-02-23T17:06:48Z")

</div>

Notify handler in each, should restart only once if either or both changed Brian Coca

---

## [Video](https://forum.ansible.com/t/video/12399)

<div class="topic-metadata">

**Author:** [@Keith\_Edmunds](https://forum.ansible.com/u/Keith_Edmunds)\
**Replies:** 2\
**Last updated:** [February 23, 2013, 8:36am UTC](https://forum.ansible.com/t/video/12399 "2013-02-23T08:36:12Z")

</div>

Hi, I'm just looking into Ansible, and I found the video at http://ansible.cc/resources.html. Problem is, I can't hear a word the presenter says because of the music. Is there a version of that video available without…

---

## [hostname has to be exactly the same as in the host file](https://forum.ansible.com/t/hostname-has-to-be-exactly-the-same-as-in-the-host-file/12407)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [February 22, 2013, 10:21pm UTC](https://forum.ansible.com/t/hostname-has-to-be-exactly-the-same-as-in-the-host-file/12407 "2013-02-22T22:21:59Z")

</div>

When you use ansible-playbook with the -l option, if the hostname is not exactly the same, it fails. Differences could be -upper/lower case -DNS aliasf -qdn vs. just hostname Would it make sense to change that so th…

---

## [Support for passing complex (nested dictionary) arguments to modules added](https://forum.ansible.com/t/support-for-passing-complex-nested-dictionary-arguments-to-modules-added/12376)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 7\
**Last updated:** [February 22, 2013, 9:53pm UTC](https://forum.ansible.com/t/support-for-passing-complex-nested-dictionary-arguments-to-modules-added/12376 "2013-02-22T21:53:36Z")

</div>

Warning -- this a complex topic I'm adding to enable James Martin's work on the Cloud Formations module. If the idea of this seems confusing, you don't have to use it. It will be best illustrated by live examples…

---

## [Can I use group name in /etc/ansible/hosts as a variable in templates or playbook script?](https://forum.ansible.com/t/can-i-use-group-name-in-etc-ansible-hosts-as-a-variable-in-templates-or-playbook-script/12402)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [February 22, 2013, 4:14pm UTC](https://forum.ansible.com/t/can-i-use-group-name-in-etc-ansible-hosts-as-a-variable-in-templates-or-playbook-script/12402 "2013-02-22T16:14:50Z")

</div>

{{ inventory\_hostname }}

---

## [Module for Linode - couple of questions](https://forum.ansible.com/t/module-for-linode-couple-of-questions/12406)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 22, 2013, 3:47pm UTC](https://forum.ansible.com/t/module-for-linode-couple-of-questions/12406 "2013-02-22T15:47:25Z")

</div>

Nice! BTW, first posts by everyone are initially moderated to prevent spam, so apologies on confusion! Please take a look at this thread which is a new feature on the development branch - https://groups.google.com/g…

---

## [hostvar from group and with\_items (without templating)](https://forum.ansible.com/t/hostvar-from-group-and-with-items-without-templating/12404)

<div class="topic-metadata">

**Author:** [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Replies:** 0\
**Last updated:** [February 22, 2013, 1:28pm UTC](https://forum.ansible.com/t/hostvar-from-group-and-with-items-without-templating/12404 "2013-02-22T13:28:18Z")

</div>

I couldn’t find a clear answer for this one in the docs and I figured I’d investigate before I revert to templating (which in this particular case is my least-preferred option). I’ve been quite lazy so far and not actual…

---

## [On best practices](https://forum.ansible.com/t/on-best-practices/12357)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 6\
**Last updated:** [February 22, 2013, 7:49am UTC](https://forum.ansible.com/t/on-best-practices/12357 "2013-02-22T07:49:09Z")

</div>

Hi, Since ansible best practices are being discussed these days, I would like to share how I use ansible, and receive your opinions. Wrong way ? Suboptimal ? Completely off-track ? Nice ? I'd like to hear what you th…

---

## [newbie question about conditionals/variables in j2](https://forum.ansible.com/t/newbie-question-about-conditionals-variables-in-j2/12401)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 22, 2013, 5:22am UTC](https://forum.ansible.com/t/newbie-question-about-conditionals-variables-in-j2/12401 "2013-02-22T05:22:25Z")

</div>

Desired result: Servers in \[someservers\] get a template that parses out to: foo=barn foo=house But I can't figure out the right syntax based on jinja or ansible docs/examples.... Can anyone help a newbie out? Yo…

---

## [conditional include](https://forum.ansible.com/t/conditional-include/12400)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [February 21, 2013, 4:39pm UTC](https://forum.ansible.com/t/conditional-include/12400 "2013-02-21T16:39:28Z")

</div>

Would it be possible to add conditional includes? I have playbooks to install an apps. I play those in different environments (acceptance, production, etc...), and some products included need to be installed only in som…

---

## [passing vars: to included tasks/files](https://forum.ansible.com/t/passing-vars-to-included-tasks-files/12396)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 3\
**Last updated:** [February 21, 2013, 2:46pm UTC](https://forum.ansible.com/t/passing-vars-to-included-tasks-files/12396 "2013-02-21T14:46:25Z")

</div>

Is there a way (or would a patch be welcomed??) to allow cleanly supplying variables to included tasks/playbooks/etc. similar to with\_items? E.g. tasks: include: $task\_dir/leiningen-install.yml include: $task\_dir/push…

---

## [module defaults](https://forum.ansible.com/t/module-defaults/12393)

<div class="topic-metadata">

**Author:** [@Devin\_Bayer](https://forum.ansible.com/u/Devin_Bayer)\
**Replies:** 2\
**Last updated:** [February 21, 2013, 8:32am UTC](https://forum.ansible.com/t/module-defaults/12393 "2013-02-21T08:32:07Z")

</div>

Hi. I plan to write a new easy\_install module and am thinking about how to handle arguments that should be set globally, for example the virtualenv dir and repo index. Currently I use a task to set the defaults, but that…

---

## [How to wait for certain stat](https://forum.ansible.com/t/how-to-wait-for-certain-stat/12397)

<div class="topic-metadata">

**Author:** [@Kavin](https://forum.ansible.com/u/Kavin)\
**Replies:** 2\
**Last updated:** [February 21, 2013, 6:40am UTC](https://forum.ansible.com/t/how-to-wait-for-certain-stat/12397 "2013-02-21T06:40:11Z")

</div>

Is there a way , i can wait for some stat to go to a particular value before going to the next step ? Sorry this might not be clear, but maybe call some module which will give value x and compare if the value matches if…

---

## [test cases for modules](https://forum.ansible.com/t/test-cases-for-modules/12394)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [February 21, 2013, 4:39am UTC](https://forum.ansible.com/t/test-cases-for-modules/12394 "2013-02-21T04:39:25Z")

</div>

Is there a way to split test cases for modules away from TestRunner.py? The file is already rather large, and I am adding cases for lineinfile. Each case adds a dozen of lines or so, and I already have 7 or 8 of them. A…

---

## [More informations logs](https://forum.ansible.com/t/more-informations-logs/12392)

<div class="topic-metadata">

**Author:** [@Acyl](https://forum.ansible.com/u/Acyl)\
**Replies:** 4\
**Last updated:** [February 20, 2013, 5:02pm UTC](https://forum.ansible.com/t/more-informations-logs/12392 "2013-02-20T17:02:50Z")

</div>

Hello, I have several servers need to be updated. I must have a maximum of informations on what ansible do on each server. For now I’m using logs produced by the callback “log\_play.py” but I want to know more informati…

---

## [Adding support for acting on a local chroot](https://forum.ansible.com/t/adding-support-for-acting-on-a-local-chroot/12349)

<div class="topic-metadata">

**Author:** [@Maykel\_Moya](https://forum.ansible.com/u/Maykel_Moya)\
**Replies:** 4\
**Last updated:** [February 20, 2013, 3:08pm UTC](https://forum.ansible.com/t/adding-support-for-acting-on-a-local-chroot/12349 "2013-02-20T15:08:03Z")

</div>

Hello I'd like to use Ansible to configure a local chroot (ex: a deboostrap) for easing management/generation of virtual OSes images. With respect to 'ansible chroot' all I got was issue 1097. Taking mpdehaan suggest…

---

## [while / until feature request](https://forum.ansible.com/t/while-until-feature-request/12389)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 1\
**Last updated:** [February 20, 2013, 12:59pm UTC](https://forum.ansible.com/t/while-until-feature-request/12389 "2013-02-20T12:59:55Z")

</div>

And if there's a better way around it other than a feature request, I'm very willing to do so: Having a while / until option for the command and shell tasks. Some times you want to keep running a command until it retu…

---

## [How to force task to replay](https://forum.ansible.com/t/how-to-force-task-to-replay/12295)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [February 20, 2013, 12:58pm UTC](https://forum.ansible.com/t/how-to-force-task-to-replay/12295 "2013-02-20T12:58:24Z")

</div>

All playbook actions are inteded to be idempotent and express desired state of a system, so each task is an expression of desired state. get\_url will only download a file by default if the destination is missing. If y…

---

## [Conditional doesn't work as expected](https://forum.ansible.com/t/conditional-doesnt-work-as-expected/12391)

<div class="topic-metadata">

**Author:** [@James\_Nguyen](https://forum.ansible.com/u/James_Nguyen)\
**Replies:** 0\
**Last updated:** [February 20, 2013, 9:38am UTC](https://forum.ansible.com/t/conditional-doesnt-work-as-expected/12391 "2013-02-20T09:38:57Z")

</div>

Here’s a snippet of a task I’m trying to run: TODO: ignore\_errors because we don’t know why this even executes when ${shell\_accounts} is not set authorized\_key: user=${item} key=‘$FILE(${playbook\_files\_private}/keys/${…

---

## [additional output in polling](https://forum.ansible.com/t/additional-output-in-polling/12390)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 0\
**Last updated:** [February 20, 2013, 6:20am UTC](https://forum.ansible.com/t/additional-output-in-polling/12390 "2013-02-20T06:20:47Z")

</div>

I have some very long run tasks -- these include kicking off benchmarks they may run for a couple of hours Generally I set these things with a 60s polling interval. I would be useful to have a timestamp in some of th…

---

## [Why is runner.\_remote\_md5 not implemented in Python?](https://forum.ansible.com/t/why-is-runner-remote-md5-not-implemented-in-python/12388)

<div class="topic-metadata">

**Author:** [@Maykel\_Moya](https://forum.ansible.com/u/Maykel_Moya)\
**Replies:** 1\
**Last updated:** [February 20, 2013, 4:25am UTC](https://forum.ansible.com/t/why-is-runner-remote-md5-not-implemented-in-python/12388 "2013-02-20T04:25:24Z")

</div>

Hello Just curious about the rationale behind this. Regards, maykel \[1\] https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/\_\_init\_\_.py#L539

---

## [Where can I find 3rd party modules?](https://forum.ansible.com/t/where-can-i-find-3rd-party-modules/12386)

<div class="topic-metadata">

**Author:** [@Devin\_Bayer](https://forum.ansible.com/u/Devin_Bayer)\
**Replies:** 1\
**Last updated:** [February 19, 2013, 8:14pm UTC](https://forum.ansible.com/t/where-can-i-find-3rd-party-modules/12386 "2013-02-19T20:14:33Z")

</div>

Hi. I have just started with Ansible and it looks pretty promising. I work at a CFEngine shop and wasn’t satisfied so I tried fabric for a while, but it’s disappointing in many ways, especially that the maintainer reject…

---

## [template/copy tasks questions](https://forum.ansible.com/t/template-copy-tasks-questions/12385)

<div class="topic-metadata">

**Author:** [@Scott\_Anderson](https://forum.ansible.com/u/Scott_Anderson)\
**Replies:** 4\
**Last updated:** [February 19, 2013, 8:09pm UTC](https://forum.ansible.com/t/template-copy-tasks-questions/12385 "2013-02-19T20:09:23Z")

</div>

I’m not sure if these can be done at the moment, and if not they’d be nice: globbing and directory recursion in the template and copy tasks to do more than one file at a time remote templating and copies: the use c…

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

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