# Latest

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

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

**Page:** 1070

---

## [ec2\_run\_instance library module](https://forum.ansible.com/t/ec2-run-instance-library-module/12025)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 3\
**Last updated:** [October 25, 2012, 5:57pm UTC](https://forum.ansible.com/t/ec2-run-instance-library-module/12025 "2012-10-25T17:57:02Z")

</div>

Not sure if anyone else has already done this. But I needed to start up an instance, get back the instance id cleanly so I could then setup the instance. So I hacked this up last night: https://github.com/skvidal/ansib…

---

## [Ansible on Centos5 again](https://forum.ansible.com/t/ansible-on-centos5-again/12000)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 5\
**Last updated:** [October 25, 2012, 5:10pm UTC](https://forum.ansible.com/t/ansible-on-centos5-again/12000 "2012-10-25T17:10:11Z")

</div>

Without exactly knowing what you want to do, my recommendation is to use CentOS6 as your 'command and control' server. Chances are you want this system (or systems) to be well-secured and dedicated only for this purpose.…

---

## [test host for group membership](https://forum.ansible.com/t/test-host-for-group-membership/12024)

<div class="topic-metadata">

**Author:** [@Jeroen\_Hoekx](https://forum.ansible.com/u/Jeroen_Hoekx)\
**Replies:** 0\
**Last updated:** [October 24, 2012, 12:30pm UTC](https://forum.ansible.com/t/test-host-for-group-membership/12024 "2012-10-24T12:30:40Z")

</div>

My approach is totally different than what Michael proposes :slight\_smile: In this case, I would have a per group 'nameservers' list variable in your inventory. Use a for loop in the jinja template like: {% for server…

---

## [test host for group membership](https://forum.ansible.com/t/test-host-for-group-membership/12022)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [October 24, 2012, 12:14pm UTC](https://forum.ansible.com/t/test-host-for-group-membership/12022 "2012-10-24T12:14:46Z")

</div>

Here's one way (assuming 0.8 syntax). Just have two short plays that talk to each group, and use the group-exclusion features. hosts: virt:!virt-managed tasks: - template: ... hosts: virt-managed tasks: …

---

## [fact plugin example?](https://forum.ansible.com/t/fact-plugin-example/12020)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 2\
**Last updated:** [October 24, 2012, 11:24am UTC](https://forum.ansible.com/t/fact-plugin-example/12020 "2012-10-24T11:24:08Z")

</div>

Hi, Does anyone have an example of how to add a fact plugin? I can't seem to find one and before I sift the code to see how to do it - I figured it was worth asking for an example. -sv

---

## [MySQL GRANT](https://forum.ansible.com/t/mysql-grant/12021)

<div class="topic-metadata">

**Author:** [@Stijn\_Opheide](https://forum.ansible.com/u/Stijn_Opheide)\
**Replies:** 0\
**Last updated:** [October 24, 2012, 9:30am UTC](https://forum.ansible.com/t/mysql-grant/12021 "2012-10-24T09:30:05Z")

</div>

Anyone interested in reviewing this? Currently, the only other solution for giving grant access is writing a shell script and executing it with the shell module, which is I think a bit cumbersome…

---

## [Dirty way to get memory total from host](https://forum.ansible.com/t/dirty-way-to-get-memory-total-from-host/12019)

<div class="topic-metadata">

**Author:** [@Dylan\_Silva](https://forum.ansible.com/u/Dylan_Silva)\
**Replies:** 1\
**Last updated:** [October 24, 2012, 5:01am UTC](https://forum.ansible.com/t/dirty-way-to-get-memory-total-from-host/12019 "2012-10-24T05:01:54Z")

</div>

Hi all! I am trying to write some logic to grab the current memory configuration of a host and use that information to choose template variables to build a configuration file. Has anyone attempted this? If so, what was …

---

## [Ansible 0.8 error on Centos5 "TypeError: connect() got an unexpected keyword argument 'transport'"](https://forum.ansible.com/t/ansible-0-8-error-on-centos5-typeerror-connect-got-an-unexpected-keyword-argument-transport/12018)

<div class="topic-metadata">

**Author:** [@Matt\_Coddington](https://forum.ansible.com/u/Matt_Coddington)\
**Replies:** 3\
**Last updated:** [October 24, 2012, 3:08am UTC](https://forum.ansible.com/t/ansible-0-8-error-on-centos5-typeerror-connect-got-an-unexpected-keyword-argument-transport/12018 "2012-10-24T03:08:51Z")

</div>

Hi all, I feel like I must be doing something wrong here, but I just pulled 0.8 from github and am running into the following error in the "GATHERING FACTS" phase. My server system is Centos 5.6 (and was working fin…

---

## [Anyone working on an ansible-vagrant like module for kvm?](https://forum.ansible.com/t/anyone-working-on-an-ansible-vagrant-like-module-for-kvm/12017)

<div class="topic-metadata">

**Author:** [@Jim\_Richardson](https://forum.ansible.com/u/Jim_Richardson)\
**Replies:** 2\
**Last updated:** [October 23, 2012, 6:48pm UTC](https://forum.ansible.com/t/anyone-working-on-an-ansible-vagrant-like-module-for-kvm/12017 "2012-10-23T18:48:03Z")

</div>

Anyone working on an ansible-vagrant like module for kvm? We have need of something like this, but virtual box doesn't work for us. Anyone stepping into the ring on this yet?

---

## [How to email task's status](https://forum.ansible.com/t/how-to-email-tasks-status/12014)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 9\
**Last updated:** [October 23, 2012, 3:19pm UTC](https://forum.ansible.com/t/how-to-email-tasks-status/12014 "2012-10-23T15:19:27Z")

</div>

I want to send email with task exit status after it is completed: Here is my playbook: name: deploy cfg hosts: all user: admin sudo: True tasks: name: copy cfg action: copy src=/var/repo/file.cfg dest=/etc/file…

---

## [fireball timeout](https://forum.ansible.com/t/fireball-timeout/12016)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 23, 2012, 11:34am UTC](https://forum.ansible.com/t/fireball-timeout/12016 "2012-10-23T11:34:54Z")

</div>

I'm sure there is. I've got a pretty large queue of things to look into over the next week or so, want to try to find out and send me a patch?

---

## [setting/accessing PATH](https://forum.ansible.com/t/setting-accessing-path/11996)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [October 22, 2012, 10:32pm UTC](https://forum.ansible.com/t/setting-accessing-path/11996 "2012-10-22T22:32:24Z")

</div>

Can you clarify about what you mean by the PATH is not being set correctly? Ansible does not modify the path at all. The shell module executes things through the actual shell. If you want to set the PATH through th…

---

## [ansible -m ping 127.0.0.1 failed](https://forum.ansible.com/t/ansible-m-ping-127-0-0-1-failed/12013)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 4\
**Last updated:** [October 22, 2012, 7:59pm UTC](https://forum.ansible.com/t/ansible-m-ping-127-0-0-1-failed/12013 "2012-10-22T19:59:53Z")

</div>

How do I enable debug or more verbose logging of errors? -v -v -v When running $ ansible -c ssh -m ping 127.0.0.1 Usage: ansible \<host-pattern\> \[options\] Try it like this: ansible 127.0.0.1 -m ping -c ssh

---

## [Templating sudoers - what could possibly go wrong...](https://forum.ansible.com/t/templating-sudoers-what-could-possibly-go-wrong/12015)

<div class="topic-metadata">

**Author:** [@Nigel\_Metheringham](https://forum.ansible.com/u/Nigel_Metheringham)\
**Replies:** 4\
**Last updated:** [October 22, 2012, 7:12pm UTC](https://forum.ansible.com/t/templating-sudoers-what-could-possibly-go-wrong/12015 "2012-10-22T19:12:41Z")

</div>

It looks very much as though, currently, doing this:- - name: Build sudo config file action: template src=templates/sudo/sudoers.j2 dest=/etc/sudoers owner=root group=root mode=0440 leads to much pa…

---

## [authorized\_key and $FILE macro](https://forum.ansible.com/t/authorized-key-and-file-macro/12012)

<div class="topic-metadata">

**Author:** [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Replies:** 2\
**Last updated:** [October 22, 2012, 3:24pm UTC](https://forum.ansible.com/t/authorized-key-and-file-macro/12012 "2012-10-22T15:24:52Z")

</div>

Hi, I performed some simple tests with the authorized\_key and $FILE macro and it seems to me that the $FILE macro needs to be quoted: tasks: - authorized\_key user=$item key=\*\*"\*\*$FILE(/keys/$user1)\*\*"\*\* with\_…

---

## [Ansible on Centos5 again](https://forum.ansible.com/t/ansible-on-centos5-again/11999)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [October 22, 2012, 8:03am UTC](https://forum.ansible.com/t/ansible-on-centos5-again/11999 "2012-10-22T08:03:56Z")

</div>

Not sure what "it still does not work" refers to. So my first question is, which is the stable release now? 0.7.2 Because somehow in http://ansible.cc/docs/gettingstarted.html is a ppa menioned for ubuntu https://…

---

## [Slides from PyCarolinas](https://forum.ansible.com/t/slides-from-pycarolinas/12010)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 6:26pm UTC](https://forum.ansible.com/t/slides-from-pycarolinas/12010 "2012-10-21T18:26:15Z")

</div>

Here are some slides from a talk I just gave. https://speakerdeck.com/u/mpdehaan/p/ansible-pycarolinas --Michael

---

## [Hostname to ip mapping](https://forum.ansible.com/t/hostname-to-ip-mapping/12008)

<div class="topic-metadata">

**Author:** [@Janis\_Gengeris](https://forum.ansible.com/u/Janis_Gengeris)\
**Replies:** 2\
**Last updated:** [October 21, 2012, 4:52pm UTC](https://forum.ansible.com/t/hostname-to-ip-mapping/12008 "2012-10-21T16:52:43Z")

</div>

I want to create similar mapping as in /etc/hosts , but local to use in Ansible, so that all the hostnames are independent of DNS or /etc/hosts and can be stored directly inside VCS. The motivation for this, usage of ho…

---

## [webmaster tools file](https://forum.ansible.com/t/webmaster-tools-file/12009)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 3:55pm UTC](https://forum.ansible.com/t/webmaster-tools-file/12009 "2012-10-21T15:55:26Z")

</div>

upload this

---

## [(Developers) what I'm working on now](https://forum.ansible.com/t/developers-what-im-working-on-now/12006)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [October 21, 2012, 2:55am UTC](https://forum.ansible.com/t/developers-what-im-working-on-now/12006 "2012-10-21T02:55:19Z")

</div>

I'm working on a fairly intrusive patch set that will make all the file module code live largely in Module Common, eliminating the need for daisy chaining for modules like get\_url, copy, template, and so on. No one s…

---

## [parsing error: colons in a playbook key value pair](https://forum.ansible.com/t/parsing-error-colons-in-a-playbook-key-value-pair/12002)

<div class="topic-metadata">

**Author:** [@Jonathan1](https://forum.ansible.com/u/Jonathan1)\
**Replies:** 4\
**Last updated:** [October 20, 2012, 4:15am UTC](https://forum.ansible.com/t/parsing-error-colons-in-a-playbook-key-value-pair/12002 "2012-10-20T04:15:08Z")

</div>

Having some trouble with having a colon as part of a playbook YAML key value pair using v0.7.1 playbook text:

---

## [LinkedIn group reminder](https://forum.ansible.com/t/linkedin-group-reminder/12004)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 1:37am UTC](https://forum.ansible.com/t/linkedin-group-reminder/12004 "2012-10-20T01:37:16Z")

</div>

Should you be interested in joining, Ansible has a LinkedIn group: http://www.linkedin.com/groups/Ansiblecc-4648083?gid=4648083 --Michael

---

## [Ansible 0.8 released!](https://forum.ansible.com/t/ansible-0-8-released/12003)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 1:31am UTC](https://forum.ansible.com/t/ansible-0-8-released/12003 "2012-10-20T01:31:56Z")

</div>

Hi all, Thank you all for helping make 0.8 what it is and helping get it out the door. I've written up a bit about the release here: http://michaeldehaan.net/post/33928796137/ansible-0-8-released-prepare-for-0-9 Ta…

---

## [hostvars in only\_if](https://forum.ansible.com/t/hostvars-in-only-if/11998)

<div class="topic-metadata">

**Author:** [@Grzegorz\_Nosek](https://forum.ansible.com/u/Grzegorz_Nosek)\
**Replies:** 5\
**Last updated:** [October 18, 2012, 6:05pm UTC](https://forum.ansible.com/t/hostvars-in-only-if/11998 "2012-10-18T18:05:10Z")

</div>

Hello again, I have the following inventory: \[physical\] somehost.example.com vpn\_ip=10.0.1.1 anotherhost.example.com vpn\_ip=10.0.2.1 differenthost.example.com and a task: hosts: vpn\_hub.example.com tasks: actio…

---

## [Per-host remote user](https://forum.ansible.com/t/per-host-remote-user/11997)

<div class="topic-metadata">

**Author:** [@Grzegorz\_Nosek](https://forum.ansible.com/u/Grzegorz_Nosek)\
**Replies:** 3\
**Last updated:** [October 18, 2012, 3:40pm UTC](https://forum.ansible.com/t/per-host-remote-user/11997 "2012-10-18T15:40:04Z")

</div>

Hi, Is is possible to specify a different user for a certain host? As in: host1 ansible\_remote\_user=foobar host2 host3 … I mostly care about the machine running ansible. I don’t give out root there to everybody who…

---

## [Summary of newly merged patches (since last update)](https://forum.ansible.com/t/summary-of-newly-merged-patches-since-last-update/11928)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 25\
**Last updated:** [October 18, 2012, 11:47am UTC](https://forum.ansible.com/t/summary-of-newly-merged-patches-since-last-update/11928 "2012-10-18T11:47:25Z")

</div>

Hi Everyone, Everybody's been busy and it's time for another update of all of the cool things I've merged lately. This is all in the changelog now, but here's an annotated explanation! === THE LIST == \* output on …

---

## [Provisioning Modules](https://forum.ansible.com/t/provisioning-modules/11978)

<div class="topic-metadata">

**Author:** [@Jeroen\_Hoekx](https://forum.ansible.com/u/Jeroen_Hoekx)\
**Replies:** 19\
**Last updated:** [October 18, 2012, 5:40am UTC](https://forum.ansible.com/t/provisioning-modules/11978 "2012-10-18T05:40:18Z")

</div>

So, Since it has been decided that the provisioning modules (esx\_, hpilo\_, virt\_ boot/facts) will not be in the ansible core, we've been thinking about giving them a good home where they get 'the attention they deser…

---

## ["Who Uses Ansible" page back up!](https://forum.ansible.com/t/who-uses-ansible-page-back-up/11995)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 18, 2012, 3:08am UTC](https://forum.ansible.com/t/who-uses-ansible-page-back-up/11995 "2012-10-18T03:08:14Z")

</div>

This page was missing for a while in the site redesign. It is now back. http://ansible.cc/docs/who\_uses\_ansible.html If you want your company added here to show some support for Ansible, just shoot me an email off li…

---

## [For those waiting on patches to ansible\_ssh\_port/delegate\_to on the head of the development branch](https://forum.ansible.com/t/for-those-waiting-on-patches-to-ansible-ssh-port-delegate-to-on-the-head-of-the-development-branch/11994)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [October 17, 2012, 11:25pm UTC](https://forum.ansible.com/t/for-those-waiting-on-patches-to-ansible-ssh-port-delegate-to-on-the-head-of-the-development-branch/11994 "2012-10-17T23:25:34Z")

</div>

I've pushed some changes that may make you happy. For what it's worth, here is my host file I use for testing that shows the host and port override syntax. \[main\] 127.0.0.1 \[delegates\] dnehost ansible\_ssh\_host=127.…

---

## [New user comments](https://forum.ansible.com/t/new-user-comments/11985)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 4\
**Last updated:** [October 17, 2012, 5:57am UTC](https://forum.ansible.com/t/new-user-comments/11985 "2012-10-17T05:57:16Z")

</div>

Just done my first ansible deployment today; very impressive how easy it is to get up and running! Thank you for releasing it. I have a few bits of feedback and questions. lineinfile regexp appears to be anchored, i.e…

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

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