# Latest

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

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

**Page:** 805

---

## [How to apply ansible tower licence from using command line options?](https://forum.ansible.com/t/how-to-apply-ansible-tower-licence-from-using-command-line-options/20168)

<div class="topic-metadata">

**Author:** [@Makarand\_Maslekar](https://forum.ansible.com/u/Makarand_Maslekar)\
**Replies:** 1\
**Last updated:** [January 11, 2016, 12:58pm UTC](https://forum.ansible.com/t/how-to-apply-ansible-tower-licence-from-using-command-line-options/20168 "2016-01-11T12:58:51Z")

</div>

I would like to apply ansible tower licence from command line? Can we do this using command line options?

---

## [how to get tag\_name instead of private ip address?](https://forum.ansible.com/t/how-to-get-tag-name-instead-of-private-ip-address/20131)

<div class="topic-metadata">

**Author:** [@jaehyuk\_choi](https://forum.ansible.com/u/jaehyuk_choi)\
**Replies:** 2\
**Last updated:** [January 11, 2016, 6:38am UTC](https://forum.ansible.com/t/how-to-get-tag-name-instead-of-private-ip-address/20131 "2016-01-11T06:38:06Z")

</div>

when I run ansible-playbook task, each instance results are shown with private ip. (also I used aws dynamic inventory) like this… SSH password: PLAY \[all\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible 2.0 release delay](https://forum.ansible.com/t/ansible-2-0-release-delay/20134)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 2\
**Last updated:** [January 11, 2016, 4:46am UTC](https://forum.ansible.com/t/ansible-2-0-release-delay/20134 "2016-01-11T04:46:05Z")

</div>

Hi all, really hate having to send this email but we’ve decided to do an RC4 release due to several bugs (details below). As a result, we’re pushing the final release out to next week on the 12th. The bugs are: bugs …

---

## [Changing the delimiter for lookup results](https://forum.ansible.com/t/changing-the-delimiter-for-lookup-results/20160)

<div class="topic-metadata">

**Author:** [@Jesse\_Schluter](https://forum.ansible.com/u/Jesse_Schluter)\
**Replies:** 3\
**Last updated:** [January 9, 2016, 2:18pm UTC](https://forum.ansible.com/t/changing-the-delimiter-for-lookup-results/20160 "2016-01-09T14:18:32Z")

</div>

Hey everyone, as I understand, normally a lookup returning a list, will be joined to a string using “,” as a delimiter. Is it possible to change this behavior? I only found the solution by patching the code. The backgr…

---

## [Merging lists from group\_vars](https://forum.ansible.com/t/merging-lists-from-group-vars/20162)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [January 9, 2016, 7:53am UTC](https://forum.ansible.com/t/merging-lists-from-group-vars/20162 "2016-01-09T07:53:36Z")

</div>

Is there any way to merge lists from group\_vars, much like hash\_behaviour = merge, but for lists? From what I can tell, there is no explicit list\_behaviour option I can set, but is there perhaps a manual way I can do thi…

---

## ["sudo su user" and "sudo bash" for privilege escalation](https://forum.ansible.com/t/sudo-su-user-and-sudo-bash-for-privilege-escalation/20163)

<div class="topic-metadata">

**Author:** [@Aneesh\_Joseph](https://forum.ansible.com/u/Aneesh_Joseph)\
**Replies:** 0\
**Last updated:** [January 9, 2016, 5:12am UTC](https://forum.ansible.com/t/sudo-su-user-and-sudo-bash-for-privilege-escalation/20163 "2016-01-09T05:12:41Z")

</div>

In our org, privileged access is provided in the following way For switching to the root user on DEV boxes, sudo bash For executing specific sudo commands, prefeix sudo to the command. Example sudo yum install git F…

---

## [Pass the inventory file and the group for Ansible-pull](https://forum.ansible.com/t/pass-the-inventory-file-and-the-group-for-ansible-pull/20161)

<div class="topic-metadata">

**Author:** [@Ivan\_Nunes](https://forum.ansible.com/u/Ivan_Nunes)\
**Replies:** 0\
**Last updated:** [January 8, 2016, 11:29pm UTC](https://forum.ansible.com/t/pass-the-inventory-file-and-the-group-for-ansible-pull/20161 "2016-01-08T23:29:26Z")

</div>

In my inventory I have a group \[pdvtid\]. As I say to ansible-pull to run from this group? The name of my inventory is hosts.tid. As I say to ansible-pull to use this inventory file. I’m running like this: ansible-pul…

---

## [volume\_size parameter ignored in ec2 module](https://forum.ansible.com/t/volume-size-parameter-ignored-in-ec2-module/20158)

<div class="topic-metadata">

**Author:** [@Eli\_Finkelshteyn](https://forum.ansible.com/u/Eli_Finkelshteyn)\
**Replies:** 0\
**Last updated:** [January 8, 2016, 7:14pm UTC](https://forum.ansible.com/t/volume-size-parameter-ignored-in-ec2-module/20158 "2016-01-08T19:14:31Z")

</div>

Hey Folks, I’ve been banging my head against this for a few days with no luck. I’m trying to change the size of my default disk (/dev/xvda1) when spinning up new ec2 boxes with Ansible. I have the following: \` name: …

---

## [Inheriting static group\_var data with dynamic inventory?](https://forum.ansible.com/t/inheriting-static-group-var-data-with-dynamic-inventory/20143)

<div class="topic-metadata">

**Author:** [@Adam\_Kosmin](https://forum.ansible.com/u/Adam_Kosmin)\
**Replies:** 3\
**Last updated:** [January 8, 2016, 7:13pm UTC](https://forum.ansible.com/t/inheriting-static-group-var-data-with-dynamic-inventory/20143 "2016-01-08T19:13:12Z")

</div>

Greets, Assuming I’ve got the following defined in group\_vars:foo.yml

---

## [Ansible Docs site search is not working](https://forum.ansible.com/t/ansible-docs-site-search-is-not-working/20122)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 1\
**Last updated:** [January 8, 2016, 7:03pm UTC](https://forum.ansible.com/t/ansible-docs-site-search-is-not-working/20122 "2016-01-08T19:03:38Z")

</div>

I am not able to search using the Google Custom Search field on docs.ansible.com in either Firefox (43) or Chrome (47). To be more specific, the URL loads with the search terms, but the search results do not appear on th…

---

## [Where do moduls go?](https://forum.ansible.com/t/where-do-moduls-go/20157)

<div class="topic-metadata">

**Author:** [@Glenn\_Barnard](https://forum.ansible.com/u/Glenn_Barnard)\
**Replies:** 1\
**Last updated:** [January 8, 2016, 6:29pm UTC](https://forum.ansible.com/t/where-do-moduls-go/20157 "2016-01-08T18:29:27Z")

</div>

While developing and testing a new module, I need to know which directory to put modules in such that Ansible will pick it up. My version is very recent (within 2 weeks) and I’ve tried changing the config file to point t…

---

## [Permission change based on file extension using ansible](https://forum.ansible.com/t/permission-change-based-on-file-extension-using-ansible/20141)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 3\
**Last updated:** [January 8, 2016, 6:05pm UTC](https://forum.ansible.com/t/permission-change-based-on-file-extension-using-ansible/20141 "2016-01-08T18:05:46Z")

</div>

I want to change the permission of the file based on it’s extension using ansible, for example I have directory test and within this directory I have a lot of shell script(.sh) and python(.py) files. I want to change the…

---

## [URI Module "return\_content" not working per the docs](https://forum.ansible.com/t/uri-module-return-content-not-working-per-the-docs/20154)

<div class="topic-metadata">

**Author:** [@Glenn\_Barnard](https://forum.ansible.com/u/Glenn_Barnard)\
**Replies:** 2\
**Last updated:** [January 8, 2016, 5:58pm UTC](https://forum.ansible.com/t/uri-module-return-content-not-working-per-the-docs/20154 "2016-01-08T17:58:41Z")

</div>

We’re evaluating Ansible and learning how to use it. I’m trying to using Ansible to call the Ansible api’s. I have an issue with the uri module in trying to reference the response from the authtoken API to use in subsequ…

---

## [Installing redis from RPM](https://forum.ansible.com/t/installing-redis-from-rpm/20155)

<div class="topic-metadata">

**Author:** [@James\_Jelinek](https://forum.ansible.com/u/James_Jelinek)\
**Replies:** 4\
**Last updated:** [January 8, 2016, 5:48pm UTC](https://forum.ansible.com/t/installing-redis-from-rpm/20155 "2016-01-08T17:48:48Z")

</div>

I’m working on a simple playbook to install redis from the remi repo. When I do this manually on the target server I do the following: wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-…

---

## [ERROR: tasks is not a legal parameter in an Ansible task or handler](https://forum.ansible.com/t/error-tasks-is-not-a-legal-parameter-in-an-ansible-task-or-handler/20150)

<div class="topic-metadata">

**Author:** [@Afroz\_Hussain](https://forum.ansible.com/u/Afroz_Hussain)\
**Replies:** 1\
**Last updated:** [January 8, 2016, 4:24pm UTC](https://forum.ansible.com/t/error-tasks-is-not-a-legal-parameter-in-an-ansible-task-or-handler/20150 "2016-01-08T16:24:07Z")

</div>

Hello All, I am getting “ERROR: tasks is not a legal parameter in an Ansible task or handler” while running play book with roles but the same code is running fine with plain yaml. cat /etc/ansible/roles/webservers/task…

---

## [A way to check the error message returned by module in "msg"](https://forum.ansible.com/t/a-way-to-check-the-error-message-returned-by-module-in-msg/20153)

<div class="topic-metadata">

**Author:** [@cosbug](https://forum.ansible.com/u/cosbug)\
**Replies:** 2\
**Last updated:** [January 8, 2016, 4:14pm UTC](https://forum.ansible.com/t/a-way-to-check-the-error-message-returned-by-module-in-msg/20153 "2016-01-08T16:14:09Z")

</div>

Hi All, Is there any way to check the check the message error text returned by module in msg against some pattern? I want to skip execution of next task if msg contains “LoadBalancerNotFound” string. \` TASK: \[elb | W…

---

## [ansible-vault, and only ansible-vault - could it run on windows?](https://forum.ansible.com/t/ansible-vault-and-only-ansible-vault-could-it-run-on-windows/20152)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 0\
**Last updated:** [January 8, 2016, 12:49pm UTC](https://forum.ansible.com/t/ansible-vault-and-only-ansible-vault-could-it-run-on-windows/20152 "2016-01-08T12:49:03Z")

</div>

Hello, Just wondering if anyone has explored running ansible-vault on Windows? We have a lot of devs who work on Windows here and now we are keeping some settings in vault it would be good to be able to enable develope…

---

## [RFC: Requiring latest stable version of boto for AWS module refactoring/additions](https://forum.ansible.com/t/rfc-requiring-latest-stable-version-of-boto-for-aws-module-refactoring-additions/17711)

<div class="topic-metadata">

**Author:** [@Jonathan\_Davila](https://forum.ansible.com/u/Jonathan_Davila)\
**Replies:** 1\
**Last updated:** [January 8, 2016, 5:09am UTC](https://forum.ansible.com/t/rfc-requiring-latest-stable-version-of-boto-for-aws-module-refactoring-additions/17711 "2016-01-08T05:09:35Z")

</div>

I’ve been sifting through some of the tickets on GitHub related to AWS modules and feel that some of the pains with maintaining them could be eliminated by making it acceptable to require the latest stable version when r…

---

## [Extending get\_url module with 'backup' parameter](https://forum.ansible.com/t/extending-get-url-module-with-backup-parameter/20148)

<div class="topic-metadata">

**Author:** [@techraf](https://forum.ansible.com/u/techraf)\
**Replies:** 0\
**Last updated:** [January 8, 2016, 4:28am UTC](https://forum.ansible.com/t/extending-get-url-module-with-backup-parameter/20148 "2016-01-08T04:28:34Z")

</div>

I miss the ‘backup’ parameter in the ‘get\_url’ (working in the same manner as ‘backup’ in the ‘copy’ module) so I wanted to extend the module myself. I checked the code of get\_url.py and copy.py and before changing I ad…

---

## [README.md files for Ansible plugins](https://forum.ansible.com/t/readme-md-files-for-ansible-plugins/20147)

<div class="topic-metadata">

**Author:** [@Tom\_Paine1](https://forum.ansible.com/u/Tom_Paine1)\
**Replies:** 1\
**Last updated:** [January 7, 2016, 11:50pm UTC](https://forum.ansible.com/t/readme-md-files-for-ansible-plugins/20147 "2016-01-07T23:50:28Z")

</div>

The supplied plugins, like the callbacks and filters, have the potential to be a great resource. Unfortunately, they are lacking standardised documentation which makes it difficult to understand their function and/or ou…

---

## [concatenate variables and strings in file lookup](https://forum.ansible.com/t/concatenate-variables-and-strings-in-file-lookup/20144)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 2\
**Last updated:** [January 7, 2016, 9:46pm UTC](https://forum.ansible.com/t/concatenate-variables-and-strings-in-file-lookup/20144 "2016-01-07T21:46:28Z")

</div>

Hey so I have a list of developer names in a dictionary and I am trying to do a file lookup on their ssh key, I want to dynamically build the file path for each key as opposed to specifying it the full path for each dev…

---

## [default in template seemed to stop working in 2.0rc4](https://forum.ansible.com/t/default-in-template-seemed-to-stop-working-in-2-0rc4/20145)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [January 7, 2016, 9:22pm UTC](https://forum.ansible.com/t/default-in-template-seemed-to-stop-working-in-2-0rc4/20145 "2016-01-07T21:22:28Z")

</div>

from template file, -A INPUT -i {{ ansible\_default\_ipv4.interface }} -p tcp --dport {{ ansible\_port | default (22) }} -j ACCEPT outputs -A INPUT -i eth0 -p tcp --dport -j ACCEPT setting ansible\_port works as normal.

---

## [Ansible 2.0 RC4 is available for testing](https://forum.ansible.com/t/ansible-2-0-rc4-is-available-for-testing/20142)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [January 7, 2016, 7:00pm UTC](https://forum.ansible.com/t/ansible-2-0-rc4-is-available-for-testing/20142 "2016-01-07T19:00:57Z")

</div>

Hi all, as mentioned yesterday the 2.0 RC4 release is now available for testing. This release candidate includes the following bug fixes (as well as some other minor ones): bugs in the free/linear strategies related t…

---

## [Creating a System User still creates a home directory](https://forum.ansible.com/t/creating-a-system-user-still-creates-a-home-directory/20135)

<div class="topic-metadata">

**Author:** [@Uberteck](https://forum.ansible.com/u/Uberteck)\
**Replies:** 2\
**Last updated:** [January 7, 2016, 6:42pm UTC](https://forum.ansible.com/t/creating-a-system-user-still-creates-a-home-directory/20135 "2016-01-07T18:42:58Z")

</div>

Creating a user using the core user module and using the ‘system’ property still seems to create a home directory: \` name: create test user user: name=test system=yes \` The resulting user has a home directory whe…

---

## [concatenating variables to get nested dictionary items](https://forum.ansible.com/t/concatenating-variables-to-get-nested-dictionary-items/20139)

<div class="topic-metadata">

**Author:** [@Arthur\_Reyes](https://forum.ansible.com/u/Arthur_Reyes)\
**Replies:** 2\
**Last updated:** [January 7, 2016, 4:10pm UTC](https://forum.ansible.com/t/concatenating-variables-to-get-nested-dictionary-items/20139 "2016-01-07T16:10:29Z")

</div>

I’m hung up on syntax at the moment and was wondering if someone could point out what I’m doing incorrectly. I’m trying to create an ntp.j2 template and populate peers based on the value of ansible\_local.datacenter. Thi…

---

## [Purpose of apt\_rpm module?](https://forum.ansible.com/t/purpose-of-apt-rpm-module/20136)

<div class="topic-metadata">

**Author:** [@don](https://forum.ansible.com/u/don)\
**Replies:** 1\
**Last updated:** [January 7, 2016, 2:53pm UTC](https://forum.ansible.com/t/purpose-of-apt-rpm-module/20136 "2016-01-07T14:53:20Z")

</div>

Hello, Can someone enlighten me on the purpose of apt\_rpm module? It requires BOTH apt and rpm, what distro it’s for? -don ps. Also, I know (centos based) distros with just rpm, which is not supported as there is no…

---

## [V2 wrapper role variable issue](https://forum.ansible.com/t/v2-wrapper-role-variable-issue/20137)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 0\
**Last updated:** [January 7, 2016, 10:32am UTC](https://forum.ansible.com/t/v2-wrapper-role-variable-issue/20137 "2016-01-07T10:32:05Z")

</div>

Hi, I have two roles 1- community-role 2- wrapper-role defined below Role: community-role defaults: main.yml \` community-role/defaults/main.yml super\_users : False \` Role: wrapper-role default: main.yml me…

---

## [ansible\_ssh\_port behaving differently on v2](https://forum.ansible.com/t/ansible-ssh-port-behaving-differently-on-v2/20133)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 1\
**Last updated:** [January 7, 2016, 10:14am UTC](https://forum.ansible.com/t/ansible-ssh-port-behaving-differently-on-v2/20133 "2016-01-07T10:14:01Z")

</div>

Hey, I noticed something on v2 not sure if its a bug. debug: msg=“{{ ansible\_ssh\_port | default(‘22’) }}” in v1 if you use above code and your ansible\_ssh\_port is not defined it will fall back to default filter but …

---

## [Does the ansible-playbook command can be run in background ?](https://forum.ansible.com/t/does-the-ansible-playbook-command-can-be-run-in-background/20089)

<div class="topic-metadata">

**Author:** [@Honsen](https://forum.ansible.com/u/Honsen)\
**Replies:** 2\
**Last updated:** [January 7, 2016, 9:28am UTC](https://forum.ansible.com/t/does-the-ansible-playbook-command-can-be-run-in-background/20089 "2016-01-07T09:28:36Z")

</div>

The salt command \*salt state.sls\* can be run in background by use \*--async\* parameter, does ansible has some parameters to run ansible-playbook command in background ? Now I use nohup to achieve my goal, like this: noh…

---

## [AWS Lambda support in AWS module?](https://forum.ansible.com/t/aws-lambda-support-in-aws-module/19730)

<div class="topic-metadata">

**Author:** [@Avi\_Flax](https://forum.ansible.com/u/Avi_Flax)\
**Replies:** 3\
**Last updated:** [January 7, 2016, 2:12am UTC](https://forum.ansible.com/t/aws-lambda-support-in-aws-module/19730 "2016-01-07T02:12:32Z")

</div>

Hi, is anyone working on Lambda support? If not, I think I’ll need to get started on it. Thanks! Avi

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

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