# Latest

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

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

**Page:** 1090

---

## [State of the Union -- summary of various things going on](https://forum.ansible.com/t/state-of-the-union-summary-of-various-things-going-on/11387)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [April 2, 2012, 5:44pm UTC](https://forum.ansible.com/t/state-of-the-union-summary-of-various-things-going-on/11387 "2012-04-02T17:44:46Z")

</div>

Wow, it’s been a little over a month and things are taking off nicely. I think the thing I’m most happy about is this: https://github.com/ansible/ansible/graphs/impact … this last week, we’ve had about 8 contributors, a…

---

## [Ansible presentation on speakerdeck](https://forum.ansible.com/t/ansible-presentation-on-speakerdeck/11388)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [April 1, 2012, 12:50pm UTC](https://forum.ansible.com/t/ansible-presentation-on-speakerdeck/11388 "2012-04-01T12:50:49Z")

</div>

I felt we were a bit overdue for one. http://speakerdeck.com/u/mpdehaan/p/ansible (feel free to share!) –Michael

---

## [Race condition in async mode?](https://forum.ansible.com/t/race-condition-in-async-mode/11384)

<div class="topic-metadata">

**Author:** [@Steve\_Gaarder](https://forum.ansible.com/u/Steve_Gaarder)\
**Replies:** 2\
**Last updated:** [March 31, 2012, 4:47pm UTC](https://forum.ansible.com/t/race-condition-in-async-mode/11384 "2012-03-31T16:47:24Z")

</div>

I tried running a simple playbook with the yum module run asynchronously. Some of the time, I get this error: failed: \[hardy1\] =\> {"ansible\_job\_id": "269083845912", "failed": 1, "finished": 1, "msg": "Argument file n…

---

## [New "integration" branch on github](https://forum.ansible.com/t/new-integration-branch-on-github/11386)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 3:00pm UTC](https://forum.ansible.com/t/new-integration-branch-on-github/11386 "2012-03-31T15:00:50Z")

</div>

When sending pull requests, please send them to the ansible/integration branch. This will allow the main branch to only contain tested code, but still allow use of the (very useful) github web merge feature. (Please ign…

---

## [ansible-project - Google Groups: Message Pending \[{IODE-YK\_tPqXAyoCcWEwAd4o1MuLn95V0}\]](https://forum.ansible.com/t/ansible-project-google-groups-message-pending-iode-yk-tpqxayoccwewad4o1muln95v0/11385)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 9:59pm UTC](https://forum.ansible.com/t/ansible-project-google-groups-message-pending-iode-yk-tpqxayoccwewad4o1muln95v0/11385 "2012-03-30T21:59:05Z")

</div>

So the async poll operations should use different tmpdirs from the command that launched the job so this shouldn’t happen, at least in theory. If the same tempdir is in fact used for subsequent polling calls we’d want to…

---

## [executable playbooks](https://forum.ansible.com/t/executable-playbooks/11382)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 8\
**Last updated:** [March 30, 2012, 3:48pm UTC](https://forum.ansible.com/t/executable-playbooks/11382 "2012-03-30T15:48:24Z")

</div>

I’ve added a feature to my fork that allows playbook files to be scripts, and thereby dynamically generating a playbook. Here’s the patch; https://github.com/mgwilliams/ansible/commit/a70ff5b273051eede44783780cdf5049d4…

---

## [Error logging](https://forum.ansible.com/t/error-logging/11383)

<div class="topic-metadata">

**Author:** [@Jeroen\_Hoekx](https://forum.ansible.com/u/Jeroen_Hoekx)\
**Replies:** 1\
**Last updated:** [March 30, 2012, 1:35pm UTC](https://forum.ansible.com/t/error-logging/11383 "2012-03-30T13:35:26Z")

</div>

Hi, I think we need a way to get the error output of the module execution on the remote system. It has bitten me twice already (no json on RHEL 5 by default and no "except .. as" support) and debugging it is painful …

---

## [Sudo support…  works!(?) in both ansible and ansible-playbook, testing needed](https://forum.ansible.com/t/sudo-support-works-in-both-ansible-and-ansible-playbook-testing-needed/11381)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [March 30, 2012, 11:14am UTC](https://forum.ansible.com/t/sudo-support-works-in-both-ansible-and-ansible-playbook-testing-needed/11381 "2012-03-30T11:14:26Z")

</div>

Ok, got this working in the latest git: Usage (as your user account) $ ansible all -m service -a “name=httpd state=restarted” -u username --sudo # or -s From a playbook, just add a sudo: True bit and change the user l…

---

## [For those having paramiko issues, I can't reproduce, but please try this...](https://forum.ansible.com/t/for-those-having-paramiko-issues-i-cant-reproduce-but-please-try-this/11378)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [March 29, 2012, 10:57pm UTC](https://forum.ansible.com/t/for-those-having-paramiko-issues-i-cant-reproduce-but-please-try-this/11378 "2012-03-29T22:57:12Z")

</div>

Explanation -- the paramiko error says please try to run "Random.atfork()" which is a pyCrypto thing. It seems to be a newer Pycrypto issue (CentOS 6 does not have this function, it seems), not even a paramiko bug at…

---

## [Not all services being stopped](https://forum.ansible.com/t/not-all-services-being-stopped/11380)

<div class="topic-metadata">

**Author:** [@Gerhardus\_Geldenhuis](https://forum.ansible.com/u/Gerhardus_Geldenhuis)\
**Replies:** 3\
**Last updated:** [March 29, 2012, 1:40pm UTC](https://forum.ansible.com/t/not-all-services-being-stopped/11380 "2012-03-29T13:40:00Z")

</div>

Hi An extract from a playbook: name: Stop 389 services action: service name=dirsrv-admin state=stopped action: service name=dirsrv state=stopped The log: TASK: \[Stop 389 services\] \*\*\*\*\*\*\*\*\* ok: \[auth01.example.co…

---

## [For those interested in working on/with sudo...](https://forum.ansible.com/t/for-those-interested-in-working-on-with-sudo/11379)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [March 29, 2012, 3:33am UTC](https://forum.ansible.com/t/for-those-interested-in-working-on-with-sudo/11379 "2012-03-29T03:33:21Z")

</div>

I’ve added some code to connection.py which SEEMS like what you want to do for sudo support, but I’m seeing some issue with paramiko saying the connection is closed right after I send the command. More debugging is requ…

---

## [Small bug](https://forum.ansible.com/t/small-bug/11377)

<div class="topic-metadata">

**Author:** [@Gerhardus\_Geldenhuis](https://forum.ansible.com/u/Gerhardus_Geldenhuis)\
**Replies:** 2\
**Last updated:** [March 28, 2012, 3:16pm UTC](https://forum.ansible.com/t/small-bug/11377 "2012-03-28T15:16:28Z")

</div>

Hi I would have added this to the issues list in github but could not find it… If I run: ansible-playbook playbooks/build-auth-main.yml I get: PLAY \[auth01.clean.io\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* SETUP PHASE \*\*\*\*\*\*\*…

---

## [Today's update](https://forum.ansible.com/t/todays-update/11376)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 28, 2012, 1:04am UTC](https://forum.ansible.com/t/todays-update/11376 "2012-03-28T01:04:58Z")

</div>

So there was a lot of activity today from pull requests, which is great! Seth made the yum module work better on RHEL5 and made state=latest work better. mgw made some template improvements – when templates fail, you w…

---

## [Callbacks now implemented for /usr/bin/ansible](https://forum.ansible.com/t/callbacks-now-implemented-for-usr-bin-ansible/11374)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 27, 2012, 1:22am UTC](https://forum.ansible.com/t/callbacks-now-implemented-for-usr-bin-ansible/11374 "2012-03-27T01:22:11Z")

</div>

As a result, things are much much shorter in /usr/bin/ansible, and more importantly, output is quasi-realtime… you don’t have to wait for all hosts to complete to see results as they complete. Output is pretty much the …

---

## [Apt module now available](https://forum.ansible.com/t/apt-module-now-available/11373)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 26, 2012, 11:38pm UTC](https://forum.ansible.com/t/apt-module-now-available/11373 "2012-03-26T23:38:33Z")

</div>

Thanks to the hard work of Matthew Williams, there is now an apt module in the core library. Thanks Matthew! Please help test. Note it does not yet support state=latest or state=version, but does do state=installed and…

---

## [Arguments to include, one task created per argument.](https://forum.ansible.com/t/arguments-to-include-one-task-created-per-argument/11372)

<div class="topic-metadata">

**Author:** [@Jeroen\_Hoekx](https://forum.ansible.com/u/Jeroen_Hoekx)\
**Replies:** 1\
**Last updated:** [March 26, 2012, 12:26pm UTC](https://forum.ansible.com/t/arguments-to-include-one-task-created-per-argument/11372 "2012-03-26T12:26:44Z")

</div>

Hello, I am trying to configure networking using ansible (on RHEL 5). Since this is just text, I thought a template would suffice. This is what I tried. In my main playbook:

---

## [Ability to run a playbook against a list of hosts not in inventory is implemented](https://forum.ansible.com/t/ability-to-run-a-playbook-against-a-list-of-hosts-not-in-inventory-is-implemented/11370)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [March 26, 2012, 12:23pm UTC](https://forum.ansible.com/t/ability-to-run-a-playbook-against-a-list-of-hosts-not-in-inventory-is-implemented/11370 "2012-03-26T12:23:51Z")

</div>

It is a likely cloud bootstrapping use case to want to run a playbook against a list of newly provisioned hosts and those hosts may have not been added to /etc/ansible/hosts just yet. You may also have no wish to ever ad…

---

## [More realtime output now available when using playbooks](https://forum.ansible.com/t/more-realtime-output-now-available-when-using-playbooks/11371)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 25, 2012, 11:13pm UTC](https://forum.ansible.com/t/more-realtime-output-now-available-when-using-playbooks/11371 "2012-03-25T23:13:52Z")

</div>

I’ve made all the output about commands in playbooks use callbacks, so if you are attacking 500 hosts in a batch of 10, you’ll get output as every single command happens (in real time), rather than waiting for all of th…

---

## [Refactoring of playbooks/runner code largely complete … next up, making playbook status more 'live'](https://forum.ansible.com/t/refactoring-of-playbooks-runner-code-largely-complete-next-up-making-playbook-status-more-live/11369)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 24, 2012, 1:17am UTC](https://forum.ansible.com/t/refactoring-of-playbooks-runner-code-largely-complete-next-up-making-playbook-status-more-live/11369 "2012-03-24T01:17:39Z")

</div>

Should be easier to hack on now that things have been broken into screen sized, non-massively indented chunks. There is more to do, but I can begin taking patches to those files again, and this facilitates my plans on p…

---

## ["name" now optional for task lines in playbooks](https://forum.ansible.com/t/name-now-optional-for-task-lines-in-playbooks/11368)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 24, 2012, 1:11am UTC](https://forum.ansible.com/t/name-now-optional-for-task-lines-in-playbooks/11368 "2012-03-24T01:11:55Z")

</div>

This was requested to keep playbooks short. You can now do this: tasks: action: command foo action: command foo action: command foo You can still specify a name if you want to give a more human readable description, …

---

## [Shell variables in command line usage](https://forum.ansible.com/t/shell-variables-in-command-line-usage/11367)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 16\
**Last updated:** [March 23, 2012, 4:27pm UTC](https://forum.ansible.com/t/shell-variables-in-command-line-usage/11367 "2012-03-23T16:27:34Z")

</div>

Hi, Being used to tools like ssh or shmux, I was wondering why the examples for command line usage are more complex wrt. escaping special characters. \[root@moria ansible\]# ssh localhost 'echo $TERM' dumb I woul…

---

## [Timezone ?](https://forum.ansible.com/t/timezone/11366)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 2\
**Last updated:** [March 23, 2012, 12:30pm UTC](https://forum.ansible.com/t/timezone/11366 "2012-03-23T12:30:55Z")

</div>

Hi Michael, Not sure in what timezone you live, but some of the commits on Github appears to be made 5 days and 8 days in the future :slight\_smile: https://github.com/ansible/ansible Someone having fun at Github ?

---

## [User module now available](https://forum.ansible.com/t/user-module-now-available/11365)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 23, 2012, 2:55am UTC](https://forum.ansible.com/t/user-module-now-available/11365 "2012-03-23T02:55:40Z")

</div>

Stephen Fromm created a very nice user module. It’s documented on the examples and playbook pages of http://ansible.github.com/ and available in the latest git. Check out it! –Michael

---

## [New in latest git -- Being able to reuse conditionals in playbooks](https://forum.ansible.com/t/new-in-latest-git-being-able-to-reuse-conditionals-in-playbooks/11363)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 12:26am UTC](https://forum.ansible.com/t/new-in-latest-git-being-able-to-reuse-conditionals-in-playbooks/11363 "2012-03-22T00:26:00Z")

</div>

New syntax upgrade in latest git – I’ve made it possible to reuse conditionals (only\_if) by declaring them in the vars (or vars\_files) section. Here is an example: https://github.com/ansible/ansible/blob/master/examples…

---

## [Plans for tonight's development: conditional execution of task steps](https://forum.ansible.com/t/plans-for-tonights-development-conditional-execution-of-task-steps/11360)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [March 21, 2012, 2:56am UTC](https://forum.ansible.com/t/plans-for-tonights-development-conditional-execution-of-task-steps/11360 "2012-03-21T02:56:25Z")

</div>

Here’s the next feature I am going to add to play books – “only\_if”. name: foo action: modulename only\_if: some conditional This will allow conditional execution of steps, on a host by host basis, based on facts or…

---

## [Conditional execution implemented](https://forum.ansible.com/t/conditional-execution-implemented/11362)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 12:29am UTC](https://forum.ansible.com/t/conditional-execution-implemented/11362 "2012-03-21T00:29:14Z")

</div>

Check out the new “only\_if” support for tasks. https://github.com/ansible/ansible/blob/master/examples/playbooks/playbook4.yml Explanation: http://ansible.github.com/playbooks.html#conditional-execution Not to brag o…

---

## [Providing some "facts" for free / which do you use for config today?](https://forum.ansible.com/t/providing-some-facts-for-free-which-do-you-use-for-config-today/11361)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [March 20, 2012, 12:54pm UTC](https://forum.ansible.com/t/providing-some-facts-for-free-which-do-you-use-for-config-today/11361 "2012-03-20T12:54:13Z")

</div>

We can leverage ohai or JSON installed on the system to power conditional imports, variable substistutions, and even tempting. We can also use our own ‘setup’ system to push variables down to the system (which is used b…

---

## [Documentation about conditional imports](https://forum.ansible.com/t/documentation-about-conditional-imports/11359)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 3:45am UTC](https://forum.ansible.com/t/documentation-about-conditional-imports/11359 "2012-03-20T03:45:23Z")

</div>

As an addendum to my previous email, I went ahead and wrote up a bit about conditional imports http://ansible.github.com/playbooks.html#conditional-imports For those that are not clear on playbook docs from reading the…

---

## [Conditional imports and other syntax improvements for playbooks](https://forum.ansible.com/t/conditional-imports-and-other-syntax-improvements-for-playbooks/11358)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 2:58am UTC](https://forum.ansible.com/t/conditional-imports-and-other-syntax-improvements-for-playbooks/11358 "2012-03-20T02:58:16Z")

</div>

Earlier I wrote about external variable files when Smooge was asking how to protect against keeping confidential data in source control. http://ansible.github.com/playbooks.html#external-variables-and-sensitive-data Th…

---

## [Cloud deployment use cases for newly provisioned hosts, playbooks suggestion](https://forum.ansible.com/t/cloud-deployment-use-cases-for-newly-provisioned-hosts-playbooks-suggestion/11357)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [March 19, 2012, 3:32am UTC](https://forum.ansible.com/t/cloud-deployment-use-cases-for-newly-provisioned-hosts-playbooks-suggestion/11357 "2012-03-19T03:32:30Z")

</div>

Thinking of something… Generally if I’m using play books for classical config management, I want the host groups all entered in, and I’ll run ansible periodically to reapply my configuration. Though, as Seth mentioned, …

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

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