# Latest

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

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

**Page:** 1047

---

## [new Debconf module - please review / comment](https://forum.ansible.com/t/new-debconf-module-please-review-comment/12578)

<div class="topic-metadata">

**Author:** [@Sebastien\_Bocahu](https://forum.ansible.com/u/Sebastien_Bocahu)\
**Replies:** 12\
**Last updated:** [May 6, 2013, 1:43pm UTC](https://forum.ansible.com/t/new-debconf-module-please-review-comment/12578 "2013-05-06T13:43:56Z")

</div>

Hi, Debconf and its pair tools can be used to reconfigure a Debian package, or to preconfigure packages before they get installed. It can be really handy, especially for web application packages in Debian such as rou…

---

## [Handling restarting of service in multiple playbook](https://forum.ansible.com/t/handling-restarting-of-service-in-multiple-playbook/12771)

<div class="topic-metadata">

**Author:** [@Nora\_Olsen](https://forum.ansible.com/u/Nora_Olsen)\
**Replies:** 2\
**Last updated:** [May 6, 2013, 12:17pm UTC](https://forum.ansible.com/t/handling-restarting-of-service-in-multiple-playbook/12771 "2013-05-06T12:17:04Z")

</div>

Hi, I have supervisord that is use to control multiple processes. I have a a playbook to configure each process and they write out the necessary supervisor conf files for the “include” section: \[include\] files = /etc…

---

## [help with user managment, migrating from puppet](https://forum.ansible.com/t/help-with-user-managment-migrating-from-puppet/12772)

<div class="topic-metadata">

**Author:** [@Hudec\_Peter](https://forum.ansible.com/u/Hudec_Peter)\
**Replies:** 0\
**Last updated:** [May 6, 2013, 7:10am UTC](https://forum.ansible.com/t/help-with-user-managment-migrating-from-puppet/12772 "2013-05-06T07:10:41Z")

</div>

Hi all, I'm migrating form puppet. The last playbook/manifest which is missing is the user management. On the puppet I wroute module and some libs an it worked like this I habe list of pall users in some array users…

---

## [Moving playbook syntax examples to ansible-examples repo](https://forum.ansible.com/t/moving-playbook-syntax-examples-to-ansible-examples-repo/12770)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 5, 2013, 6:18pm UTC](https://forum.ansible.com/t/moving-playbook-syntax-examples-to-ansible-examples-repo/12770 "2013-05-05T18:18:24Z")

</div>

Hi everyone, Just a quick note that I’ve moved the playbook language syntax examples from the “examples/playbooks” dir in the git checkout to the “ansible-examples” repo. This is so that more people can find them more …

---

## [More new modules in 1.2 - Amazon elastic load balancing, HipChat!](https://forum.ansible.com/t/more-new-modules-in-1-2-amazon-elastic-load-balancing-hipchat/12769)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 5, 2013, 6:13pm UTC](https://forum.ansible.com/t/more-new-modules-in-1-2-amazon-elastic-load-balancing-hipchat/12769 "2013-05-05T18:13:19Z")

</div>

I’ve just merged in two new modules for ELB management and hipchat. Both are pretty exciting, so check them out. I am hoping the Hipchat module inspires some more notification modules for things like IRC, Campfire, X1…

---

## [Ansible networking automation Survey - need your feedback!](https://forum.ansible.com/t/ansible-networking-automation-survey-need-your-feedback/12768)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 5, 2013, 2:24pm UTC](https://forum.ansible.com/t/ansible-networking-automation-survey-need-your-feedback/12768 "2013-05-05T14:24:09Z")

</div>

Hi everyone, As we’re looking to extend our network automation support, I’d like to get as much data as possible about what people are using. I’ve posted a short survey here - http://www.surveymonkey.com/s/SRDQ39Z - pl…

---

## [Creating directory based on dates](https://forum.ansible.com/t/creating-directory-based-on-dates/12767)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 4\
**Last updated:** [May 4, 2013, 3:00pm UTC](https://forum.ansible.com/t/creating-directory-based-on-dates/12767 "2013-05-04T15:00:52Z")

</div>

Look up “register” in the docs.

---

## [error with ec2 inventory variable](https://forum.ansible.com/t/error-with-ec2-inventory-variable/12716)

<div class="topic-metadata">

**Author:** [@Filip\_Slunecko](https://forum.ansible.com/u/Filip_Slunecko)\
**Replies:** 14\
**Last updated:** [May 4, 2013, 6:23am UTC](https://forum.ansible.com/t/error-with-ec2-inventory-variable/12716 "2013-05-04T06:23:24Z")

</div>

Hi, I am getting this error (part of a playbook included): http://pastie.org/7709606 Work flow: I will create nodes on EC2 and install them. Everything goes very until this line: when: “‘master’ in ec2\_tag\_Name and…

---

## [wildcard pattern for group membership](https://forum.ansible.com/t/wildcard-pattern-for-group-membership/12760)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 10\
**Last updated:** [May 3, 2013, 2:41pm UTC](https://forum.ansible.com/t/wildcard-pattern-for-group-membership/12760 "2013-05-03T14:41:44Z")

</div>

Michael, would you consider a patch to the ini inventory to allow putting certain hosts or groups in a particular group? e.g. something like \[development\] -dev- \[applicationservers: children\] app-\* Before you tell…

---

## [Basic playbook misconception](https://forum.ansible.com/t/basic-playbook-misconception/12753)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [May 3, 2013, 2:32pm UTC](https://forum.ansible.com/t/basic-playbook-misconception/12753 "2013-05-03T14:32:44Z")

</div>

tasks are a YAML list so you need: action action action

---

## [Mount module :: bug with bind option?](https://forum.ansible.com/t/mount-module-bug-with-bind-option/12694)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [May 3, 2013, 12:35pm UTC](https://forum.ansible.com/t/mount-module-bug-with-bind-option/12694 "2013-05-03T12:35:37Z")

</div>

Hi Nicolas, Just a quick check, but what version of Ansible are you using and what is your OS? I found a similar upstream bug about bind mounts here: https://bugzilla.redhat.com/show\_bug.cgi?id=712093 –Michael

---

## [Run handlers after a role](https://forum.ansible.com/t/run-handlers-after-a-role/12766)

<div class="topic-metadata">

**Author:** [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Replies:** 4\
**Last updated:** [May 3, 2013, 11:16am UTC](https://forum.ansible.com/t/run-handlers-after-a-role/12766 "2013-05-03T11:16:12Z")

</div>

Hi, I' m wondering if it would be an idea to add the option to run handlers from a role after each role when running several roles after each other Today we had the following issue : We have a role for iptables whic…

---

## [More local\_action and ansible\_python\_interpreters](https://forum.ansible.com/t/more-local-action-and-ansible-python-interpreters/12765)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 2\
**Last updated:** [May 3, 2013, 3:06am UTC](https://forum.ansible.com/t/more-local-action-and-ansible-python-interpreters/12765 "2013-05-03T03:06:35Z")

</div>

I hit a snag that occupied me for a good part of the day with how Ansible handles local actions and alternate paths to python interpreters. I saw that there has been some discussion over the months\[1,2\], but the resoluti…

---

## [Rolling updates to AWS EC2 instances attached to one or more ELBs](https://forum.ansible.com/t/rolling-updates-to-aws-ec2-instances-attached-to-one-or-more-elbs/12764)

<div class="topic-metadata">

**Author:** [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Replies:** 0\
**Last updated:** [May 3, 2013, 1:53am UTC](https://forum.ansible.com/t/rolling-updates-to-aws-ec2-instances-attached-to-one-or-more-elbs/12764 "2013-05-03T01:53:15Z")

</div>

Just finished updating this module which handles rolling upgrades in an AWS environment (registration and removal from attached ELBs). https://github.com/ansible/ansible/pull/2815

---

## [magic variable for roles?](https://forum.ansible.com/t/magic-variable-for-roles/12763)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [May 3, 2013, 12:37am UTC](https://forum.ansible.com/t/magic-variable-for-roles/12763 "2013-05-03T00:37:55Z")

</div>

Is there a magic variable to know which role a task is part of? I'd like to do something like this inside a role/\*/tasks/main.yml: - name: ${role} create conf directory command: mkdir /opt/${role}/conf

---

## [Is there a 1.2 equivilant of "when\_set: $var"?](https://forum.ansible.com/t/is-there-a-1-2-equivilant-of-when-set-var/12751)

<div class="topic-metadata">

**Author:** [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Replies:** 5\
**Last updated:** [May 2, 2013, 11:02pm UTC](https://forum.ansible.com/t/is-there-a-1-2-equivilant-of-when-set-var/12751 "2013-05-02T23:02:54Z")

</div>

I see this thread comes up in google: https://github.com/ansible/ansible/issues/2699 I’m finding that I often want to test if a variable is set before I run a task. Specifically I’m running into situations where I load …

---

## [config/data for inventory scripts](https://forum.ansible.com/t/config-data-for-inventory-scripts/12761)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 4\
**Last updated:** [May 2, 2013, 9:18pm UTC](https://forum.ansible.com/t/config-data-for-inventory-scripts/12761 "2013-05-02T21:18:27Z")

</div>

For inventory scripts, I’m looking for a place to put data files to inventory scripts. As inventory scripts do not know anything about some base dir, this needs to be in the scripts current dir, or some sub directory of…

---

## [AnsibleFest Speaker Agenda now posted](https://forum.ansible.com/t/ansiblefest-speaker-agenda-now-posted/12762)

<div class="topic-metadata">

**Author:** [@mujahideen.solutions](https://forum.ansible.com/u/mujahideen.solutions)\
**Replies:** 1\
**Last updated:** [May 2, 2013, 9:06pm UTC](https://forum.ansible.com/t/ansiblefest-speaker-agenda-now-posted/12762 "2013-05-02T21:06:36Z")

</div>

Oops, sent before I was done. Could you please record this and upload it to Youtube or something. Thanks

---

## [AnsibleFest Speaker Agenda now posted](https://forum.ansible.com/t/ansiblefest-speaker-agenda-now-posted/12735)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 1\
**Last updated:** [May 2, 2013, 8:54pm UTC](https://forum.ansible.com/t/ansiblefest-speaker-agenda-now-posted/12735 "2013-05-02T20:54:47Z")

</div>

The agenda / speakers list for AnsibleFest 2013 is now posted: http://www.ansibleworks.com/fest/ It will be held June 13th, Boston, at the Sheraton Boston Hotel. this is your queue to sign up! :slight\_smile:

---

## [Git module - SSH connection with keys](https://forum.ansible.com/t/git-module-ssh-connection-with-keys/12747)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 14\
**Last updated:** [May 2, 2013, 7:04pm UTC](https://forum.ansible.com/t/git-module-ssh-connection-with-keys/12747 "2013-05-02T19:04:22Z")

</div>

Would you mind sharing what you passed to GIT\_SSH, out of curiosity?

---

## [new-style variables and complex args](https://forum.ansible.com/t/new-style-variables-and-complex-args/12758)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 6\
**Last updated:** [May 2, 2013, 7:03pm UTC](https://forum.ansible.com/t/new-style-variables-and-complex-args/12758 "2013-05-02T19:03:32Z")

</div>

It seems the following thingies don't behave identically: These:

---

## [Per-task sudo officially supported?](https://forum.ansible.com/t/per-task-sudo-officially-supported/12759)

<div class="topic-metadata">

**Author:** [@Lorin\_Hochstein1](https://forum.ansible.com/u/Lorin_Hochstein1)\
**Replies:** 1\
**Last updated:** [May 2, 2013, 6:58pm UTC](https://forum.ansible.com/t/per-task-sudo-officially-supported/12759 "2013-05-02T18:58:43Z")

</div>

Is it possible to specify “sudo” at the task level instead of the play level, e.g.: tasks: command: whoami sudo: true I couldn’t find anything in the docs or examples about this, but it seems to work. Lorin

---

## [notification module](https://forum.ansible.com/t/notification-module/12750)

<div class="topic-metadata">

**Author:** [@shirou](https://forum.ansible.com/u/shirou)\
**Replies:** 5\
**Last updated:** [May 2, 2013, 5:29pm UTC](https://forum.ansible.com/t/notification-module/12750 "2013-05-02T17:29:36Z")

</div>

Hi, I wrote a notification module which sends message to hipchat. One of a use-case is notify after a long task.

---

## [Tracking the progress of a file being uploaded from local to remote machine](https://forum.ansible.com/t/tracking-the-progress-of-a-file-being-uploaded-from-local-to-remote-machine/12756)

<div class="topic-metadata">

**Author:** [@David\_Wu1](https://forum.ansible.com/u/David_Wu1)\
**Replies:** 3\
**Last updated:** [May 2, 2013, 4:45pm UTC](https://forum.ansible.com/t/tracking-the-progress-of-a-file-being-uploaded-from-local-to-remote-machine/12756 "2013-05-02T16:45:09Z")

</div>

Hi, In my playbook I have a task that copies a large file from local machine to the remote host: name: Upload a large file that is roughly 10MB copy: src=/a\_large\_file dest=/tmp/a\_large\_file The task can be comple…

---

## [ec2.py as inventory script and custom SSH port](https://forum.ansible.com/t/ec2-py-as-inventory-script-and-custom-ssh-port/12746)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [May 2, 2013, 4:18pm UTC](https://forum.ansible.com/t/ec2-py-as-inventory-script-and-custom-ssh-port/12746 "2013-05-02T16:18:41Z")

</div>

the variable ANSIBLE\_SSH\_PORT only sets the default and is a bit of a legacy way to set things anyway. You want to set the following in an inventory variable: ansible\_ssh\_port If you are using the ec2 inventory script…

---

## [Simple Question: Does all my "target" nodes need to have python on them?](https://forum.ansible.com/t/simple-question-does-all-my-target-nodes-need-to-have-python-on-them/12755)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 1\
**Last updated:** [May 2, 2013, 3:12pm UTC](https://forum.ansible.com/t/simple-question-does-all-my-target-nodes-need-to-have-python-on-them/12755 "2013-05-02T15:12:06Z")

</div>

You can use the “raw” module in this case, but to be largely useful you do want Python, as most of the modules require python. For devices that have an API, local\_action can be used to run modules against other boxes ov…

---

## [change in service module 1.1 -\> 1.2 for Solaris 10](https://forum.ansible.com/t/change-in-service-module-1-1-1-2-for-solaris-10/12752)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 1\
**Last updated:** [May 2, 2013, 12:05pm UTC](https://forum.ansible.com/t/change-in-service-module-1-1-1-2-for-solaris-10/12752 "2013-05-02T12:05:39Z")

</div>

Something changed in the service module, when run on Solaris (v10): with ansible 1.1, OK: {“changed”: true, “item”: “”, “name”: “svc:/application/tomcat-6035-01:default”, “state”: “started”} with ansible 1.2, error: {…

---

## [(1.2) Categorized modules directory, organized modules documentation](https://forum.ansible.com/t/1-2-categorized-modules-directory-organized-modules-documentation/12730)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 5\
**Last updated:** [May 2, 2013, 12:02pm UTC](https://forum.ansible.com/t/1-2-categorized-modules-directory-organized-modules-documentation/12730 "2013-05-02T12:02:12Z")

</div>

It has been a popular request that since our modules list was growing very very long, that we have some way to categorize and sort them. Not just for documentation, but just also in the source tree. I’ve done this, as y…

---

## [issue with template with 1.2 and python 2.6.8](https://forum.ansible.com/t/issue-with-template-with-1-2-and-python-2-6-8/12749)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [May 1, 2013, 11:38pm UTC](https://forum.ansible.com/t/issue-with-template-with-1-2-and-python-2-6-8/12749 "2013-05-01T23:38:54Z")

</div>

I'm running into a weird issue with the template module: ansible --version ansible 1.2 (devel 2cf30148ba) last updated 2013/05/01 16:29:24 (GMT -600) python --version Python 2.6.8 Note that this issue does not happe…

---

## [Git module - SSH connection with keys](https://forum.ansible.com/t/git-module-ssh-connection-with-keys/12314)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [May 1, 2013, 1:01pm UTC](https://forum.ansible.com/t/git-module-ssh-connection-with-keys/12314 "2013-05-01T13:01:44Z")

</div>

Howdy all, Re: this previous discussion, I've been thinking about patching the git module to allow the specifying of a user, a private key, and a password to unlock the key for git to use when communicating with a …

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

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