# Latest

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

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

**Page:** 990

---

## [Using user-specific settings with Vagrant and shared playbooks](https://forum.ansible.com/t/using-user-specific-settings-with-vagrant-and-shared-playbooks/14614)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 0\
**Last updated:** [February 21, 2014, 12:14am UTC](https://forum.ansible.com/t/using-user-specific-settings-with-vagrant-and-shared-playbooks/14614 "2014-02-21T00:14:07Z")

</div>

I’m using Ansible with Vagrant. I’m planning to store the playbooks and Vagrantfiles in version control, so everyone on my team can all create similar virtual machines for testing. But some Ansible variables and tasks s…

---

## [Combining lists](https://forum.ansible.com/t/combining-lists/14607)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 2\
**Last updated:** [February 20, 2014, 11:39pm UTC](https://forum.ansible.com/t/combining-lists/14607 "2014-02-20T23:39:47Z")

</div>

I’d like to be able to do the following, hopefully someone can point me to a simple way to do it. I have two lists, one contains vars for all hosts another vars for a specific host. I’d like to join them into a single l…

---

## [New AWS module: ec2\_emr](https://forum.ansible.com/t/new-aws-module-ec2-emr/14609)

<div class="topic-metadata">

**Author:** [@Alexander\_Popov](https://forum.ansible.com/u/Alexander_Popov)\
**Replies:** 2\
**Last updated:** [February 20, 2014, 11:14pm UTC](https://forum.ansible.com/t/new-aws-module-ec2-emr/14609 "2014-02-20T23:14:34Z")

</div>

I am developing ec2\_emr module to mimic elastic-mapreduce cli developed by Richard@AWS: http://aws.amazon.com/developertools/Elastic-MapReduce/2264 Concerns, objections, functionality request? Besides the module develop…

---

## [generate config file from template with N dimensional array](https://forum.ansible.com/t/generate-config-file-from-template-with-n-dimensional-array/14605)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 1\
**Last updated:** [February 20, 2014, 10:41pm UTC](https://forum.ansible.com/t/generate-config-file-from-template-with-n-dimensional-array/14605 "2014-02-20T22:41:37Z")

</div>

I use roles and testXX/group\_vars/all to define a great many things for each environments. I have to build xml files that contain two values at least in each iteration. The example below has pool1 and pool2, and within …

---

## [Improvement for all ec2\_\* modules: support aws tagging](https://forum.ansible.com/t/improvement-for-all-ec2-modules-support-aws-tagging/14610)

<div class="topic-metadata">

**Author:** [@Alexander\_Popov](https://forum.ansible.com/u/Alexander_Popov)\
**Replies:** 0\
**Last updated:** [February 20, 2014, 9:32pm UTC](https://forum.ansible.com/t/improvement-for-all-ec2-modules-support-aws-tagging/14610 "2014-02-20T21:32:33Z")

</div>

I would like to add tagging capability to all ec2\_\* modules a la ec2’s ‘instance\_tags’ so I don’t have to setup another task just to invoke ec2\_tag module after every ec2 instance I provision. In some cases, such as vol…

---

## [action\_plugins are not loaded relative to current playbook](https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606)

<div class="topic-metadata">

**Author:** [@Dmitry\_Horbach](https://forum.ansible.com/u/Dmitry_Horbach)\
**Replies:** 2\
**Last updated:** [February 20, 2014, 7:02pm UTC](https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606 "2014-02-20T19:02:41Z")

</div>

Hi All, Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible. Based on action\_plugins are not loaded relative to current playbook · Issue #6089 · ansible/ansible ·…

---

## [Ansible Vault is now merged into devel (1.5)](https://forum.ansible.com/t/ansible-vault-is-now-merged-into-devel-1-5/14603)

<div class="topic-metadata">

**Author:** [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Replies:** 9\
**Last updated:** [February 20, 2014, 6:48pm UTC](https://forum.ansible.com/t/ansible-vault-is-now-merged-into-devel-1-5/14603 "2014-02-20T18:48:55Z")

</div>

We just merged a new feature called “Ansible Vault” to devel (1.5). Please read through Michael Dehaan’s blog post about the tools for basic usage: http://blog.ansibleworks.com/2014/02/19/ansible-vault/ Follow the typi…

---

## [Why doesn't Ansible create uwsgi configuration files?](https://forum.ansible.com/t/why-doesnt-ansible-create-uwsgi-configuration-files/14592)

<div class="topic-metadata">

**Author:** [@Alex\_Chumbley](https://forum.ansible.com/u/Alex_Chumbley)\
**Replies:** 3\
**Last updated:** [February 20, 2014, 10:02am UTC](https://forum.ansible.com/t/why-doesnt-ansible-create-uwsgi-configuration-files/14592 "2014-02-20T10:02:51Z")

</div>

I have used Ansible to set up a hosted flask app on EC2 as described here. However, I’m getting errors like 2014/02/18 19:14:56 \[error\] 31891#0: \*8 connect() to unix:/tmp/pile.sock failed (111: Connection refused) while…

---

## [calling external program and get output into a variable ?](https://forum.ansible.com/t/calling-external-program-and-get-output-into-a-variable/11935)

<div class="topic-metadata">

**Author:** [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Replies:** 15\
**Last updated:** [February 20, 2014, 1:03am UTC](https://forum.ansible.com/t/calling-external-program-and-get-output-into-a-variable/11935 "2014-02-20T01:03:27Z")

</div>

Hi. is there a way to call a python program ( or any other script) and get the output on a variable ? Thanks.

---

## [Resolve nested variable in template](https://forum.ansible.com/t/resolve-nested-variable-in-template/14600)

<div class="topic-metadata">

**Author:** [@Khuong\_Dinh\_Pham](https://forum.ansible.com/u/Khuong_Dinh_Pham)\
**Replies:** 7\
**Last updated:** [February 19, 2014, 8:21pm UTC](https://forum.ansible.com/t/resolve-nested-variable-in-template/14600 "2014-02-19T20:21:18Z")

</div>

Hi I want to generate the variable names based on another variable value. Something like this: Vars: environements: \[“trunk”, “dev01”\] my\_trunk\_port: 8080 my\_dev01\_port: 8180 Template: {{ my\_{{ env }}\_port }}

---

## [ValueError with pip virtualenv](https://forum.ansible.com/t/valueerror-with-pip-virtualenv/14595)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 3\
**Last updated:** [February 19, 2014, 7:32pm UTC](https://forum.ansible.com/t/valueerror-with-pip-virtualenv/14595 "2014-02-19T19:32:59Z")

</div>

This is my first time using virtualenv options with pip. I was finding that i got errors about wheel if i installed pip without the no-use-wheel, so i pass it in as extra\_args name: Upgrade setuptools pip: virtualenv…

---

## [Documentation Question](https://forum.ansible.com/t/documentation-question/14601)

<div class="topic-metadata">

**Author:** [@David\_Adams](https://forum.ansible.com/u/David_Adams)\
**Replies:** 3\
**Last updated:** [February 19, 2014, 3:27pm UTC](https://forum.ansible.com/t/documentation-question/14601 "2014-02-19T15:27:25Z")

</div>

As I’ve been exploring Ansible, I sometimes run into situations where I’m not sure if some certain syntax is allowed in certain situations, or conversely I’ll discover in an unrelated example some new syntax combination …

---

## [Rolling updates with loadbalancers and backends on different ports...](https://forum.ansible.com/t/rolling-updates-with-loadbalancers-and-backends-on-different-ports/14602)

<div class="topic-metadata">

**Author:** [@Juri\_Rischel\_Jensen](https://forum.ansible.com/u/Juri_Rischel_Jensen)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 3:11pm UTC](https://forum.ansible.com/t/rolling-updates-with-loadbalancers-and-backends-on-different-ports/14602 "2014-02-19T15:11:46Z")

</div>

Hi all, I have a problem with the rolling update functionality. I have some loadbalancers and some backend servers, and need to disable the backend servers, one by one, in the loadbalancers during the upgrade. My initia…

---

## [call python function from Ansible template](https://forum.ansible.com/t/call-python-function-from-ansible-template/14591)

<div class="topic-metadata">

**Author:** [@Khuong\_Dinh\_Pham](https://forum.ansible.com/u/Khuong_Dinh_Pham)\
**Replies:** 4\
**Last updated:** [February 19, 2014, 1:48pm UTC](https://forum.ansible.com/t/call-python-function-from-ansible-template/14591 "2014-02-19T13:48:15Z")

</div>

Hi Is it possible to call a python function from Ansible template? Something like this: {{ add\_number(input) }}

---

## [A plugin for task timings](https://forum.ansible.com/t/a-plugin-for-task-timings/14598)

<div class="topic-metadata">

**Author:** [@Jharrod\_LaFon](https://forum.ansible.com/u/Jharrod_LaFon)\
**Replies:** 1\
**Last updated:** [February 19, 2014, 12:55pm UTC](https://forum.ansible.com/t/a-plugin-for-task-timings/14598 "2014-02-19T12:55:20Z")

</div>

I’m posting this here in case anyone finds it useful. I’ve written a very simple plugin that prints out the most expensive tasks, and their timings. The source is on GitHub at https://github.com/jlafon/ansible-profile. …

---

## [Request for feedback: support for realtime output pull request](https://forum.ansible.com/t/request-for-feedback-support-for-realtime-output-pull-request/14586)

<div class="topic-metadata">

**Author:** [@Lorin\_Hochstein](https://forum.ansible.com/u/Lorin_Hochstein)\
**Replies:** 3\
**Last updated:** [February 19, 2014, 2:28am UTC](https://forum.ansible.com/t/request-for-feedback-support-for-realtime-output-pull-request/14586 "2014-02-19T02:28:39Z")

</div>

Hi all: I submitted a pull request to implement realtime output: https://github.com/ansible/ansible/pull/6035/ Since the proposed patch is large, Michael suggested starting a thread on the mailing list to discuss it. I…

---

## [Trying to create multiple groups, receiving generic YAML syntax error](https://forum.ansible.com/t/trying-to-create-multiple-groups-receiving-generic-yaml-syntax-error/14596)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 2:27am UTC](https://forum.ansible.com/t/trying-to-create-multiple-groups-receiving-generic-yaml-syntax-error/14596 "2014-02-19T02:27:15Z")

</div>

Hi Lars, Looks like you need to start the play with “-” as the indent of 3 spaces to start is weird. Take a look at github.com/ansible/ansible-examples for a few examples. Also for future reference this is probably a …

---

## [command and shell: add unchanged=True](https://forum.ansible.com/t/command-and-shell-add-unchanged-true/12325)

<div class="topic-metadata">

**Author:** [@Blair\_Zajac](https://forum.ansible.com/u/Blair_Zajac)\
**Replies:** 11\
**Last updated:** [February 19, 2014, 2:03am UTC](https://forum.ansible.com/t/command-and-shell-add-unchanged-true/12325 "2014-02-19T02:03:00Z")

</div>

I have a task to clean up unneeded Debian packages after installing a system: - name: apt-get clean action: command apt-get clean I don't need this task to report as changing the system, and if ansible doesn't repo…

---

## [gathering facts problem](https://forum.ansible.com/t/gathering-facts-problem/14593)

<div class="topic-metadata">

**Author:** [@Cong](https://forum.ansible.com/u/Cong)\
**Replies:** 1\
**Last updated:** [February 19, 2014, 1:24am UTC](https://forum.ansible.com/t/gathering-facts-problem/14593 "2014-02-19T01:24:17Z")

</div>

This is my playbook (dbmaster.yml) hosts: dbmasters remote\_user: root roles: common dbmaster if I run this. it will work fine sudo -u test ansible-playbook dbmasters.yml however if I run it on one specific host …

---

## [volumes parameter in ec2 module](https://forum.ansible.com/t/volumes-parameter-in-ec2-module/14590)

<div class="topic-metadata">

**Author:** [@Fred\_Badel](https://forum.ansible.com/u/Fred_Badel)\
**Replies:** 4\
**Last updated:** [February 18, 2014, 10:24pm UTC](https://forum.ansible.com/t/volumes-parameter-in-ec2-module/14590 "2014-02-18T22:24:45Z")

</div>

Hello, I am trying to create an ec2 instance with specific volumes requirement … but I keep getting a “this module requires key=value arguments” error message. Looking closer at ansible output (see below), it looks lik…

---

## [Test if SSH login possible without FATAL error?](https://forum.ansible.com/t/test-if-ssh-login-possible-without-fatal-error/13841)

<div class="topic-metadata">

**Author:** [@Dave\_Stern1](https://forum.ansible.com/u/Dave_Stern1)\
**Replies:** 6\
**Last updated:** [February 18, 2014, 7:44pm UTC](https://forum.ansible.com/t/test-if-ssh-login-possible-without-fatal-error/13841 "2014-02-18T19:44:29Z")

</div>

Posted this on Stack Overflow with no response so far, so I’m hoping someone can answer this in the group: http://stackoverflow.com/questions/19642167/ansible-test-if-ssh-login-possible-without-fatal-error I have a set…

---

## [Reverse dependencies injection into roles.](https://forum.ansible.com/t/reverse-dependencies-injection-into-roles/14583)

<div class="topic-metadata">

**Author:** [@Maciej\_Gol](https://forum.ansible.com/u/Maciej_Gol)\
**Replies:** 1\
**Last updated:** [February 18, 2014, 3:02pm UTC](https://forum.ansible.com/t/reverse-dependencies-injection-into-roles/14583 "2014-02-18T15:02:26Z")

</div>

Hey! I’ve been recently struggling with the following use case: A server has to be provisioned with system packages and a new user account using a root account. Afterwards, create a python virtualenv in the new user’s …

---

## [how to turn float in integer ?](https://forum.ansible.com/t/how-to-turn-float-in-integer/14584)

<div class="topic-metadata">

**Author:** [@Patrik\_Uytterhoeven](https://forum.ansible.com/u/Patrik_Uytterhoeven)\
**Replies:** 1\
**Last updated:** [February 18, 2014, 2:50pm UTC](https://forum.ansible.com/t/how-to-turn-float-in-integer/14584 "2014-02-18T14:50:48Z")

</div>

Hi, when i use the memory fact in my template and divide the memory and the outcome is a float is there a way to turn the float into an integer in Ansible ?

---

## [Is this a register {{ variable }} bug?](https://forum.ansible.com/t/is-this-a-register-variable-bug/14423)

<div class="topic-metadata">

**Author:** [@Brent\_Langston1](https://forum.ansible.com/u/Brent_Langston1)\
**Replies:** 9\
**Last updated:** [February 18, 2014, 12:05pm UTC](https://forum.ansible.com/t/is-this-a-register-variable-bug/14423 "2014-02-18T12:05:31Z")

</div>

So I have two tasks, that, based on a conditional run a command and register the output to a variable name. It’s only possible to execute one task or the other – not both… but since both try to register the same variab…

---

## [developing a role for collectd](https://forum.ansible.com/t/developing-a-role-for-collectd/14585)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 1\
**Last updated:** [February 18, 2014, 6:18am UTC](https://forum.ansible.com/t/developing-a-role-for-collectd/14585 "2014-02-18T06:18:00Z")

</div>

tl;dr - What's the best way (if there is one) to develop a general purpose re-usable role for something that's seems infinitely configurable ? I'm working on developing a role for collectd, hopefully something that …

---

## [Wrong variable resolution with multiple groups](https://forum.ansible.com/t/wrong-variable-resolution-with-multiple-groups/14587)

<div class="topic-metadata">

**Author:** [@Frank\_Laub](https://forum.ansible.com/u/Frank_Laub)\
**Replies:** 5\
**Last updated:** [February 18, 2014, 3:35am UTC](https://forum.ansible.com/t/wrong-variable-resolution-with-multiple-groups/14587 "2014-02-18T03:35:05Z")

</div>

I recently filed this issue and would like to discuss it here. https://github.com/ansible/ansible/issues/6048 My mental model is that a group represents a collection of hosts that I would like to treat in some similar …

---

## [Is SFTP the requirement for running ansible scripts on the remote server?](https://forum.ansible.com/t/is-sftp-the-requirement-for-running-ansible-scripts-on-the-remote-server/14571)

<div class="topic-metadata">

**Author:** [@YuLing\_Chen](https://forum.ansible.com/u/YuLing_Chen)\
**Replies:** 2\
**Last updated:** [February 18, 2014, 2:58am UTC](https://forum.ansible.com/t/is-sftp-the-requirement-for-running-ansible-scripts-on-the-remote-server/14571 "2014-02-18T02:58:53Z")

</div>

Hi All, I’m new to Ansible and there is a dumb question… it seems that in default set up, SFTP is required on the remote server to run the Ansible scripts. I have a remote server that only has ssh/scp turned on. Is ther…

---

## [How to manage cron tasks with ansible](https://forum.ansible.com/t/how-to-manage-cron-tasks-with-ansible/14578)

<div class="topic-metadata">

**Author:** [@Ruben\_Ortiz](https://forum.ansible.com/u/Ruben_Ortiz)\
**Replies:** 3\
**Last updated:** [February 17, 2014, 11:21pm UTC](https://forum.ansible.com/t/how-to-manage-cron-tasks-with-ansible/14578 "2014-02-17T23:21:36Z")

</div>

Hi I am very newbie with ansible. I have been learning ansible few weeks. I understand basics of ansible. However and maybe this for you is simply trivial, I don’t know how to manage the cron tasks of my servers. Until…

---

## [Docker support for docker-py 1.6](https://forum.ansible.com/t/docker-support-for-docker-py-1-6/14555)

<div class="topic-metadata">

**Author:** [@Magnus\_Andersson](https://forum.ansible.com/u/Magnus_Andersson)\
**Replies:** 4\
**Last updated:** [February 17, 2014, 10:54pm UTC](https://forum.ansible.com/t/docker-support-for-docker-py-1-6/14555 "2014-02-17T22:54:21Z")

</div>

Hi What is the status for updating the support for newer Docker versions for the ansible-docker module? The currently shipped version seems to be outdated and won’t run with the latest docker-py library. I did a few q…

---

## [Minor Tweak for Ansible on Windows](https://forum.ansible.com/t/minor-tweak-for-ansible-on-windows/14568)

<div class="topic-metadata">

**Author:** [@Matthew\_Saltzman](https://forum.ansible.com/u/Matthew_Saltzman)\
**Replies:** 4\
**Last updated:** [February 17, 2014, 9:50pm UTC](https://forum.ansible.com/t/minor-tweak-for-ansible-on-windows/14568 "2014-02-17T21:50:55Z")

</div>

I’m trying to get Ansible up and running on a windows environment, which I know is not technically supported. However, using the following guide, http://dhorbach.blogspot.com/2013/08/working-with-ansible-in-eclipse-and.h…

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

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