# Latest

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

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

**Page:** 1076

---

## [output xterm](https://forum.ansible.com/t/output-xterm/11826)

<div class="topic-metadata">

**Author:** [@yerrysherry](https://forum.ansible.com/u/yerrysherry)\
**Replies:** 4\
**Last updated:** [August 25, 2012, 8:40am UTC](https://forum.ansible.com/t/output-xterm/11826 "2012-08-25T08:40:25Z")

</div>

Hi, xterm -cm ansible-playbook basis.yml PLAY \[aaagerrit-on-1-mgt\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[aaagerrit-on-1-mgt\] TASK: \[Configureer apt.conf\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[aaagerr…

---

## [examples/scripts/uptime.py](https://forum.ansible.com/t/examples-scripts-uptime-py/11828)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 25, 2012, 12:03am UTC](https://forum.ansible.com/t/examples-scripts-uptime-py/11828 "2012-08-25T00:03:32Z")

</div>

(apologies if you get more than one copy of this, thought I send this already) Yes, it's a string -- I've updated git and the documentation -- thanks! Glad you are liking things!

---

## [group vars ?](https://forum.ansible.com/t/group-vars/11825)

<div class="topic-metadata">

**Author:** [@ansibleguest](https://forum.ansible.com/u/ansibleguest)\
**Replies:** 1\
**Last updated:** [August 24, 2012, 1:19pm UTC](https://forum.ansible.com/t/group-vars/11825 "2012-08-24T13:19:15Z")

</div>

Wondering the variables could have been assigned per group, right. If i reuse the variable of same name they are overwritten within the hosts file or with global\_vars now ? hosts: \[group1\] 10.100.1.100 \[group2\] 10…

---

## [tonight's module update news -- wait\_for, subversion addition, git now takes a controllable force=yes|no, postgresql changes](https://forum.ansible.com/t/tonights-module-update-news-wait-for-subversion-addition-git-now-takes-a-controllable-force-yes-no-postgresql-changes/11824)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 24, 2012, 1:50am UTC](https://forum.ansible.com/t/tonights-module-update-news-wait-for-subversion-addition-git-now-takes-a-controllable-force-yes-no-postgresql-changes/11824 "2012-08-24T01:50:40Z")

</div>

New stuff on the module front! \*\* waiting for a port to be open \*\* Jeroen Hoekx has submitted a very nice wait\_for module that will wait for a given host/port to come online. It works well with the new "delegate\_to"…

---

## [An example callback for logging per-host activity in /var/log/ansible](https://forum.ansible.com/t/an-example-callback-for-logging-per-host-activity-in-var-log-ansible/11818)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [August 23, 2012, 12:21pm UTC](https://forum.ansible.com/t/an-example-callback-for-logging-per-host-activity-in-var-log-ansible/11818 "2012-08-23T12:21:47Z")

</div>

Recently someone (believe it was Lorin, can't remember) was asking about whether we could log activity on a per host basis on the server -- given, we already log things remotely on the client. Now, everyone is going t…

---

## [Minor tweak for 0.7: plugin directories moved](https://forum.ansible.com/t/minor-tweak-for-0-7-plugin-directories-moved/11823)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 22, 2012, 11:42pm UTC](https://forum.ansible.com/t/minor-tweak-for-0-7-plugin-directories-moved/11823 "2012-08-22T23:42:22Z")

</div>

connections now are in: lib/ansible/runner/connection\_plugins callbacks: lib/ansible/callback\_plugins This was done to avoid a conflict between callbacks.py and the package name on some versions of Python, and I w…

---

## [Order of Execution: tasks vs notify](https://forum.ansible.com/t/order-of-execution-tasks-vs-notify/11816)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [August 22, 2012, 10:15pm UTC](https://forum.ansible.com/t/order-of-execution-tasks-vs-notify/11816 "2012-08-22T22:15:48Z")

</div>

What you are doing is a very non-idempotent setup module, so there's really no point to your usage of handlers. I would find it much better to template out the /etc/apache2/.htdigestUser file. I'd use the template mod…

---

## [callback to early to ask for information?](https://forum.ansible.com/t/callback-to-early-to-ask-for-information/11822)

<div class="topic-metadata">

**Author:** [@yerrysherry](https://forum.ansible.com/u/yerrysherry)\
**Replies:** 1\
**Last updated:** [August 22, 2012, 9:40pm UTC](https://forum.ansible.com/t/callback-to-early-to-ask-for-information/11822 "2012-08-22T21:40:47Z")

</div>

Hi, Callback functions are something new to Ansible. I first need to look up what a callback function was. So, I think I’m not alone with my stupid questions :slight\_smile: On git we find 2 callback programs. log\_pl…

---

## [small typo in the chapter "Module Development" at the page "Module Provided 'Facts'?](https://forum.ansible.com/t/small-typo-in-the-chapter-module-development-at-the-page-module-provided-facts/11821)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 22, 2012, 9:01pm UTC](https://forum.ansible.com/t/small-typo-in-the-chapter-module-development-at-the-page-module-provided-facts/11821 "2012-08-22T21:01:54Z")

</div>

Thanks, yes it is missing a comma. Tip – the docs project is github.com/ansible/ansible.github.com – which is a good place to file doc issues. You can also send a pull request to the proper “.rst” file (moduledev.rst) …

---

## [cobbler query script](https://forum.ansible.com/t/cobbler-query-script/11819)

<div class="topic-metadata">

**Author:** [@Jim\_Richardson](https://forum.ansible.com/u/Jim_Richardson)\
**Replies:** 1\
**Last updated:** [August 22, 2012, 12:22am UTC](https://forum.ansible.com/t/cobbler-query-script/11819 "2012-08-22T00:22:50Z")

</div>

I wrote a cobbler\_query.py script a while back to pull some of this info out of a remote cobbler server. Might find it useful or perhaps at least a bad example :slight\_smile: https://github.com/weaselkeeper/cobbler\_qu…

---

## [EC2 and Cobbler inventory scripts have been moved to the ansible-plugins repo](https://forum.ansible.com/t/ec2-and-cobbler-inventory-scripts-have-been-moved-to-the-ansible-plugins-repo/11817)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 21, 2012, 8:59pm UTC](https://forum.ansible.com/t/ec2-and-cobbler-inventory-scripts-have-been-moved-to-the-ansible-plugins-repo/11817 "2012-08-21T20:59:15Z")

</div>

Inventory scripts are basically plugins of another form too, so be sure to follow this repo if you are interested in this sort of thing: https://github.com/ansible/ansible-plugins --Michael

---

## [new thirsty=yes|no parameter for the get\_url module, avoid downloading content each time](https://forum.ansible.com/t/new-thirsty-yes-no-parameter-for-the-get-url-module-avoid-downloading-content-each-time/11814)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [August 21, 2012, 1:22pm UTC](https://forum.ansible.com/t/new-thirsty-yes-no-parameter-for-the-get-url-module-avoid-downloading-content-each-time/11814 "2012-08-21T13:22:22Z")

</div>

The get\_url module is used for a variety of things, like downloading small files or packages from local servers -- or large things, like downloading ISOs. Previously this would download the contents of the remote loca…

---

## [Here's the organized 0.7 changelog so far / release plan for rest of 0.7](https://forum.ansible.com/t/heres-the-organized-0-7-changelog-so-far-release-plan-for-rest-of-0-7/11815)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 20, 2012, 11:08pm UTC](https://forum.ansible.com/t/heres-the-organized-0-7-changelog-so-far-release-plan-for-rest-of-0-7/11815 "2012-08-20T23:08:23Z")

</div>

Want to see what's coming in 0.7 in a few weeks? https://github.com/ansible/ansible/blob/devel/CHANGELOG.md I don't have hardly anything left on my list that I wanted to do -- it's been a productive few weeks. It's a…

---

## [ansible defaulting to remote user being the same as local -- how to revert?](https://forum.ansible.com/t/ansible-defaulting-to-remote-user-being-the-same-as-local-how-to-revert/11813)

<div class="topic-metadata">

**Author:** [@Grzegorz\_Nosek](https://forum.ansible.com/u/Grzegorz_Nosek)\
**Replies:** 3\
**Last updated:** [August 20, 2012, 7:24pm UTC](https://forum.ansible.com/t/ansible-defaulting-to-remote-user-being-the-same-as-local-how-to-revert/11813 "2012-08-20T19:24:38Z")

</div>

Hi, Since commit: commit deec50fc3cb154c1b2138bba23fe6cad812f9a11 Default -u (user) and “user:” in playbooks to the current user. I have to specify “-u root” in every single ansible command (I log into the ansible ho…

---

## [\-u / user: in playbooks now defaults to current user](https://forum.ansible.com/t/u-user-in-playbooks-now-defaults-to-current-user/11792)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [August 20, 2012, 6:48pm UTC](https://forum.ansible.com/t/u-user-in-playbooks-now-defaults-to-current-user/11792 "2012-08-20T18:48:07Z")

</div>

Various people wanted to share playbooks or scripts between teams and changing this was necessary to make this happen. This means using "--extra-vars="user=$user"" is pretty much not necessary anymore. Hopefully not to…

---

## [(developers) callbacks are now modular! Connect with logfiles, datastores, and more.](https://forum.ansible.com/t/developers-callbacks-are-now-modular-connect-with-logfiles-datastores-and-more/11811)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [August 19, 2012, 11:17pm UTC](https://forum.ansible.com/t/developers-callbacks-are-now-modular-connect-with-logfiles-datastores-and-more/11811 "2012-08-19T23:17:20Z")

</div>

Earlier today I announced that connection types were pluggable. Now modules are too! If you want to write code that does additional logging, stores ansible results in a database, sends you email, or makes "pew pew" l…

---

## [Using Ansible on OS X? Want to annoy your coworkers?](https://forum.ansible.com/t/using-ansible-on-os-x-want-to-annoy-your-coworkers/11812)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 19, 2012, 2:51am UTC](https://forum.ansible.com/t/using-ansible-on-os-x-want-to-annoy-your-coworkers/11812 "2012-08-19T02:51:27Z")

</div>

Here's a new callback plugin to add sound effects, courtesy of OS X's built in text-to-speech. https://github.com/ansible/ansible-plugins/blob/master/callbacks/osx\_say.py More serious plugins can also live in this repo…

---

## [(developers) Connection types (like paramiko, ssh, local, etc) are now pluggable modules](https://forum.ansible.com/t/developers-connection-types-like-paramiko-ssh-local-etc-are-now-pluggable-modules/11810)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 18, 2012, 4:00pm UTC](https://forum.ansible.com/t/developers-connection-types-like-paramiko-ssh-local-etc-are-now-pluggable-modules/11810 "2012-08-18T16:00:28Z")

</div>

If you would like to create or modify a connection type, I'm now happy to say these are now pluggable modules in the latest 0.7 git version. How this works -- make a module like paramiko\_ssh.py or ssh.py or local.py i…

---

## [Serial playbook control is now a core feature!](https://forum.ansible.com/t/serial-playbook-control-is-now-a-core-feature/11809)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 18, 2012, 2:29pm UTC](https://forum.ansible.com/t/serial-playbook-control-is-now-a-core-feature/11809 "2012-08-18T14:29:18Z")

</div>

In previous editions of Ansible, for each play that is being executed, all hosts in the play start on their journey at the exact same time. This means that if you had a batch of 50 servers, you are upgrading all of th…

---

## [listing hosts affected by a play before actually running it](https://forum.ansible.com/t/listing-hosts-affected-by-a-play-before-actually-running-it/11806)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [August 17, 2012, 1:51pm UTC](https://forum.ansible.com/t/listing-hosts-affected-by-a-play-before-actually-running-it/11806 "2012-08-17T13:51:19Z")

</div>

Seth Vidal has added a very nice --list-hosts to /usr/bin/ansible-playbook. When using this, it will show what hosts ansible would have talked to in each play, without actually talking to them. This is a great way to c…

---

## [(developer feature) not deleting remote tmp files by setting an environment variable](https://forum.ansible.com/t/developer-feature-not-deleting-remote-tmp-files-by-setting-an-environment-variable/11805)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 17, 2012, 1:50am UTC](https://forum.ansible.com/t/developer-feature-not-deleting-remote-tmp-files-by-setting-an-environment-variable/11805 "2012-08-17T01:50:32Z")

</div>

If you set ANSIBLE\_KEEP\_REMOTE\_FILES=1 (environment variable only) in the latest git, the files will be left around. This may help with debugging module failures, as you can use this with -vvv to see what commands are …

---

## [Where do we come from](https://forum.ansible.com/t/where-do-we-come-from/11804)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 16, 2012, 11:08pm UTC](https://forum.ansible.com/t/where-do-we-come-from/11804 "2012-08-16T23:08:35Z")

</div>

For those interested, here's a map of google analytics traffic to the website since March 1st: http://michaeldehaan.net/post/29580025600/worldwide-traffic-distribution-to --Michael

---

## [Adding --tree to ansible-playbook](https://forum.ansible.com/t/adding-tree-to-ansible-playbook/11802)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 4\
**Last updated:** [August 16, 2012, 8:09pm UTC](https://forum.ansible.com/t/adding-tree-to-ansible-playbook/11802 "2012-08-16T20:09:32Z")

</div>

Michael: could you elaborate on the TO DO in this block of code from ansible.utils: def write\_tree\_file(tree, hostname, buf): ''' write something into treedir/hostname ''' # TODO: might be nice to append play…

---

## [cowsay mode](https://forum.ansible.com/t/cowsay-mode/11589)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [August 16, 2012, 5:04pm UTC](https://forum.ansible.com/t/cowsay-mode/11589 "2012-08-16T17:04:15Z")

</div>

Hi everyone, ansible-playbook (but not /usr/bin/ansible) now does the right thing if cowsay is installed. I recommend everyone install it because it greatly improves the user experience. --Michael

---

## [Hosts with subnets ?](https://forum.ansible.com/t/hosts-with-subnets/11801)

<div class="topic-metadata">

**Author:** [@ansibleguest](https://forum.ansible.com/u/ansibleguest)\
**Replies:** 2\
**Last updated:** [August 16, 2012, 12:44pm UTC](https://forum.ansible.com/t/hosts-with-subnets/11801 "2012-08-16T12:44:21Z")

</div>

May be it's useful to support kind of notations in the hosts file too ? \[group1\] 10.2.1.\* \[group2\] 10.2.1.41/24 \[group3\] 10.2.1.1-10.2.1.5

---

## [Changing the way inverted matches work to make them more obvious](https://forum.ansible.com/t/changing-the-way-inverted-matches-work-to-make-them-more-obvious/11800)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 2\
**Last updated:** [August 15, 2012, 3:04pm UTC](https://forum.ansible.com/t/changing-the-way-inverted-matches-work-to-make-them-more-obvious/11800 "2012-08-15T15:04:04Z")

</div>

Just want to make sure I understand this. Right now if I want to negate something I do: -i myinventory 'hostgroup!hostname' and that will hit all systems in the hostgroup whose names are not hostname? do I have that …

---

## [Some praise, and a question about how to best reuse playbooks](https://forum.ansible.com/t/some-praise-and-a-question-about-how-to-best-reuse-playbooks/11799)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 15, 2012, 11:54am UTC](https://forum.ansible.com/t/some-praise-and-a-question-about-how-to-best-reuse-playbooks/11799 "2012-08-15T11:54:43Z")

</div>

Ok, so there are quite a few things you can use now to limit the hosts you run to. A) hosts: $hosts and ansible-playbook foo.yml --extra-vars="hosts=patternGoesHere" This allows you to use a playbook and not code th…

---

## [Doing a make from a ansible playbook](https://forum.ansible.com/t/doing-a-make-from-a-ansible-playbook/11784)

<div class="topic-metadata">

**Author:** [@James8](https://forum.ansible.com/u/James8)\
**Replies:** 6\
**Last updated:** [August 15, 2012, 2:42am UTC](https://forum.ansible.com/t/doing-a-make-from-a-ansible-playbook/11784 "2012-08-15T02:42:26Z")

</div>

Hi, Was just reading the list, and I have been able to complete untar with: - name: Extract hdparm action: command tar xzf /home/jmarcus/hdparm-9.37.tar.gz -C /home/jmarcus/ tags: - hdparm What is …

---

## [vars fixes, template question, miscellaneous randomness](https://forum.ansible.com/t/vars-fixes-template-question-miscellaneous-randomness/11798)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [August 15, 2012, 1:24am UTC](https://forum.ansible.com/t/vars-fixes-template-question-miscellaneous-randomness/11798 "2012-08-15T01:24:39Z")

</div>

1) I found out today that variables for individual hosts (like vars\_files) data weren't available in the "hostvars" variable, which is how you get to one host's variables from another host. I already fixed this 2) I t…

---

## [Running a playbook](https://forum.ansible.com/t/running-a-playbook/11753)

<div class="topic-metadata">

**Author:** [@James8](https://forum.ansible.com/u/James8)\
**Replies:** 7\
**Last updated:** [August 14, 2012, 6:01pm UTC](https://forum.ansible.com/t/running-a-playbook/11753 "2012-08-14T18:01:47Z")

</div>

Hi, ansible --version ansible 0.6 Am I doing this correctly? I read the docs but feel like I'm missing something obvious sheepchase:playbooks jmarcus$ cat clpubkey.yml - hosts: CL800 user: jmarcus sudo: True au…

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

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