# Latest

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

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

**Page:** 1067

---

## [subset/limit option in play definition (for applying a play to an intersection of host groups)](https://forum.ansible.com/t/subset-limit-option-in-play-definition-for-applying-a-play-to-an-intersection-of-host-groups/12126)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [December 7, 2012, 6:03pm UTC](https://forum.ansible.com/t/subset-limit-option-in-play-definition-for-applying-a-play-to-an-intersection-of-host-groups/12126 "2012-12-07T18:03:14Z")

</div>

Hi there, I'm wondering if it is planned (or already possible) to allow host limits/subsets to be specified in individual plays. E.g. if I have a webservers group, a debianservers group and a redhatservers group, it…

---

## [File generation and coupling between plays](https://forum.ansible.com/t/file-generation-and-coupling-between-plays/12123)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 1\
**Last updated:** [December 7, 2012, 4:17pm UTC](https://forum.ansible.com/t/file-generation-and-coupling-between-plays/12123 "2012-12-07T16:17:24Z")

</div>

Hi, Few months after dropping the idea, I finally come back to Ansible to solve my conf management needs. The '-l' switch probably brought me back. Ansible came a long way since then. Congrat guys. I'm facing a probl…

---

## [Trigger \`notify\` events at a given point.](https://forum.ansible.com/t/trigger-notify-events-at-a-given-point/12124)

<div class="topic-metadata">

**Author:** [@Alexandre\_Bourget1](https://forum.ansible.com/u/Alexandre_Bourget1)\
**Replies:** 2\
**Last updated:** [December 7, 2012, 4:16pm UTC](https://forum.ansible.com/t/trigger-notify-events-at-a-given-point/12124 "2012-12-07T16:16:03Z")

</div>

Hi community, thanks again for the great project :slight\_smile: I was thinking of my usage of notify and handlers. I don’t use them much and I find myself rewriting the pattern by inserting some “restart” actions in th…

---

## [wait\_for module questions](https://forum.ansible.com/t/wait-for-module-questions/12121)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 7\
**Last updated:** [December 6, 2012, 8:38pm UTC](https://forum.ansible.com/t/wait-for-module-questions/12121 "2012-12-06T20:38:11Z")

</div>

I looked at the code and it doesn’t look like this is currently supported but thought I’d throw the question out there to see if there is some way to deal with this I’m not thinking of: I’m trying to deploy some new ver…

---

## [publish-subscribe in ansible](https://forum.ansible.com/t/publish-subscribe-in-ansible/12112)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 6\
**Last updated:** [December 5, 2012, 11:02pm UTC](https://forum.ansible.com/t/publish-subscribe-in-ansible/12112 "2012-12-05T23:02:00Z")

</div>

Hello, I’m wondering what might be a good Ansible way to achieve the kind of publish-subscribe relationship Puppet is relatively good at (typically done either by using extconfigs, or as I was in a home-rolled pushing s…

---

## [Recursive copy of dir](https://forum.ansible.com/t/recursive-copy-of-dir/12120)

<div class="topic-metadata">

**Author:** [@kevin\_fernandes](https://forum.ansible.com/u/kevin_fernandes)\
**Replies:** 1\
**Last updated:** [December 5, 2012, 6:23pm UTC](https://forum.ansible.com/t/recursive-copy-of-dir/12120 "2012-12-05T18:23:43Z")

</div>

Hi All, As I see that the copy module does not do a recursive copy from the m/c where the playbook runs to the target host. How does one achive recursive transfer of files with ansible? Examples would be helpful. Regar…

---

## [Ansible logic misunderstanding ?](https://forum.ansible.com/t/ansible-logic-misunderstanding/12118)

<div class="topic-metadata">

**Author:** [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Replies:** 4\
**Last updated:** [December 4, 2012, 12:35am UTC](https://forum.ansible.com/t/ansible-logic-misunderstanding/12118 "2012-12-04T00:35:43Z")

</div>

Hi. I have this playbook :

---

## [FOSDEM CFP](https://forum.ansible.com/t/fosdem-cfp/12117)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [December 3, 2012, 10:16pm UTC](https://forum.ansible.com/t/fosdem-cfp/12117 "2012-12-03T22:16:50Z")

</div>

If anyone wants to represent Ansible at FOSDEM (February in Brussels) or present other related things, this may be interesting to you: https://lists.fosdem.org/pipermail/fosdem/2012-November/001661.html I am deferring…

---

## [Themes for 1.0, and future goals](https://forum.ansible.com/t/themes-for-1-0-and-future-goals/12116)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [December 3, 2012, 4:42pm UTC](https://forum.ansible.com/t/themes-for-1-0-and-future-goals/12116 "2012-12-03T16:42:25Z")

</div>

Earlier I had stated that a 1.0 release doesn't mean a lot to me as a milestone number. Though, given that Ansible has evolved to the point where I want it to be, I think it's a bit of a coincidence that 1.0 is that…

---

## [Template testing](https://forum.ansible.com/t/template-testing/12115)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 6\
**Last updated:** [December 3, 2012, 2:44pm UTC](https://forum.ansible.com/t/template-testing/12115 "2012-12-03T14:44:44Z")

</div>

Ok, so please explain what you are trying to achieve here, with an examples of how the user would go about using it? (Templating in /usr/bin/ansible (not playbook) is something we don't do anymore because it doesn't g…

---

## [Ansible 0.9 released!](https://forum.ansible.com/t/ansible-0-9-released/12114)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [December 3, 2012, 1:46pm UTC](https://forum.ansible.com/t/ansible-0-9-released/12114 "2012-12-03T13:46:05Z")

</div>

Ansible 0.9 is now available! This release features quite a lot of new things, and a lot of refinements. Compared with Ansible 0.8, you'll enjoy such new things as: \* an ansible-doc program for explaining how to use…

---

## [src search logic](https://forum.ansible.com/t/src-search-logic/12096)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 5\
**Last updated:** [December 2, 2012, 3:35am UTC](https://forum.ansible.com/t/src-search-logic/12096 "2012-12-02T03:35:31Z")

</div>

Seems like there should be a best practice for this, but I don't know it even after looking at the source. I'm trying to structure my playbooks, tasks and configurations in an infrastructure repository. A bunch of my ta…

---

## [pip module always indicates change pulling from git](https://forum.ansible.com/t/pip-module-always-indicates-change-pulling-from-git/12110)

<div class="topic-metadata">

**Author:** [@keith](https://forum.ansible.com/u/keith)\
**Replies:** 2\
**Last updated:** [November 30, 2012, 2:22am UTC](https://forum.ansible.com/t/pip-module-always-indicates-change-pulling-from-git/12110 "2012-11-30T02:22:40Z")

</div>

Hello, My pip module results always indicate “change.” It seems that pip likes to report “Successfully installed” for git packages, or at least commit identified packages, and this throws off the simple change test. Ba…

---

## [Changing ssh port with Ansible](https://forum.ansible.com/t/changing-ssh-port-with-ansible/12080)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 21\
**Last updated:** [November 29, 2012, 9:18pm UTC](https://forum.ansible.com/t/changing-ssh-port-with-ansible/12080 "2012-11-29T21:18:09Z")

</div>

Nope (and also, do not want this), you'll have to update your inventory file to reference the new ports.

---

## [Show all variables available in a template?](https://forum.ansible.com/t/show-all-variables-available-in-a-template/12111)

<div class="topic-metadata">

**Author:** [@Lee\_S](https://forum.ansible.com/u/Lee_S)\
**Replies:** 1\
**Last updated:** [November 29, 2012, 9:13pm UTC](https://forum.ansible.com/t/show-all-variables-available-in-a-template/12111 "2012-11-29T21:13:14Z")

</div>

Is there a way to see a dump of of every variable available to a template? This would help a lot with debugging.

---

## [Access variables for a host even if not executing a playbook against it](https://forum.ansible.com/t/access-variables-for-a-host-even-if-not-executing-a-playbook-against-it/12108)

<div class="topic-metadata">

**Author:** [@Lee\_S](https://forum.ansible.com/u/Lee_S)\
**Replies:** 5\
**Last updated:** [November 29, 2012, 9:12pm UTC](https://forum.ansible.com/t/access-variables-for-a-host-even-if-not-executing-a-playbook-against-it/12108 "2012-11-29T21:12:35Z")

</div>

I’ve set up Ansible to write out /etc/hosts files, so I want to know about all the hosts in my system. Here’s what’s in my template for /etc/hosts: {% for key, host in hostvars.iteritems() %} {% if hostvars\[key\]\[‘inter…

---

## [soliciting feedback on ideas about playbook error handling in regards to code deployment](https://forum.ansible.com/t/soliciting-feedback-on-ideas-about-playbook-error-handling-in-regards-to-code-deployment/12107)

<div class="topic-metadata">

**Author:** [@Jonathan1](https://forum.ansible.com/u/Jonathan1)\
**Replies:** 10\
**Last updated:** [November 28, 2012, 3:25pm UTC](https://forum.ansible.com/t/soliciting-feedback-on-ideas-about-playbook-error-handling-in-regards-to-code-deployment/12107 "2012-11-28T15:25:42Z")

</div>

Hi Super People, I wanted to ping the collective about two thoughts I’ve been having about error handling. Idea One: is an idea that was briefly discussed with Michael before, which is a “notify on failure” concept, i…

---

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

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [November 28, 2012, 3:15pm UTC](https://forum.ansible.com/t/parsing-ansible-results/12109 "2012-11-28T15:15:10Z")

</div>

Hi, I'm discovering Ansible for some weeks now and I still missunderstand something so, here I am :slight\_smile: Security team an I are administrating about 1500 servers running different OS (debian essentially, red…

---

## [RFC: rsync action plugin](https://forum.ansible.com/t/rfc-rsync-action-plugin/11882)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 15\
**Last updated:** [November 28, 2012, 1:53pm UTC](https://forum.ansible.com/t/rfc-rsync-action-plugin/11882 "2012-11-28T13:53:53Z")

</div>

With the introduction of action plugins, I decided to develop a rsync module to use with Ansible. Users always have the option to run rsync directly with the command module and choose any of its many many options. I wan…

---

## [Templates](https://forum.ansible.com/t/templates/12106)

<div class="topic-metadata">

**Author:** [@Bruce1](https://forum.ansible.com/u/Bruce1)\
**Replies:** 2\
**Last updated:** [November 27, 2012, 5:18pm UTC](https://forum.ansible.com/t/templates/12106 "2012-11-27T17:18:00Z")

</div>

I’m just getting started with playing with templates, having never used jinja2 before. I’ve written a very simple template: stacktype={{ stacktype }} {% if stacktype == “stg” %} test {% endif %} end My hosts script…

---

## [Doc site now up to date with respect to 0.9](https://forum.ansible.com/t/doc-site-now-up-to-date-with-respect-to-0-9/12105)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 11:56pm UTC](https://forum.ansible.com/t/doc-site-now-up-to-date-with-respect-to-0-9/12105 "2012-11-26T23:56:30Z")

</div>

For example, "when" is now documented: http://ansible.cc/docs/playbooks2.html#conditional-execution-simplified (As a reminder, 0.9 will be releasing Friday, testing help across the board is very welcome) --Michael

---

## [Getting attribute in Jinja2 templates](https://forum.ansible.com/t/getting-attribute-in-jinja2-templates/12104)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 7:03pm UTC](https://forum.ansible.com/t/getting-attribute-in-jinja2-templates/12104 "2012-11-26T19:03:06Z")

</div>

also FYI -- in the original post, the variable that the OP wants to access is "hostvars", not "hosts".

---

## [Deployement for CMDB](https://forum.ansible.com/t/deployement-for-cmdb/12103)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 1:21pm UTC](https://forum.ansible.com/t/deployement-for-cmdb/12103 "2012-11-26T13:21:48Z")

</div>

http://ansible.cc/docs

---

## [Configurable sudo default](https://forum.ansible.com/t/configurable-sudo-default/12101)

<div class="topic-metadata">

**Author:** [@Ahmad\_Khayyat](https://forum.ansible.com/u/Ahmad_Khayyat)\
**Replies:** 0\
**Last updated:** [November 23, 2012, 9:03am UTC](https://forum.ansible.com/t/configurable-sudo-default/12101 "2012-11-23T09:03:08Z")

</div>

Right now, I can have sudo disabled by default and enable it when needed using the -s command line option. However, I’d like to have the opposite setup: have sudo enabled by default and disable it when not needed. I pr…

---

## [Idempotent unpacking](https://forum.ansible.com/t/idempotent-unpacking/11953)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 8\
**Last updated:** [November 23, 2012, 1:33am UTC](https://forum.ansible.com/t/idempotent-unpacking/11953 "2012-11-23T01:33:16Z")

</div>

Try this. Though you'll want 0.8 such that the boolean works as you would expect. - action: get\_url ... register: get\_url\_result - action: command tar ... only\_if: "${get\_url\_result.chan…

---

## [If you have an old checkout, you may have issues updating git and may want to reclone](https://forum.ansible.com/t/if-you-have-an-old-checkout-you-may-have-issues-updating-git-and-may-want-to-reclone/12100)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [November 22, 2012, 12:16am UTC](https://forum.ansible.com/t/if-you-have-an-old-checkout-you-may-have-issues-updating-git-and-may-want-to-reclone/12100 "2012-11-22T00:16:54Z")

</div>

I had to do something a few days to ago to correct some errors in the history (I had an invalid email address configured). The result of this is many of the commits towards the top got "rewritten". This means nothin…

---

## [Congrats to Stephen Fromm](https://forum.ansible.com/t/congrats-to-stephen-fromm/12099)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [November 21, 2012, 3:20am UTC](https://forum.ansible.com/t/congrats-to-stephen-fromm/12099 "2012-11-21T03:20:41Z")

</div>

Hi list, I'm also granting Stephen direct commit access. Stephen is #3 on the list of most prolific Ansible contributors by number of commits and has been around since the very early days of Ansible. He has made …

---

## [Adding hosts to groups from the (yaml) host definition](https://forum.ansible.com/t/adding-hosts-to-groups-from-the-yaml-host-definition/11661)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 7\
**Last updated:** [November 20, 2012, 9:30pm UTC](https://forum.ansible.com/t/adding-hosts-to-groups-from-the-yaml-host-definition/11661 "2012-11-20T21:30:17Z")

</div>

Hi, There is a need to have multiple groups where it is expected that each system belongs exactly to one group (of a certain set). For example, if you have 3 environments (prod, qa and dev) each system should be in only…

---

## [RubyGems module](https://forum.ansible.com/t/rubygems-module/11849)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [November 20, 2012, 9:19pm UTC](https://forum.ansible.com/t/rubygems-module/11849 "2012-11-20T21:19:38Z")

</div>

I haven't seen one. Sounds great. Note that core modules (for maintaince reasons) need to be written in Python and to use the common module infrastructure -- so as long as you're ok with that, I'd like to see this in co…

---

## [Feature freeze for 0.9](https://forum.ansible.com/t/feature-freeze-for-0-9/12098)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [November 20, 2012, 2:10pm UTC](https://forum.ansible.com/t/feature-freeze-for-0-9/12098 "2012-11-20T14:10:08Z")

</div>

Hi everyone. Our goal should be to get Ansible 0.9 released next Friday (11/30), so feature freeze will be this Friday. Bugfixes will still be accepted after this Friday (11/23), but features will be held until afte…

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

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