# Latest

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

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

**Page:** 1084

---

## [Concatenation of vars ?](https://forum.ansible.com/t/concatenation-of-vars/11583)

<div class="topic-metadata">

**Author:** [@ansibleguest](https://forum.ansible.com/u/ansibleguest)\
**Replies:** 1\
**Last updated:** [May 29, 2012, 12:05pm UTC](https://forum.ansible.com/t/concatenation-of-vars/11583 "2012-05-29T12:05:11Z")

</div>

Hi, i am new to ansible and just rewrote some puppet-recipe with ansible now... I am looking for a way to reassign and also concatenate variables ? user: myuser vars: base: /opt/productsuite vars\_files: …

---

## [Print vars to playbook logfile ?](https://forum.ansible.com/t/print-vars-to-playbook-logfile/11585)

<div class="topic-metadata">

**Author:** [@ansibleguest](https://forum.ansible.com/u/ansibleguest)\
**Replies:** 1\
**Last updated:** [May 29, 2012, 11:43am UTC](https://forum.ansible.com/t/print-vars-to-playbook-logfile/11585 "2012-05-29T11:43:48Z")

</div>

Is there an easy way to print variables into the logfile output when the playbook while running ? That would really help upon debugging to see what is in a variable at runtime....

---

## ["change handler (r) is not defined" problem](https://forum.ansible.com/t/change-handler-r-is-not-defined-problem/11581)

<div class="topic-metadata">

**Author:** [@Duy\_Thang](https://forum.ansible.com/u/Duy_Thang)\
**Replies:** 1\
**Last updated:** [May 29, 2012, 1:12am UTC](https://forum.ansible.com/t/change-handler-r-is-not-defined-problem/11581 "2012-05-29T01:12:51Z")

</div>

Hello, I’m using ansible-0.4 and have a problem. I write a play to update openssh-server pkg, copy new sshd config to server, then restart the sshd service. The first time I run the playbook, it’s works. But when I reru…

---

## [Variables not getting expanded in the template module in ansible 0.4](https://forum.ansible.com/t/variables-not-getting-expanded-in-the-template-module-in-ansible-0-4/11578)

<div class="topic-metadata">

**Author:** [@Cosmin\_Luta](https://forum.ansible.com/u/Cosmin_Luta)\
**Replies:** 3\
**Last updated:** [May 26, 2012, 11:23pm UTC](https://forum.ansible.com/t/variables-not-getting-expanded-in-the-template-module-in-ansible-0-4/11578 "2012-05-26T23:23:57Z")

</div>

Given this playbook: hosts: machines tasks: include: atask.yaml foo=“bar” and the atask.yaml file:

---

## [(Devel) refactoring of playbooks pushed for 0.5](https://forum.ansible.com/t/devel-refactoring-of-playbooks-pushed-for-0-5/11577)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 26, 2012, 1:35pm UTC](https://forum.ansible.com/t/devel-refactoring-of-playbooks-pushed-for-0-5/11577 "2012-05-26T13:35:07Z")

</div>

I've pushed some code improvements. This is not to say we're done with this, but it is probably good enough to start accepting patches to the codebase again. It makes playbook code \*much\* easier to understand, and al…

---

## [Repository for non-core modules: sketching goals and guidelines](https://forum.ansible.com/t/repository-for-non-core-modules-sketching-goals-and-guidelines/11569)

<div class="topic-metadata">

**Author:** [@Brad\_Olson](https://forum.ansible.com/u/Brad_Olson)\
**Replies:** 12\
**Last updated:** [May 25, 2012, 10:12pm UTC](https://forum.ansible.com/t/repository-for-non-core-modules-sketching-goals-and-guidelines/11569 "2012-05-25T22:12:09Z")

</div>

Last week I said I'd be willing to vet a repository for modules that aren't in ansible's core library, but are still useful. The concept is simple, but when I started to sketch out a draft README.md at https://github.…

---

## [Using Wildcard (\*) Hosts in the Playbook ?](https://forum.ansible.com/t/using-wildcard-hosts-in-the-playbook/11575)

<div class="topic-metadata">

**Author:** [@Kumar3](https://forum.ansible.com/u/Kumar3)\
**Replies:** 3\
**Last updated:** [May 25, 2012, 5:37pm UTC](https://forum.ansible.com/t/using-wildcard-hosts-in-the-playbook/11575 "2012-05-25T17:37:01Z")

</div>

Hi: I am trying to use the wildcards in the inventory file referenced in a playbook, and looks like it is not working. Inventory File: \[home\] 192.168.0.\* PlayBook: - hosts: home user: root tasks: Error: P…

---

## [Plans for 0.5 ("Amsterdam") -- short and long term](https://forum.ansible.com/t/plans-for-0-5-amsterdam-short-and-long-term/11573)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [May 24, 2012, 11:39am UTC](https://forum.ansible.com/t/plans-for-0-5-amsterdam-short-and-long-term/11573 "2012-05-24T11:39:52Z")

</div>

Wham bam, Amsterdam. 0.5 now begins. Here is what's going to happen over the next week and beyond. There are a good set of pull requests to merge in. Some may merge in soon, the rest within a week or so, as I need …

---

## [Ansible 0.4 released --](https://forum.ansible.com/t/ansible-0-4-released/11572)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [May 24, 2012, 2:17am UTC](https://forum.ansible.com/t/ansible-0-4-released/11572 "2012-05-24T02:17:57Z")

</div>

Or should I say, hits the ground running. This is a huge release, namely because of the breadth of contribution here. Contributions include: Michael DeHaan (135), Jeroen Hoekx (25), Seth Vidal (15), Stephen Fromm …

---

## [Accessing "Ansible Variables" in custom modules ?](https://forum.ansible.com/t/accessing-ansible-variables-in-custom-modules/11571)

<div class="topic-metadata">

**Author:** [@Kumar3](https://forum.ansible.com/u/Kumar3)\
**Replies:** 1\
**Last updated:** [May 24, 2012, 12:23am UTC](https://forum.ansible.com/t/accessing-ansible-variables-in-custom-modules/11571 "2012-05-24T00:23:21Z")

</div>

Hi : Is there anyway to access the setup module variables in a custom built modules ? Are there variables passed to the modules. Thanks,

---

## [playboook syntax?](https://forum.ansible.com/t/playboook-syntax/11568)

<div class="topic-metadata">

**Author:** [@Andreas\_Davour](https://forum.ansible.com/u/Andreas_Davour)\
**Replies:** 5\
**Last updated:** [May 23, 2012, 2:35pm UTC](https://forum.ansible.com/t/playboook-syntax/11568 "2012-05-23T14:35:32Z")

</div>

I still have some problems with the yaml syntax, or something is broken in the parsing (which seems less likely). \[root@se1ts00x andreasda\]# ansible-playbook playbook-tc2-resolver.yaml -k SSH password: Traceback (most…

---

## [Can not build rpm from src](https://forum.ansible.com/t/can-not-build-rpm-from-src/11567)

<div class="topic-metadata">

**Author:** [@Andreas\_Davour](https://forum.ansible.com/u/Andreas_Davour)\
**Replies:** 3\
**Last updated:** [May 23, 2012, 12:58pm UTC](https://forum.ansible.com/t/can-not-build-rpm-from-src/11567 "2012-05-23T12:58:26Z")

</div>

I have some problems building rpms from the source. This is what I did. wget https://github.com/downloads/ansible/ansible/ansible-0.3.1.tar.gz tar zxvf ansible-0.3.1.tar.gz cd ansible-0.3.1 make rpm Then I get the f…

---

## [chaining modules](https://forum.ansible.com/t/chaining-modules/11565)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 2\
**Last updated:** [May 21, 2012, 5:18pm UTC](https://forum.ansible.com/t/chaining-modules/11565 "2012-05-21T17:18:29Z")

</div>

Ansible has a concept of chaining modules – e.g., template both templates and then uploads. I’m working on an ldap module that, naturally, takes and ldif file as an argument. Present usage is like so: name: create tem…

---

## [Installing ansible (setuptools woes)](https://forum.ansible.com/t/installing-ansible-setuptools-woes/11566)

<div class="topic-metadata">

**Author:** [@Pas](https://forum.ansible.com/u/Pas)\
**Replies:** 1\
**Last updated:** [May 21, 2012, 12:05pm UTC](https://forum.ansible.com/t/installing-ansible-setuptools-woes/11566 "2012-05-21T12:05:56Z")

</div>

Hello! I have successfully installed ansible, but it unearthed an ugly question regarding setuptools and distutils. I have both installed, but I still get the following error: /usr/lib/python2.7/distutils/dist.py:267: …

---

## [hosts vs groups ini-style config](https://forum.ansible.com/t/hosts-vs-groups-ini-style-config/11563)

<div class="topic-metadata">

**Author:** [@Matt\_Goodall](https://forum.ansible.com/u/Matt_Goodall)\
**Replies:** 6\
**Last updated:** [May 20, 2012, 1:52pm UTC](https://forum.ansible.com/t/hosts-vs-groups-ini-style-config/11563 "2012-05-20T13:52:30Z")

</div>

Hi, I realise I'm very new to this project, so I put on my flame-proof jacket before posting this ;-), but I \*believe\* the .ini style inventory can be simplified and perhaps made a little more consistent. It seems to…

---

## [included task vars and templates](https://forum.ansible.com/t/included-task-vars-and-templates/11561)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 9\
**Last updated:** [May 19, 2012, 11:57pm UTC](https://forum.ansible.com/t/included-task-vars-and-templates/11561 "2012-05-19T23:57:40Z")

</div>

Given this playbook:

---

## [More newbie-oriented documentation about variables and their use?](https://forum.ansible.com/t/more-newbie-oriented-documentation-about-variables-and-their-use/11508)

<div class="topic-metadata">

**Author:** [@John\_Callender](https://forum.ansible.com/u/John_Callender)\
**Replies:** 3\
**Last updated:** [May 19, 2012, 9:45pm UTC](https://forum.ansible.com/t/more-newbie-oriented-documentation-about-variables-and-their-use/11508 "2012-05-19T21:45:44Z")

</div>

As I work through my Ansible education, I’m currently trying to understand variables. I wonder if the online docs would be improved by breaking out the discussion of variables onto a separate page. Currently there is som…

---

## [Hosts in multiple groups fix pushed for 0.4, release go for launch...](https://forum.ansible.com/t/hosts-in-multiple-groups-fix-pushed-for-0-4-release-go-for-launch/11562)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 19, 2012, 9:29pm UTC](https://forum.ansible.com/t/hosts-in-multiple-groups-fix-pushed-for-0-4-release-go-for-launch/11562 "2012-05-19T21:29:30Z")

</div>

To give everyone some last chances to test things, I'm planning on doing all the release magic Wednesday night. I also merged in Rodney Quillo's addition of "service state=reloaded" since that should prove useful. --Mi…

---

## [missing vars and utils.template](https://forum.ansible.com/t/missing-vars-and-utils-template/11560)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 3\
**Last updated:** [May 19, 2012, 3:23pm UTC](https://forum.ansible.com/t/missing-vars-and-utils-template/11560 "2012-05-19T15:23:17Z")

</div>

I just realized for the thousandth time or thereabouts that utils.template silently lets undefined vars pass through playbooks. I’m not sure what the best solution would be, but I see a couple possible solutions: GIven …

---

## [included task vars](https://forum.ansible.com/t/included-task-vars/11559)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 6\
**Last updated:** [May 19, 2012, 2:43pm UTC](https://forum.ansible.com/t/included-task-vars/11559 "2012-05-19T14:43:51Z")

</div>

When trying to get various groups of tasks working nicely from a master playbook… I find the following problem (this is for slapd+ssl): slapd-install.yaml hosts: all vars: openssl: ../openssl/ tasks: include: tasks/…

---

## [Running a task as a user](https://forum.ansible.com/t/running-a-task-as-a-user/11557)

<div class="topic-metadata">

**Author:** [@Ted\_Suzman](https://forum.ansible.com/u/Ted_Suzman)\
**Replies:** 3\
**Last updated:** [May 18, 2012, 10:23pm UTC](https://forum.ansible.com/t/running-a-task-as-a-user/11557 "2012-05-18T22:23:48Z")

</div>

It’d be helpful if there were a way to run a task as a particular user. For example, I’d like to use an unprivelged user to checkout an application with the git module, but then need root to restart the application wit…

---

## [Module lookup](https://forum.ansible.com/t/module-lookup/11558)

<div class="topic-metadata">

**Author:** [@Matt\_Goodall](https://forum.ansible.com/u/Matt_Goodall)\
**Replies:** 2\
**Last updated:** [May 18, 2012, 8:10pm UTC](https://forum.ansible.com/t/module-lookup/11558 "2012-05-18T20:10:19Z")

</div>

Hi, I wrote a simple module this afternoon and then discovered that it really needs to be copied to the single, shared Ansible module directory to be found by a playbook. I would like to extend the module lookup to s…

---

## [Three module conventions to consider.](https://forum.ansible.com/t/three-module-conventions-to-consider/11549)

<div class="topic-metadata">

**Author:** [@Brad\_Olson](https://forum.ansible.com/u/Brad_Olson)\
**Replies:** 4\
**Last updated:** [May 18, 2012, 4:08pm UTC](https://forum.ansible.com/t/three-module-conventions-to-consider/11549 "2012-05-18T16:08:42Z")

</div>

Just wondering about a couple module conventions that are developing as I read and write modules. 1. Boolean params. This one I feel pretty strongly about. While I'm glad that ansible is flexible about how modules are…

---

## [Via twitter: vagrant-ansible](https://forum.ansible.com/t/via-twitter-vagrant-ansible/11555)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [May 18, 2012, 7:28am UTC](https://forum.ansible.com/t/via-twitter-vagrant-ansible/11555 "2012-05-18T07:28:11Z")

</div>

http://rubygems.org/gems/vagrant-ansible Is Dominik in the house? Should be interesting for those that use Vagrant. –Michael

---

## [play level notifications](https://forum.ansible.com/t/play-level-notifications/11556)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 1\
**Last updated:** [May 18, 2012, 2:23am UTC](https://forum.ansible.com/t/play-level-notifications/11556 "2012-05-18T02:23:01Z")

</div>

For a future release, I would like to propose a feature that would allow a ‘global’ notification parameter. The specified handler(s) would fire if any of the tasks in the play registered a change. This would be handy whe…

---

## [0.4 release status (question)](https://forum.ansible.com/t/0-4-release-status-question/11554)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 17, 2012, 11:12am UTC](https://forum.ansible.com/t/0-4-release-status-question/11554 "2012-05-17T11:12:00Z")

</div>

So, There are only two bugs I would consider POSSIBLY blocking 0.4. (A) Multiple groups appear to not work correctly with the INI format file (not sure about YAML format, but needs testing). https://github.com/ansible…

---

## [ansible-playbook hanging after SETUP PHASE on ubuntu 12.04](https://forum.ansible.com/t/ansible-playbook-hanging-after-setup-phase-on-ubuntu-12-04/11553)

<div class="topic-metadata">

**Author:** [@Dominik\_Sander](https://forum.ansible.com/u/Dominik_Sander)\
**Replies:** 4\
**Last updated:** [May 17, 2012, 10:34am UTC](https://forum.ansible.com/t/ansible-playbook-hanging-after-setup-phase-on-ubuntu-12-04/11553 "2012-05-17T10:34:27Z")

</div>

Hi, i discussed this issue on IRC with cocopy and mgw, cocopy requested to post it on the mailing list. I set up a ubuntu 12.04 machine via vagrant, the ssh connection works fine: ansible --user=vagrant --inventory-fi…

---

## [Weird ansible-playbook behaviour when trying to start rabbitmq-server 2.8.2](https://forum.ansible.com/t/weird-ansible-playbook-behaviour-when-trying-to-start-rabbitmq-server-2-8-2/11551)

<div class="topic-metadata">

**Author:** [@Cosmin\_Luta](https://forum.ansible.com/u/Cosmin_Luta)\
**Replies:** 2\
**Last updated:** [May 17, 2012, 6:15am UTC](https://forum.ansible.com/t/weird-ansible-playbook-behaviour-when-trying-to-start-rabbitmq-server-2-8-2/11551 "2012-05-17T06:15:27Z")

</div>

I have a weird bug here and I don’t really know what’s causing the issue, maybe some of you have any ideas. I have an Ubuntu 12.04 amd64 machine with the latest rabbitmq-server package installed (version 2.8.2 , from he…

---

## [YUM features: groupinstall and enable/disable repo](https://forum.ansible.com/t/yum-features-groupinstall-and-enable-disable-repo/11552)

<div class="topic-metadata">

**Author:** [@Mike\_Grozak](https://forum.ansible.com/u/Mike_Grozak)\
**Replies:** 6\
**Last updated:** [May 16, 2012, 9:20pm UTC](https://forum.ansible.com/t/yum-features-groupinstall-and-enable-disable-repo/11552 "2012-05-16T21:20:17Z")

</div>

Dear Ansible Team and Users, 1) Could you please tell me, is it possible to implement the installation of the packages from the certain repositories without enabling them globally? 2) Can I install group of packages,…

---

## [Working on "line" module](https://forum.ansible.com/t/working-on-line-module/11547)

<div class="topic-metadata">

**Author:** [@Art\_Zemon](https://forum.ansible.com/u/Art_Zemon)\
**Replies:** 11\
**Last updated:** [May 16, 2012, 9:18pm UTC](https://forum.ansible.com/t/working-on-line-module/11547 "2012-05-16T21:18:32Z")

</div>

Folks, I am writing my “line” module, which will extend the semantics of managing one file within a filesystem to managing one line within one file within a filesystem. I have a few goals in mind here: Simple and decl…

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

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