# Latest

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

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

**Page:** 777

---

## [Ansible Hosts](https://forum.ansible.com/t/ansible-hosts/21015)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 2\
**Last updated:** [March 30, 2016, 8:01pm UTC](https://forum.ansible.com/t/ansible-hosts/21015 "2016-03-30T20:01:03Z")

</div>

When I try playbook I see below error ok: \[resoxapp-ch2f-01c.email.comcast.net\] ERROR! the field ‘hosts’ is required but was not set my inventory file \[hosts\] resoxapp-ch2f-01c.email.comcast.net resoxapp-ch2f-02c.e…

---

## [ansible won't install python-keyczar on selected hosts - manual apt-get install python-keyczar -y works](https://forum.ansible.com/t/ansible-wont-install-python-keyczar-on-selected-hosts-manual-apt-get-install-python-keyczar-y-works/21021)

<div class="topic-metadata">

**Author:** [@Stuart\_Cracraft](https://forum.ansible.com/u/Stuart_Cracraft)\
**Replies:** 1\
**Last updated:** [March 30, 2016, 4:56pm UTC](https://forum.ansible.com/t/ansible-wont-install-python-keyczar-on-selected-hosts-manual-apt-get-install-python-keyczar-y-works/21021 "2016-03-30T16:56:40Z")

</div>

I get this series of errors when trying to do a service install using the apt module with Ansible on an Ubuntu 14.x box. On most of the other Ubuntu 14.x boxes it works fine. There’s a handful that it doesn’t run on. T…

---

## [Possible to set Serial per task ( needed when using delegate\_to ) ?](https://forum.ansible.com/t/possible-to-set-serial-per-task-needed-when-using-delegate-to/14579)

<div class="topic-metadata">

**Author:** [@Vidar\_Langseid](https://forum.ansible.com/u/Vidar_Langseid)\
**Replies:** 18\
**Last updated:** [March 30, 2016, 4:40pm UTC](https://forum.ansible.com/t/possible-to-set-serial-per-task-needed-when-using-delegate-to/14579 "2016-03-30T16:40:35Z")

</div>

Hi In playbook for web servers, I need set firewall rules so that database accepts connections: name: FW rule - accept input 3306 from web server to DB server lineinfile: dest=/etc/sysconfig/iptables regexp=“^-A INP…

---

## [Escape special characters in a variable](https://forum.ansible.com/t/escape-special-characters-in-a-variable/21019)

<div class="topic-metadata">

**Author:** [@Baptiste\_BOUCHEREAU](https://forum.ansible.com/u/Baptiste_BOUCHEREAU)\
**Replies:** 2\
**Last updated:** [March 30, 2016, 3:17pm UTC](https://forum.ansible.com/t/escape-special-characters-in-a-variable/21019 "2016-03-30T15:17:23Z")

</div>

Hello, I am facing an issue trying to clone a git repository. Whenever the user has a password with ‘@’ or ‘:’ the authentication failed because the repo url become invalid. Here is the configuration. vars\_prompt: n…

---

## [Ansible 2 upgrade broke roles directory lookup](https://forum.ansible.com/t/ansible-2-upgrade-broke-roles-directory-lookup/20997)

<div class="topic-metadata">

**Author:** [@Alastair\_Brayne1](https://forum.ansible.com/u/Alastair_Brayne1)\
**Replies:** 2\
**Last updated:** [March 30, 2016, 12:42pm UTC](https://forum.ansible.com/t/ansible-2-upgrade-broke-roles-directory-lookup/20997 "2016-03-30T12:42:40Z")

</div>

Hey, I’ve just upgraded to Ansible 2 and my playbooks have stopped working. The specific error I get is: \` ERROR! the role ‘common’ was not found in //roles/ec2/tasks/roles://roles/ec2/tasks:/etc/ansible/roles The er…

---

## [unarchive always unzips](https://forum.ansible.com/t/unarchive-always-unzips/20365)

<div class="topic-metadata">

**Author:** [@Tuomas-Matti\_Soikkel](https://forum.ansible.com/u/Tuomas-Matti_Soikkel)\
**Replies:** 8\
**Last updated:** [March 30, 2016, 12:13pm UTC](https://forum.ansible.com/t/unarchive-always-unzips/20365 "2016-03-30T12:13:14Z")

</div>

Is there any reasoning behind the fact that unarchive module using zip never checks the destination if the files already exists. This is quite inconvenient when extracting very large files. I understand that tar has --d…

---

## [strange issue when using variable in shell module](https://forum.ansible.com/t/strange-issue-when-using-variable-in-shell-module/20996)

<div class="topic-metadata">

**Author:** [@Cai\_Elvis](https://forum.ansible.com/u/Cai_Elvis)\
**Replies:** 4\
**Last updated:** [March 30, 2016, 10:20am UTC](https://forum.ansible.com/t/strange-issue-when-using-variable-in-shell-module/20996 "2016-03-30T10:20:01Z")

</div>

Hi guys i met a wield issue in ansible when using variable including ‘@’ sign, if my variable including @, it will turn to empty totally and the debug infomation is hello world, when i remove @ sign, the result is norma…

---

## [ec2\_win\_password comes back empty](https://forum.ansible.com/t/ec2-win-password-comes-back-empty/21016)

<div class="topic-metadata">

**Author:** [@David\_O\_Brien](https://forum.ansible.com/u/David_O_Brien)\
**Replies:** 1\
**Last updated:** [March 30, 2016, 9:26am UTC](https://forum.ansible.com/t/ec2-win-password-comes-back-empty/21016 "2016-03-30T09:26:39Z")

</div>

Hi all, I’m running Ansible 2.0.1 and I’m trying to get a newly provisioned EC2 instance’s Windows password. However, something is off. Anybody got an idea? \`

---

## [Can someone re-open issue #15181 in github, please?](https://forum.ansible.com/t/can-someone-re-open-issue-15181-in-github-please/21013)

<div class="topic-metadata">

**Author:** [@Hristo\_Stoyanov](https://forum.ansible.com/u/Hristo_Stoyanov)\
**Replies:** 0\
**Last updated:** [March 30, 2016, 2:57am UTC](https://forum.ansible.com/t/can-someone-re-open-issue-15181-in-github-please/21013 "2016-03-30T02:57:21Z")

</div>

https://github.com/ansible/ansible/issues/15181 … the issue was closed without actually trying the proposed solution (which does not seem to work).

---

## [OpenStack Dynamic Inventory Question](https://forum.ansible.com/t/openstack-dynamic-inventory-question/20816)

<div class="topic-metadata">

**Author:** [@Mike\_Albert](https://forum.ansible.com/u/Mike_Albert)\
**Replies:** 6\
**Last updated:** [March 29, 2016, 7:03pm UTC](https://forum.ansible.com/t/openstack-dynamic-inventory-question/20816 "2016-03-29T19:03:55Z")

</div>

Hi, I’m trying to configure OpenStack dynamic inventory with Ansible, but I keep getting the following error: mikealbert@rmbp lab (master) $ ./openstack.py --list Error fetching server list on envvars:Region1: I’ve d…

---

## [Full automation of Ansibull-bot for PR triage](https://forum.ansible.com/t/full-automation-of-ansibull-bot-for-pr-triage/21010)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [March 29, 2016, 6:56pm UTC](https://forum.ansible.com/t/full-automation-of-ansibull-bot-for-pr-triage/21010 "2016-03-29T18:56:51Z")

</div>

As of today, we're flipping the bit on the Ansibull-bot to be fully automated. Until now, it's been running in a semi-automated state to enforce PR triage workflow, and we've been examining the output to make sure that …

---

## [Ansible and Cpanel](https://forum.ansible.com/t/ansible-and-cpanel/18804)

<div class="topic-metadata">

**Author:** [@shadowwalker](https://forum.ansible.com/u/shadowwalker)\
**Replies:** 1\
**Last updated:** [March 29, 2016, 6:48pm UTC](https://forum.ansible.com/t/ansible-and-cpanel/18804 "2016-03-29T18:48:54Z")

</div>

Hi guys I’m researching on how to use this on Cpanel. Is this supported and if yes, how can i go about it? Thanks in advance

---

## [Context based variable substitution in Ansible 2.0](https://forum.ansible.com/t/context-based-variable-substitution-in-ansible-2-0/21007)

<div class="topic-metadata">

**Author:** [@Christian\_Kaps](https://forum.ansible.com/u/Christian_Kaps)\
**Replies:** 2\
**Last updated:** [March 29, 2016, 5:18pm UTC](https://forum.ansible.com/t/context-based-variable-substitution-in-ansible-2-0/21007 "2016-03-29T17:18:41Z")

</div>

I have a role which contains tasks that are executed based on a variable set in a playbook. In my case I have a provisioning playbook and a configuration playbook. Both share a role named ebs\_single. In this role I’ve ta…

---

## [Error module package centos](https://forum.ansible.com/t/error-module-package-centos/21008)

<div class="topic-metadata">

**Author:** [@France\_BERTELOOT](https://forum.ansible.com/u/France_BERTELOOT)\
**Replies:** 0\
**Last updated:** [March 29, 2016, 3:16pm UTC](https://forum.ansible.com/t/error-module-package-centos/21008 "2016-03-29T15:16:54Z")

</div>

Hello, My playbook is in error when I use the package module to install packages in centOS machine. Someone has an idea of the problem? Ansible version : 2.0.0.1 OS target machine : CentOS Linux release 7.2 my playbo…

---

## [Version of package installed with apt?](https://forum.ansible.com/t/version-of-package-installed-with-apt/21006)

<div class="topic-metadata">

**Author:** [@Rene\_Pijlman](https://forum.ansible.com/u/Rene_Pijlman)\
**Replies:** 0\
**Last updated:** [March 29, 2016, 11:16am UTC](https://forum.ansible.com/t/version-of-package-installed-with-apt/21006 "2016-03-29T11:16:26Z")

</div>

Is there an elegant way to find out what the version of an installed package (say with the apt module) is? I now have this code to get PostgreSQL’s configdir on Debian: name: required packages for PostgreSQL apt: na…

---

## [Ansible (Tower) with Duo Unix](https://forum.ansible.com/t/ansible-tower-with-duo-unix/21005)

<div class="topic-metadata">

**Author:** [@DasBill](https://forum.ansible.com/u/DasBill)\
**Replies:** 0\
**Last updated:** [March 29, 2016, 9:35am UTC](https://forum.ansible.com/t/ansible-tower-with-duo-unix/21005 "2016-03-29T09:35:22Z")

</div>

Hello, i already asked the support but they mean that 2FA is not supported yet. I tried it with Ansible Tower and only with Ansible but no way to make it work. In my test environment i used two Debian 8.3 server with …

---

## [struggling to understand roles and conditional execution](https://forum.ansible.com/t/struggling-to-understand-roles-and-conditional-execution/20842)

<div class="topic-metadata">

**Author:** [@Paul\_Davies1](https://forum.ansible.com/u/Paul_Davies1)\
**Replies:** 4\
**Last updated:** [March 29, 2016, 9:33am UTC](https://forum.ansible.com/t/struggling-to-understand-roles-and-conditional-execution/20842 "2016-03-29T09:33:37Z")

</div>

Hi I’m having a bumpy start to my Ansilble journey I am trying to install apache on a Centos host and a Solaris host and trying to use roles for he first time I am trying to use geerlingguy’s apache role on Galaxy (ht…

---

## [template and copy regressions in 2.0.1.0](https://forum.ansible.com/t/template-and-copy-regressions-in-2-0-1-0/21004)

<div class="topic-metadata">

**Author:** [@jang](https://forum.ansible.com/u/jang)\
**Replies:** 0\
**Last updated:** [March 29, 2016, 9:29am UTC](https://forum.ansible.com/t/template-and-copy-regressions-in-2-0-1-0/21004 "2016-03-29T09:29:52Z")

</div>

The core modules bug is #3260 - could I ask for some eyeballs on this? It marks a major regression from 1.9.x for us. The summary is - invocations of template: and copy: don’t get the right path set of them, so their tem…

---

## [ERROR! Specified hosts options do not match any hosts](https://forum.ansible.com/t/error-specified-hosts-options-do-not-match-any-hosts/20994)

<div class="topic-metadata">

**Author:** [@Jatin\_Ganhotra](https://forum.ansible.com/u/Jatin_Ganhotra)\
**Replies:** 2\
**Last updated:** [March 29, 2016, 7:58am UTC](https://forum.ansible.com/t/error-specified-hosts-options-do-not-match-any-hosts/20994 "2016-03-29T07:58:34Z")

</div>

Hi, This is my first take at Ansible and I can’t figure out what I am doing wrong. I have 1 vagrant VM host with a static private IP provided for testing purposes on my personal Mac. › ansible --version ansible 2.0.1.…

---

## [Deploying WAR's and EAR's in Websphere](https://forum.ansible.com/t/deploying-wars-and-ears-in-websphere/21003)

<div class="topic-metadata">

**Author:** [@Krishnakumar](https://forum.ansible.com/u/Krishnakumar)\
**Replies:** 0\
**Last updated:** [March 29, 2016, 5:12am UTC](https://forum.ansible.com/t/deploying-wars-and-ears-in-websphere/21003 "2016-03-29T05:12:21Z")

</div>

Is there any direct method available in Ansible to deploy WAR’s and EAR’s in Websphere.

---

## [Is there any way to exit playbook explicitly (short-circuit) with success?](https://forum.ansible.com/t/is-there-any-way-to-exit-playbook-explicitly-short-circuit-with-success/21000)

<div class="topic-metadata">

**Author:** [@Alexander\_Novikov](https://forum.ansible.com/u/Alexander_Novikov)\
**Replies:** 5\
**Last updated:** [March 28, 2016, 9:12pm UTC](https://forum.ansible.com/t/is-there-any-way-to-exit-playbook-explicitly-short-circuit-with-success/21000 "2016-03-28T21:12:22Z")

</div>

Hi everyone, I noticed that there is an explicit fail module, but is there an explicit short-circuit success in ansible? Or is it always necessary (I understand that it’s not preferred) to write playbooks that execute …

---

## [Variable woes](https://forum.ansible.com/t/variable-woes/21002)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 2\
**Last updated:** [March 28, 2016, 7:43pm UTC](https://forum.ansible.com/t/variable-woes/21002 "2016-03-28T19:43:47Z")

</div>

Without seeing the definition in your vars.yml people have to guess. Can you provide this file? Or the relevant definition for newrelic? Johannes

---

## [learning ansible's vars](https://forum.ansible.com/t/learning-ansibles-vars/20998)

<div class="topic-metadata">

**Author:** [@jyanga](https://forum.ansible.com/u/jyanga)\
**Replies:** 6\
**Last updated:** [March 28, 2016, 5:33pm UTC](https://forum.ansible.com/t/learning-ansibles-vars/20998 "2016-03-28T17:33:31Z")

</div>

I run my playbook with the command below. ansible-playbook test.yml --limit test In my test.yml file, I have the following:

---

## [Does this Ansible feature make sense to anyone at all?](https://forum.ansible.com/t/does-this-ansible-feature-make-sense-to-anyone-at-all/20931)

<div class="topic-metadata">

**Author:** [@Dejay\_Clayton](https://forum.ansible.com/u/Dejay_Clayton)\
**Replies:** 1\
**Last updated:** [March 28, 2016, 5:07pm UTC](https://forum.ansible.com/t/does-this-ansible-feature-make-sense-to-anyone-at-all/20931 "2016-03-28T17:07:58Z")

</div>

I’m really puzzled by how a certain Ansible feature appears to work, and I can’t figure out why anyone in the world would ever want it to work that way. I hope that I’m just densely mis-interpreting how it works. It see…

---

## [publishing custom modules, and module dependencies in roles](https://forum.ansible.com/t/publishing-custom-modules-and-module-dependencies-in-roles/21001)

<div class="topic-metadata">

**Author:** [@Charlie\_DeTar](https://forum.ansible.com/u/Charlie_DeTar)\
**Replies:** 1\
**Last updated:** [March 28, 2016, 4:59pm UTC](https://forum.ansible.com/t/publishing-custom-modules-and-module-dependencies-in-roles/21001 "2016-03-28T16:59:09Z")

</div>

Hi, I’m trying to figure out if I can publish a custom module, and roles that depend on it. The developing modules docs talk about setting ANSIBLE\_LIBRARY environment variable for pointing to where a module exists, and a…

---

## [JSON parsing with select](https://forum.ansible.com/t/json-parsing-with-select/20999)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 2\
**Last updated:** [March 28, 2016, 4:15pm UTC](https://forum.ansible.com/t/json-parsing-with-select/20999 "2016-03-28T16:15:09Z")

</div>

Hello! I get JSON like the following returned from a REST API: { “tasks” : \[ { “id” : “artifactory.VirtualCacheCleanupJob#9e6619bd-1864-4e1a-9fd7-8bb138813bf1”, “type” : “org.artifactory.repo.cleanup.VirtualCacheClea…

---

## [Camel to \_snake helper - where to put?](https://forum.ansible.com/t/camel-to-snake-helper-where-to-put/20932)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 2\
**Last updated:** [March 28, 2016, 12:09pm UTC](https://forum.ansible.com/t/camel-to-snake-helper-where-to-put/20932 "2016-03-28T12:09:20Z")

</div>

I’ve written two little helpful functions that I’ve been using with AWS modules because the AWS API returns results in CamelCase and Ansible uses \_snake. Here’s the code: def camel\_to\_snake(name): import re f…

---

## [boto3 aws tags return type](https://forum.ansible.com/t/boto3-aws-tags-return-type/20995)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 1\
**Last updated:** [March 28, 2016, 11:57am UTC](https://forum.ansible.com/t/boto3-aws-tags-return-type/20995 "2016-03-28T11:57:46Z")

</div>

Hi all, boto3 returns tags of a resource as a list of dicts. Each dict has a key named ‘Key’ and a key named ‘Value’. E.g. ‘Tags’: \[ { ‘Key’: ‘mykey’, ‘Value’: ‘myvalue’ }, \] Across all Ansible modules (that i k…

---

## [Best way to manage hosts with Ansible (secutiry)](https://forum.ansible.com/t/best-way-to-manage-hosts-with-ansible-secutiry/20966)

<div class="topic-metadata">

**Author:** [@Vamberto\_Junior](https://forum.ansible.com/u/Vamberto_Junior)\
**Replies:** 4\
**Last updated:** [March 27, 2016, 9:16pm UTC](https://forum.ansible.com/t/best-way-to-manage-hosts-with-ansible-secutiry/20966 "2016-03-27T21:16:42Z")

</div>

Hellow everybody I am a new user in Ansible’s World so in my studies, I have some doubts about the best way to manage hosts with Ansible. My question is… What is the best securty way to manage hosts with Ansible ? Som…

---

## [Unit Tests for Module and Filters.](https://forum.ansible.com/t/unit-tests-for-module-and-filters/20993)

<div class="topic-metadata">

**Author:** [@Allen\_Sanabria1](https://forum.ansible.com/u/Allen_Sanabria1)\
**Replies:** 6\
**Last updated:** [March 27, 2016, 8:59pm UTC](https://forum.ansible.com/t/unit-tests-for-module-and-filters/20993 "2016-03-27T20:59:09Z")

</div>

I had an interesting conversation on this Kinesis Stream PR. I would like to know the opinions of Module development community, when it comes to documenting modules and writing tests for these modules. Here are some of…

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

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