# Latest

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

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

**Page:** 1074

---

## [Storing facts centrally](https://forum.ansible.com/t/storing-facts-centrally/11880)

<div class="topic-metadata">

**Author:** [@Nigel\_Metheringham](https://forum.ansible.com/u/Nigel_Metheringham)\
**Replies:** 3\
**Last updated:** [September 14, 2012, 4:57pm UTC](https://forum.ansible.com/t/storing-facts-centrally/11880 "2012-09-14T16:57:19Z")

</div>

Is there a mechanism to save the facts from the setup module in a local file on the central machine? ie a sort of collision between the fetch and setup modules :slight\_smile: \[I know I can run setup as a ansible stand…

---

## [Hosts with the same host name but different SSH ports?](https://forum.ansible.com/t/hosts-with-the-same-host-name-but-different-ssh-ports/11886)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [September 14, 2012, 4:02pm UTC](https://forum.ansible.com/t/hosts-with-the-same-host-name-but-different-ssh-ports/11886 "2012-09-14T16:02:55Z")

</div>

Yes. You can give them named aliases in resolv.conf and name them in the inventory file like this: \[somegroup\] foo ansible\_ssh\_port=1234 bar ansible\_ssh\_port=1235

---

## [Running Ansible tasks periodically](https://forum.ansible.com/t/running-ansible-tasks-periodically/11891)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [September 14, 2012, 2:08pm UTC](https://forum.ansible.com/t/running-ansible-tasks-periodically/11891 "2012-09-14T14:08:55Z")

</div>

ansible-pull works great for this. basically you can use regular-SSH-ansible to set up ansible on a crontab to run periodically against the latest checkout in a source control repo (currently requires git). It's docu…

---

## [Inventory plugin now available to read from ansible-commander, better setup instructions](https://forum.ansible.com/t/inventory-plugin-now-available-to-read-from-ansible-commander-better-setup-instructions/11888)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [September 14, 2012, 12:29am UTC](https://forum.ansible.com/t/inventory-plugin-now-available-to-read-from-ansible-commander-better-setup-instructions/11888 "2012-09-14T00:29:24Z")

</div>

See the updated setup instructions here -- https://github.com/ansible/ansible-commander/blob/master/README.md This is more setup than I'd actually like, but I think it's ok because you're only going to have to do it o…

---

## [multiple levels of virtualization (setup module)](https://forum.ansible.com/t/multiple-levels-of-virtualization-setup-module/11879)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 9\
**Last updated:** [September 13, 2012, 8:07pm UTC](https://forum.ansible.com/t/multiple-levels-of-virtualization-setup-module/11879 "2012-09-13T20:07:23Z")

</div>

Hi, I'm looking to extend the setup module to include support for SunOSVirtual "facts". Currently it looks like there are basically two virtual facts being detected (on Linux), virtualization\_type and virtualization\_r…

---

## [Jinja2 control in playbook ?](https://forum.ansible.com/t/jinja2-control-in-playbook/11889)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 13, 2012, 11:57am UTC](https://forum.ansible.com/t/jinja2-control-in-playbook/11889 "2012-09-13T11:57:36Z")

</div>

Hello, I have a question I couldn't answer reading this list. Is it possible in a playbook to use Jinja2 control ? Presently, it's not possible to slurp the contents of a file directly into a playbook. What I prop…

---

## [github deploy keys](https://forum.ansible.com/t/github-deploy-keys/11887)

<div class="topic-metadata">

**Author:** [@Ajax](https://forum.ansible.com/u/Ajax)\
**Replies:** 1\
**Last updated:** [September 13, 2012, 12:39am UTC](https://forum.ansible.com/t/github-deploy-keys/11887 "2012-09-13T00:39:52Z")

</div>

I’m having trouble using Ansible to clone a private repo on github on a remote node using a deploy key for authentication. Ultimately I want to move the private key over the to the remote node, add the location of the ke…

---

## [Setting Ansible pull for the first time.](https://forum.ansible.com/t/setting-ansible-pull-for-the-first-time/11881)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 11\
**Last updated:** [September 12, 2012, 2:19am UTC](https://forum.ansible.com/t/setting-ansible-pull-for-the-first-time/11881 "2012-09-12T02:19:49Z")

</div>

( is a bit confusing to need to run a playbook that will install ansible and install the cron for you and the doc doesn't really say that you need the playbook to be local.yml and that you need to run it with --conec…

---

## [(development) REST API -- groups, users, all now wired up with tests for ansible-commander](https://forum.ansible.com/t/development-rest-api-groups-users-all-now-wired-up-with-tests-for-ansible-commander/11885)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 12, 2012, 2:05am UTC](https://forum.ansible.com/t/development-rest-api-groups-users-all-now-wired-up-with-tests-for-ansible-commander/11885 "2012-09-12T02:05:53Z")

</div>

Some nice progress! We now have routes wired up for all the major things you'd want to do with things. https://github.com/ansible/ansible-commander/blob/master/commander.py https://github.com/ansible/ansible-commande…

---

## [Miscellaneous pull requests just merged for 0.8](https://forum.ansible.com/t/miscellaneous-pull-requests-just-merged-for-0-8/11884)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 11, 2012, 10:11pm UTC](https://forum.ansible.com/t/miscellaneous-pull-requests-just-merged-for-0-8/11884 "2012-09-11T22:11:29Z")

</div>

Some small features that might make your life easier just got merged in: \* playbooks can import playbooks in other (different) directories and then be able to import tasks relative to them \* ansible config file can al…

---

## [0.7.1 tagged/uploaded (python 2.4 compat fix to setup module only)](https://forum.ansible.com/t/0-7-1-tagged-uploaded-python-2-4-compat-fix-to-setup-module-only/11883)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 11, 2012, 9:46pm UTC](https://forum.ansible.com/t/0-7-1-tagged-uploaded-python-2-4-compat-fix-to-setup-module-only/11883 "2012-09-11T21:46:05Z")

</div>

If you have python 2.4 in your infrastructure, I've tagged a very minor update to 0.7 that includes just this fix. (It contains no other changes) Folks should be aware that \*usually\* if you want to get newer modules …

---

## [ansible-commander update: data layer complete, REST in work, next steps...](https://forum.ansible.com/t/ansible-commander-update-data-layer-complete-rest-in-work-next-steps/11876)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 8\
**Last updated:** [September 11, 2012, 4:35pm UTC](https://forum.ansible.com/t/ansible-commander-update-data-layer-complete-rest-in-work-next-steps/11876 "2012-09-11T16:35:18Z")

</div>

I kind of feel like I'm giving kickstarter updates on something that isn't done yet, but I want you to be excited :slight\_smile: The ansible-commander data layer can now do everything I want to do with groups and host…

---

## [library/assemble vs. action-plugin/assemble etc.](https://forum.ansible.com/t/library-assemble-vs-action-plugin-assemble-etc/11878)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 2\
**Last updated:** [September 10, 2012, 3:30pm UTC](https://forum.ansible.com/t/library-assemble-vs-action-plugin-assemble-etc/11878 "2012-09-10T15:30:58Z")

</div>

I'm guessing this is just a minor oversight that needs to be cleaned up, however its worth mentioning that some of the functionality converted to action\_plugins still remain as modules in library/. Somewhat relatedly to…

---

## [Clusters in postgresql\_user and postgresql\_db](https://forum.ansible.com/t/clusters-in-postgresql-user-and-postgresql-db/11877)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 10, 2012, 12:02pm UTC](https://forum.ansible.com/t/clusters-in-postgresql-user-and-postgresql-db/11877 "2012-09-10T12:02:21Z")

</div>

I'm not an expert in maintaining PostgreSQL clusters, but port selection ("port=") is available in the latest 0.8.

---

## [setup module in 0.7 has Python 2.6 code in it… 0.7.1 pending](https://forum.ansible.com/t/setup-module-in-0-7-has-python-2-6-code-in-it-0-7-1-pending/11873)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [September 10, 2012, 12:01pm UTC](https://forum.ansible.com/t/setup-module-in-0-7-has-python-2-6-code-in-it-0-7-1-pending/11873 "2012-09-10T12:01:14Z")

</div>

Hi all, So the setup module contains a bit of Python 2.6-only code, which is not good on supporting older platforms that have only 2.4 … which is something we still want to support. It's important. This isn't a proble…

---

## [(developers) First peek at the ansible-commander data layer](https://forum.ansible.com/t/developers-first-peek-at-the-ansible-commander-data-layer/11875)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [September 8, 2012, 11:16pm UTC](https://forum.ansible.com/t/developers-first-peek-at-the-ansible-commander-data-layer/11875 "2012-09-08T23:16:51Z")

</div>

As I mentioned earlier, I'm going to keep everyone updated as ansible-commander evolves. What you now see in the repo is the result of only a few hours of hacking. As it turns out, as is always the case, that the la…

---

## [Ansible-commander UI and REST API project repo](https://forum.ansible.com/t/ansible-commander-ui-and-rest-api-project-repo/11872)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [September 8, 2012, 4:05pm UTC](https://forum.ansible.com/t/ansible-commander-ui-and-rest-api-project-repo/11872 "2012-09-08T16:05:44Z")

</div>

I'm going to try being totally transparent here and letting you watch this project start while there is nothing here yet... Starting this here -- https://github.com/ansible/ansible-commander As you can see, there's al…

---

## [Found the 'lineinfile' module previously non-intuitive? It's better now.](https://forum.ansible.com/t/found-the-lineinfile-module-previously-non-intuitive-its-better-now/11874)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 8, 2012, 1:37pm UTC](https://forum.ansible.com/t/found-the-lineinfile-module-previously-non-intuitive-its-better-now/11874 "2012-09-08T13:37:08Z")

</div>

I've just pushed a fix that changes the "regexp does not match line" logic to allow the regexp to match a /portion/ of the line, so you no longer have to write out a full regex. This is what it should have been anyway…

---

## [Ansible 0.8 plans](https://forum.ansible.com/t/ansible-0-8-plans/11867)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 15\
**Last updated:** [September 7, 2012, 8:05pm UTC](https://forum.ansible.com/t/ansible-0-8-plans/11867 "2012-09-07T20:05:36Z")

</div>

Ansible 0.7 was codenamed "Panama" and was largely about orchestration/deployment features and extensibility. Ansible 0.8, appropriately, will be called "Eruption", and will take a bit different form than previous rel…

---

## [Output from previous action](https://forum.ansible.com/t/output-from-previous-action/11869)

<div class="topic-metadata">

**Author:** [@yerrysherry](https://forum.ansible.com/u/yerrysherry)\
**Replies:** 3\
**Last updated:** [September 7, 2012, 2:38pm UTC](https://forum.ansible.com/t/output-from-previous-action/11869 "2012-09-07T14:38:43Z")

</div>

Hey, I have a task which copy a war file to a server: name: Copy snapshot war to server action: copy src=$gl\_base\_dir/$project/files/${reg\_nexus\_snapshot\_war.stdout} dest=$gl\_tomcat\_apps\_dir/${reg\_nexus\_snapshot\_war.…

---

## [Ansible 0.7 released](https://forum.ansible.com/t/ansible-0-7-released/11866)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [September 7, 2012, 12:57pm UTC](https://forum.ansible.com/t/ansible-0-7-released/11866 "2012-09-07T12:57:07Z")

</div>

Hi all, 0.7 is tagged and released! Thank you everyone for helping! You can read about it here ... but I bet you already know all about it! http://michaeldehaan.net/post/31024956936/ansible-0-7-released Please sha…

---

## [Now using /usr/bin/env python vs /usr/bin/python to work better with virtualenv, etc](https://forum.ansible.com/t/now-using-usr-bin-env-python-vs-usr-bin-python-to-work-better-with-virtualenv-etc/11375)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [September 7, 2012, 11:38am UTC](https://forum.ansible.com/t/now-using-usr-bin-env-python-vs-usr-bin-python-to-work-better-with-virtualenv-etc/11375 "2012-09-07T11:38:35Z")

</div>

I received quite a few requests for this. For those looking, it’s in place now in the latest git source. –Michael

---

## [Features just merged to 0.8](https://forum.ansible.com/t/features-just-merged-to-0-8/11868)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 7, 2012, 1:02am UTC](https://forum.ansible.com/t/features-just-merged-to-0-8/11868 "2012-09-07T01:02:39Z")

</div>

Now that the code freeze has lifted, I've just merged in a ton of shiny goodness: 1) You can now use "is\_set" inside an only\_if expression to check if a given variable is available. Example: is\_set('ansible\_eth0') …

---

## [Ansible Callbacks & Plugins](https://forum.ansible.com/t/ansible-callbacks-plugins/11861)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 5\
**Last updated:** [September 6, 2012, 9:49pm UTC](https://forum.ansible.com/t/ansible-callbacks-plugins/11861 "2012-09-06T21:49:58Z")

</div>

I'm just trying to see if I'm understanding how plugins and callbacks are currently implemented. From what I see that plugins are enabled by installing them in a designated \_plugins directory and to disable them you hav…

---

## [It's raining new modules! Time to test them!](https://forum.ansible.com/t/its-raining-new-modules-time-to-test-them/11845)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [September 6, 2012, 5:31pm UTC](https://forum.ansible.com/t/its-raining-new-modules-time-to-test-them/11845 "2012-09-06T17:31:10Z")

</div>

Maybe raining is not the word. More like "firestorm". Documentation for the selinux, seboolean, lineinfile (newly refactored), nagios, and wait\_for modules are all up on the official documentation site on the module…

---

## [include statement behavior, also example of an involved playbook collection](https://forum.ansible.com/t/include-statement-behavior-also-example-of-an-involved-playbook-collection/11852)

<div class="topic-metadata">

**Author:** [@Tim\_Bielawa](https://forum.ansible.com/u/Tim_Bielawa)\
**Replies:** 4\
**Last updated:** [September 6, 2012, 2:08am UTC](https://forum.ansible.com/t/include-statement-behavior-also-example-of-an-involved-playbook-collection/11852 "2012-09-06T02:08:41Z")

</div>

I've been doing some experimenting to figure out the exact nature of the include syntax. Here's something that surprised me (because I was wrong about what I assumed it was going to do): - include: tasks/java-app.yaml …

---

## [Command module fails on skip?](https://forum.ansible.com/t/command-module-fails-on-skip/11865)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [September 6, 2012, 12:59am UTC](https://forum.ansible.com/t/command-module-fails-on-skip/11865 "2012-09-06T00:59:58Z")

</div>

Good catch -- I've just pushed a fix for this. Seems no one was using creates= combined with /usr/bin/ansible and not a playbook, which is not surprising. In fixing this, I also ended up updating the log\_plays.py c…

---

## [Playbook:  What changed?](https://forum.ansible.com/t/playbook-what-changed/11864)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 2\
**Last updated:** [September 5, 2012, 2:25pm UTC](https://forum.ansible.com/t/playbook-what-changed/11864 "2012-09-05T14:25:43Z")

</div>

HI, I have a large playbook. I ran it and got this: PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* xxx.xxx.net : ok= 58 changed= 3 unreachable= 0 failed= 0 yyy.xxx.net : ok= 58 changed= 3 unreachable= 0 failed= 0 The problem is …

---

## [Understanding callbacks](https://forum.ansible.com/t/understanding-callbacks/11863)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 2\
**Last updated:** [September 5, 2012, 2:20pm UTC](https://forum.ansible.com/t/understanding-callbacks/11863 "2012-09-05T14:20:23Z")

</div>

Hello, I'm trying to grasp callbacks with an example: I'd like to gather the output of the setup module invoked by a Playbook. I've created a copy of noop.py... class CallbackModule(object): def …

---

## [Start tomcat server](https://forum.ansible.com/t/start-tomcat-server/11860)

<div class="topic-metadata">

**Author:** [@yerrysherry](https://forum.ansible.com/u/yerrysherry)\
**Replies:** 3\
**Last updated:** [September 5, 2012, 1:51pm UTC](https://forum.ansible.com/t/start-tomcat-server/11860 "2012-09-05T13:51:22Z")

</div>

Hi, I have s strange problem starting a tomcat server on Ubuntu In my playbook: name: Start tomcat action: service name=apache-tomcat-6.0.35-01 state=started or name: Start tomcat action: shell service apache-to…

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

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