# Latest

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

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

**Page:** 801

---

## [Ansible 2.0.0.2 is slow compared to 1.9.4 ?](https://forum.ansible.com/t/ansible-2-0-0-2-is-slow-compared-to-1-9-4/20297)

<div class="topic-metadata">

**Author:** [@Phonthip\_Namkaew](https://forum.ansible.com/u/Phonthip_Namkaew)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 10:25pm UTC](https://forum.ansible.com/t/ansible-2-0-0-2-is-slow-compared-to-1-9-4/20297 "2016-01-20T22:25:01Z")

</div>

Hi, I tried to compare Ansible 2.0.0.2 to 1.9.4 on this VM client01:/data/ansible # cat /etc/os-release NAME=openSUSE VERSION=“13.2 (Harlequin)” VERSION\_ID=“13.2” PRETTY\_NAME=“openSUSE 13.2 (Harlequin) (i586)” ID=…

---

## [Trial version of Ansible Tower failed and the UI now has issues](https://forum.ansible.com/t/trial-version-of-ansible-tower-failed-and-the-ui-now-has-issues/20296)

<div class="topic-metadata">

**Author:** [@Glenn\_Barnard](https://forum.ansible.com/u/Glenn_Barnard)\
**Replies:** 1\
**Last updated:** [January 20, 2016, 9:58pm UTC](https://forum.ansible.com/t/trial-version-of-ansible-tower-failed-and-the-ui-now-has-issues/20296 "2016-01-20T21:58:48Z")

</div>

Hi, I had to uninstall Ansible 1.9.4 earlier today and it also uninstalled Tower. I’m now trying to reinstall Tower but it’s throwing exceptions. The install problem outputs: \[gbarnard@localhost ansible-tower-setup-2.4…

---

## [Retrieving the dictionary key from the dictionary variable](https://forum.ansible.com/t/retrieving-the-dictionary-key-from-the-dictionary-variable/20295)

<div class="topic-metadata">

**Author:** [@Igor\_Kaplan](https://forum.ansible.com/u/Igor_Kaplan)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 9:52pm UTC](https://forum.ansible.com/t/retrieving-the-dictionary-key-from-the-dictionary-variable/20295 "2016-01-20T21:52:01Z")

</div>

Hi all, Could someone please help me with the following issue. I have created the EC2 security group using the ec2\_group module. ec2\_group name: group name description: group description rules: proto: tcp to\_po…

---

## [Path of "ansible\_ssh\_private\_key\_file" through AWS account](https://forum.ansible.com/t/path-of-ansible-ssh-private-key-file-through-aws-account/20294)

<div class="topic-metadata">

**Author:** [@Bhotu](https://forum.ansible.com/u/Bhotu)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 9:05pm UTC](https://forum.ansible.com/t/path-of-ansible-ssh-private-key-file-through-aws-account/20294 "2016-01-20T21:05:14Z")

</div>

I am currently working with AWS Autoscaling. In order to communicate with the AWS instance, we need ssh keys and that has to be on to your local machine. I need to configure the same server without downloading the keys o…

---

## [Ansible 2.0.0.2 forwarding LANG and LC\_ALL and modules failing](https://forum.ansible.com/t/ansible-2-0-0-2-forwarding-lang-and-lc-all-and-modules-failing/20277)

<div class="topic-metadata">

**Author:** [@Alejandro\_Guirao\_Rod](https://forum.ansible.com/u/Alejandro_Guirao_Rod)\
**Replies:** 10\
**Last updated:** [January 20, 2016, 7:55pm UTC](https://forum.ansible.com/t/ansible-2-0-0-2-forwarding-lang-and-lc-all-and-modules-failing/20277 "2016-01-20T19:55:45Z")

</div>

Hi, I have experienced that Ansible 2.0.0.2 forwards the LANG and LC\_ALL variables from the controller machine to the hosts. I hadn’t experienced this behaviour with versions 1.9.X, and this results in modules dependin…

---

## [Disable become sudo "-n" flag?](https://forum.ansible.com/t/disable-become-sudo-n-flag/20284)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 2\
**Last updated:** [January 20, 2016, 7:12pm UTC](https://forum.ansible.com/t/disable-become-sudo-n-flag/20284 "2016-01-20T19:12:41Z")

</div>

I’ve a few old server in maintenance with older versions of sudo. Since upgrading to ansible 2.0 (and 2.01) these servers are erroring out on sudo/become calls with: sudo: illegal option \`-n’ Checking these servers, I…

---

## [Ansible's philosophy about running playbooks against localhost and use lot of delegate\_to in roles](https://forum.ansible.com/t/ansibles-philosophy-about-running-playbooks-against-localhost-and-use-lot-of-delegate-to-in-roles/20253)

<div class="topic-metadata">

**Author:** [@Sylvain1](https://forum.ansible.com/u/Sylvain1)\
**Replies:** 3\
**Last updated:** [January 20, 2016, 6:01pm UTC](https://forum.ansible.com/t/ansibles-philosophy-about-running-playbooks-against-localhost-and-use-lot-of-delegate-to-in-roles/20253 "2016-01-20T18:01:51Z")

</div>

Hi ! I’m currently thinking what is the best way to build a complete infrastructure based on Ansible 2. For example, take an installation of WordPress which need Apache and MySQL : 1/ I have 3 standalones roles which …

---

## [host failure does not skip the remaining roles/plays for the failed hosts](https://forum.ansible.com/t/host-failure-does-not-skip-the-remaining-roles-plays-for-the-failed-hosts/20292)

<div class="topic-metadata">

**Author:** [@Jesse\_Schluter](https://forum.ansible.com/u/Jesse_Schluter)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 3:28pm UTC](https://forum.ansible.com/t/host-failure-does-not-skip-the-remaining-roles-plays-for-the-failed-hosts/20292 "2016-01-20T15:28:39Z")

</div>

Hello everyone, we just switched to ansible 2.0. First of all thanks for all the work you put into it! But it seems I am unable to get it to behave “the way I am used to” :wink: Until now we had a task in the playbook…

---

## [group\_vars precedence?](https://forum.ansible.com/t/group-vars-precedence/19097)

<div class="topic-metadata">

**Author:** [@Duncan\_Hutty](https://forum.ansible.com/u/Duncan_Hutty)\
**Replies:** 2\
**Last updated:** [January 20, 2016, 2:42pm UTC](https://forum.ansible.com/t/group-vars-precedence/19097 "2016-01-20T14:42:39Z")

</div>

I have a host that is a member of 2 groups. Both groups set a variable 'my\_var' in \`group\_vars/\<group\_name\>/\`. How do I predict which one wins? (Ansible-1.9.2) With this playbook:

---

## [How to handle services with associated data changing with time ?](https://forum.ansible.com/t/how-to-handle-services-with-associated-data-changing-with-time/20290)

<div class="topic-metadata">

**Author:** [@Christophe\_Meessen](https://forum.ansible.com/u/Christophe_Meessen)\
**Replies:** 4\
**Last updated:** [January 20, 2016, 2:42pm UTC](https://forum.ansible.com/t/how-to-handle-services-with-associated-data-changing-with-time/20290 "2016-01-20T14:42:10Z")

</div>

Apparently I need the concept of method or specific action on a role and I don’t how to implement it. Consider a service with associated data changing in time on a remote host. I need to perform three distinct actions …

---

## [How to implement regular Ansible runs?](https://forum.ansible.com/t/how-to-implement-regular-ansible-runs/20288)

<div class="topic-metadata">

**Author:** [@Frank\_Thommen](https://forum.ansible.com/u/Frank_Thommen)\
**Replies:** 2\
**Last updated:** [January 20, 2016, 2:34pm UTC](https://forum.ansible.com/t/how-to-implement-regular-ansible-runs/20288 "2016-01-20T14:34:38Z")

</div>

Hi, we plan to deploy Linux client configurations via Ansible. Since not all clients are running all the time, we want Ansible to run the deployment in regular invervals, e.g. every 2-3 hours. What is “the Ansible way” …

---

## [Can't use resource\_tags with ec2\_vpc route tables Ansible 2.1.0 and 1.9.4](https://forum.ansible.com/t/cant-use-resource-tags-with-ec2-vpc-route-tables-ansible-2-1-0-and-1-9-4/20291)

<div class="topic-metadata">

**Author:** [@Christopher\_Carver](https://forum.ansible.com/u/Christopher_Carver)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 2:28pm UTC](https://forum.ansible.com/t/cant-use-resource-tags-with-ec2-vpc-route-tables-ansible-2-1-0-and-1-9-4/20291 "2016-01-20T14:28:18Z")

</div>

Hello All, First, I really appreciate Ansible. Unfortunately, I’m having trouble using resource\_tags with the ec2\_vpc module. In the 1.9.4, installed with yum, the resource\_tags are working well with subnets and the vpc…

---

## ["rescue" not being executed if failed inside an "include" in development branch](https://forum.ansible.com/t/rescue-not-being-executed-if-failed-inside-an-include-in-development-branch/20287)

<div class="topic-metadata">

**Author:** [@dcodix](https://forum.ansible.com/u/dcodix)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 10:15am UTC](https://forum.ansible.com/t/rescue-not-being-executed-if-failed-inside-an-include-in-development-branch/20287 "2016-01-20T10:15:41Z")

</div>

Hi there, I am not sure if it changed as a feature or if it is a bug so I am not opening an issue on github. The thing is: main.yml \` name: deploy hosts: all gather\_facts: True tasks: block: include: file\_to\_fai…

---

## [slow startup with many groups in inventory](https://forum.ansible.com/t/slow-startup-with-many-groups-in-inventory/16604)

<div class="topic-metadata">

**Author:** [@Harald\_Laabs](https://forum.ansible.com/u/Harald_Laabs)\
**Replies:** 19\
**Last updated:** [January 20, 2016, 8:36am UTC](https://forum.ansible.com/t/slow-startup-with-many-groups-in-inventory/16604 "2016-01-20T08:36:40Z")

</div>

Hi everyone, with the update to 1.7 ansible startup times went up to 25 seconds for me. After some debugging I found not really optimized functions in the inventory parsing. With more than 1000 servers and 10.000 grou…

---

## [Ansible Tower Alternative - My OpenSource Project](https://forum.ansible.com/t/ansible-tower-alternative-my-opensource-project/20285)

<div class="topic-metadata">

**Author:** [@Larry\_Smith1](https://forum.ansible.com/u/Larry_Smith1)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 4:19am UTC](https://forum.ansible.com/t/ansible-tower-alternative-my-opensource-project/20285 "2016-01-20T04:19:44Z")

</div>

All, I wanted to share and open this up for anyone who may be interested. I started working on an Ansible Tower replacement and then some 6-7 months ago. I worked on it for about 2-3 weeks and put it down and never did …

---

## [callbacks with --check](https://forum.ansible.com/t/callbacks-with-check/20280)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 3\
**Last updated:** [January 19, 2016, 10:20pm UTC](https://forum.ansible.com/t/callbacks-with-check/20280 "2016-01-19T22:20:24Z")

</div>

I am trying to put together a logging module to log changes, but I do not want to log anything when run in check-mode (because no changes were made, so this would be confusing to anyone reading the logs). Is there any w…

---

## [Template unable to replace file; the playbook uses "become" to get the elevated permission](https://forum.ansible.com/t/template-unable-to-replace-file-the-playbook-uses-become-to-get-the-elevated-permission/20260)

<div class="topic-metadata">

**Author:** [@Indra\_Gunawan](https://forum.ansible.com/u/Indra_Gunawan)\
**Replies:** 1\
**Last updated:** [January 19, 2016, 9:19pm UTC](https://forum.ansible.com/t/template-unable-to-replace-file-the-playbook-uses-become-to-get-the-elevated-permission/20260 "2016-01-19T21:19:07Z")

</div>

This error is a blocker my effort to use Template to automate our Jenkins installation to target Jenkins master on our corporate environment: PUT /tmp/tmpUjjIrF TO /users/ingunawa/.ansible/tmp/ansible-tmp-1453075333.7-1…

---

## [How to normalize Absible output?](https://forum.ansible.com/t/how-to-normalize-absible-output/20283)

<div class="topic-metadata">

**Author:** [@zbernie123](https://forum.ansible.com/u/zbernie123)\
**Replies:** 0\
**Last updated:** [January 19, 2016, 8:22pm UTC](https://forum.ansible.com/t/how-to-normalize-absible-output/20283 "2016-01-19T20:22:30Z")

</div>

I have a playbook entry which is performing an rpm command on a remote host: hosts: testgroup gather\_facts: no remote\_user: bartonbf tasks: name: List SIS packages shell: /bin/rpm -qa --queryformat ‘%-50{NAME} %{VE…

---

## [Bounty for moving simple lookup plugin to API V2!](https://forum.ansible.com/t/bounty-for-moving-simple-lookup-plugin-to-api-v2/20282)

<div class="topic-metadata">

**Author:** [@Marcus\_Morris](https://forum.ansible.com/u/Marcus_Morris)\
**Replies:** 0\
**Last updated:** [January 19, 2016, 7:17pm UTC](https://forum.ansible.com/t/bounty-for-moving-simple-lookup-plugin-to-api-v2/20282 "2016-01-19T19:17:11Z")

</div>

https://www.bountysource.com/issues/30020306-modify-to-use-ansible-api-v2

---

## [Bounty for moving simple lookup plugin to API V2!](https://forum.ansible.com/t/bounty-for-moving-simple-lookup-plugin-to-api-v2/20281)

<div class="topic-metadata">

**Author:** [@Marcus\_Morris](https://forum.ansible.com/u/Marcus_Morris)\
**Replies:** 0\
**Last updated:** [January 19, 2016, 7:16pm UTC](https://forum.ansible.com/t/bounty-for-moving-simple-lookup-plugin-to-api-v2/20281 "2016-01-19T19:16:22Z")

</div>

https://www.bountysource.com/issues/30020306-modify-to-use-ansible-api-v2

---

## [ssh error connection time out](https://forum.ansible.com/t/ssh-error-connection-time-out/20071)

<div class="topic-metadata">

**Author:** [@Vikram\_Ranabhatt](https://forum.ansible.com/u/Vikram_Ranabhatt)\
**Replies:** 1\
**Last updated:** [January 19, 2016, 7:12pm UTC](https://forum.ansible.com/t/ssh-error-connection-time-out/20071 "2016-01-19T19:12:17Z")

</div>

I am using ansible 1.9.3 Manuall ssh to the machine some time work and some time not work.But regardless of manuall ssh login…i am getting this error. PLAY \[licproxy\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## ["ERROR! module (ec2) is missing interpreter line"](https://forum.ansible.com/t/error-module-ec2-is-missing-interpreter-line/20278)

<div class="topic-metadata">

**Author:** [@Jim\_Razmus\_II](https://forum.ansible.com/u/Jim_Razmus_II)\
**Replies:** 2\
**Last updated:** [January 19, 2016, 5:39pm UTC](https://forum.ansible.com/t/error-module-ec2-is-missing-interpreter-line/20278 "2016-01-19T17:39:44Z")

</div>

I’m running a simple play to create an ec2 instance and encountering the error mentioned in the subject. Something must be wrong with my setup but I don’t know what it could be. I’m running Ansible from a clone of the re…

---

## [Problem with Playbook - one liner works](https://forum.ansible.com/t/problem-with-playbook-one-liner-works/20216)

<div class="topic-metadata">

**Author:** [@Arthur\_Francis](https://forum.ansible.com/u/Arthur_Francis)\
**Replies:** 2\
**Last updated:** [January 19, 2016, 5:15pm UTC](https://forum.ansible.com/t/problem-with-playbook-one-liner-works/20216 "2016-01-19T17:15:32Z")

</div>

could somebody please help, I am trying to create an Ansible playbook for our VMWare virtual hosts but the playbook will not work. If I run the same command on its own, it succeeds. Single command which works ansible v…

---

## [included tasks do not execute when running playbook with ansible api](https://forum.ansible.com/t/included-tasks-do-not-execute-when-running-playbook-with-ansible-api/20261)

<div class="topic-metadata">

**Author:** [@Shengwu\_Jiang](https://forum.ansible.com/u/Shengwu_Jiang)\
**Replies:** 3\
**Last updated:** [January 19, 2016, 4:55pm UTC](https://forum.ansible.com/t/included-tasks-do-not-execute-when-running-playbook-with-ansible-api/20261 "2016-01-19T16:55:22Z")

</div>

I have a simple test role located in /etc/ansible/roles/test/tasks/main.yml like this: --- - roles/common/tasks/facts.yml - include: test.yml And I use the example code of Python API 2.0 found in Documentation. Then I…

---

## [For 2.0 How to test if variable set to null in when clause](https://forum.ansible.com/t/for-2-0-how-to-test-if-variable-set-to-null-in-when-clause/20273)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 3\
**Last updated:** [January 19, 2016, 4:38pm UTC](https://forum.ansible.com/t/for-2-0-how-to-test-if-variable-set-to-null-in-when-clause/20273 "2016-01-19T16:38:18Z")

</div>

pre 2.0 set\_fact: uberHost: “{{ ansible\_ssh\_host }}” when: ansible\_ssh\_host is defined set fact: uberHost: “{{ inventory\_hostname }}” when: ansible\_ssh\_host is not defined Post 2.0, changed to use ansible\_host ub…

---

## [when conditional failing to skip a task on string comparison (2.0)](https://forum.ansible.com/t/when-conditional-failing-to-skip-a-task-on-string-comparison-2-0/20275)

<div class="topic-metadata">

**Author:** [@Eduardo\_Esclapes\_Gim](https://forum.ansible.com/u/Eduardo_Esclapes_Gim)\
**Replies:** 3\
**Last updated:** [January 19, 2016, 4:11pm UTC](https://forum.ansible.com/t/when-conditional-failing-to-skip-a-task-on-string-comparison-2-0/20275 "2016-01-19T16:11:18Z")

</div>

Hi there, A task that shoud skip is running and failing. This is the task name: Fail if project\_subtree\_path is set incorrectly fail: msg: “subtree is set to ‘{{ project\_subtree\_path }}’ but that path does not exis…

---

## [Include wildcard](https://forum.ansible.com/t/include-wildcard/20276)

<div class="topic-metadata">

**Author:** [@Patrick\_McMahon](https://forum.ansible.com/u/Patrick_McMahon)\
**Replies:** 1\
**Last updated:** [January 19, 2016, 4:01pm UTC](https://forum.ansible.com/t/include-wildcard/20276 "2016-01-19T16:01:54Z")

</div>

Hi Guys, Quick question. How can I do this in my playbook? \` Include all of new-apps include: ../\*/new-app.yml \` I get the following error: ERROR: file could not read: /ansible/playbooks/\*/new-app.yml I want ansi…

---

## [\[Ansible 2.\*\] Problem with variables](https://forum.ansible.com/t/ansible-2-problem-with-variables/20236)

<div class="topic-metadata">

**Author:** [@George\_Khan](https://forum.ansible.com/u/George_Khan)\
**Replies:** 5\
**Last updated:** [January 19, 2016, 3:39pm UTC](https://forum.ansible.com/t/ansible-2-problem-with-variables/20236 "2016-01-19T15:39:37Z")

</div>

Hi there! I have some troubles with vars in ansible… What i have: \` \[root@ansible ansible\]# cat /etc/ansible/roles/preconf/tasks/main.yml - name: installing pkg apt: pkg=$item with\_items: - htop - sudo …

---

## [Whitespace in multi-line variables on ansible 2.x](https://forum.ansible.com/t/whitespace-in-multi-line-variables-on-ansible-2-x/20274)

<div class="topic-metadata">

**Author:** [@Andrew\_Martin](https://forum.ansible.com/u/Andrew_Martin)\
**Replies:** 0\
**Last updated:** [January 19, 2016, 3:23pm UTC](https://forum.ansible.com/t/whitespace-in-multi-line-variables-on-ansible-2-x/20274 "2016-01-19T15:23:30Z")

</div>

Hello, When creating multi-line variables, I would often use the following technique to insert tabs in ansible 1.x: myvar: | {{'\\t'}}one {{'\\t'}}two {{'\\t'}}three This would result in the 3 lines being indented by…

---

## [Error executing maven\_artifact plugin](https://forum.ansible.com/t/error-executing-maven-artifact-plugin/20266)

<div class="topic-metadata">

**Author:** [@Bob\_Nuggett](https://forum.ansible.com/u/Bob_Nuggett)\
**Replies:** 1\
**Last updated:** [January 19, 2016, 1:51pm UTC](https://forum.ansible.com/t/error-executing-maven-artifact-plugin/20266 "2016-01-19T13:51:08Z")

</div>

I get the following error when trying to execute the maven\_artifact plugin \` fatal: \[172.28.128.6\]: FAILED! =\> {“changed”: false, “failed”: true, “module\_stderr”: “”, “module\_stdout”: “Traceback (most recent call last)…

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

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