# Latest

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

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

**Page:** 815

---

## [Failed to find required executable mysql](https://forum.ansible.com/t/failed-to-find-required-executable-mysql/18271)

<div class="topic-metadata">

**Author:** [@Albert\_Mikaelyan](https://forum.ansible.com/u/Albert_Mikaelyan)\
**Replies:** 1\
**Last updated:** [November 28, 2015, 11:41am UTC](https://forum.ansible.com/t/failed-to-find-required-executable-mysql/18271 "2015-11-28T11:41:56Z")

</div>

Hey guys, All I’m trying to do, is import a schema in case a database does not exist yet ansible --version ansible 1.9.1 remote host is running centos 7 (fully updated) with mysql and mysql-python packages installed. …

---

## [Whitespace in Value for INI\_FILE](https://forum.ansible.com/t/whitespace-in-value-for-ini-file/18254)

<div class="topic-metadata">

**Author:** [@Tim\_Jabaut](https://forum.ansible.com/u/Tim_Jabaut)\
**Replies:** 1\
**Last updated:** [November 28, 2015, 9:54am UTC](https://forum.ansible.com/t/whitespace-in-value-for-ini-file/18254 "2015-11-28T09:54:52Z")

</div>

I have a problem when using the ini\_file module as follows:

---

## [Ansible - configuring windows win\_acl](https://forum.ansible.com/t/ansible-configuring-windows-win-acl/19874)

<div class="topic-metadata">

**Author:** [@Larion\_Ciprian](https://forum.ansible.com/u/Larion_Ciprian)\
**Replies:** 1\
**Last updated:** [November 28, 2015, 8:42am UTC](https://forum.ansible.com/t/ansible-configuring-windows-win-acl/19874 "2015-11-28T08:42:48Z")

</div>

I am struggling for some time now to get some permission on a windows folder for some domain users but it looks like my users are not recognized. The kerberos authentication between my Linux machine and windows domain w…

---

## [Ansible hanging on the first npm update](https://forum.ansible.com/t/ansible-hanging-on-the-first-npm-update/19882)

<div class="topic-metadata">

**Author:** [@anoop](https://forum.ansible.com/u/anoop)\
**Replies:** 0\
**Last updated:** [November 28, 2015, 6:12am UTC](https://forum.ansible.com/t/ansible-hanging-on-the-first-npm-update/19882 "2015-11-28T06:12:06Z")

</div>

Hi, the first time i run this ansible task in the playbook it hangs. I have to go and ssh into the server run npm install manually and after that it works smoothly. Any workaround to get this working? name: install r…

---

## [AWS sts in stable-1.9?](https://forum.ansible.com/t/aws-sts-in-stable-1-9/19876)

<div class="topic-metadata">

**Author:** [@Fei\_He](https://forum.ansible.com/u/Fei_He)\
**Replies:** 2\
**Last updated:** [November 28, 2015, 4:22am UTC](https://forum.ansible.com/t/aws-sts-in-stable-1-9/19876 "2015-11-28T04:22:16Z")

</div>

Hey guys, I found there is a commit about AWS sts support in dev branch of ansible-core-modules, and that probably will be release in v2. So I am curious is that possible we can have it in v1.9 as well, so I just create…

---

## [trying out newer versions of ansible](https://forum.ansible.com/t/trying-out-newer-versions-of-ansible/19881)

<div class="topic-metadata">

**Author:** [@David\_Birdsong](https://forum.ansible.com/u/David_Birdsong)\
**Replies:** 1\
**Last updated:** [November 28, 2015, 1:05am UTC](https://forum.ansible.com/t/trying-out-newer-versions-of-ansible/19881 "2015-11-28T01:05:06Z")

</div>

I’ve been running ansible 1.7.2 for ~year now and I want to take advantage of a bunch of new features like block and fact cacheing. I pip installed ansible into a virtualenv. Running ansible --version tells me that ansi…

---

## [ansible-playbook stops after include](https://forum.ansible.com/t/ansible-playbook-stops-after-include/19142)

<div class="topic-metadata">

**Author:** [@Michael\_Legleux](https://forum.ansible.com/u/Michael_Legleux)\
**Replies:** 9\
**Last updated:** [November 27, 2015, 9:54pm UTC](https://forum.ansible.com/t/ansible-playbook-stops-after-include/19142 "2015-11-27T21:54:45Z")

</div>

Here is what I’m trying with ansible 2.0.0 (dev from earlier this week)

---

## [Boolean evaluation fails on variables set via inventory](https://forum.ansible.com/t/boolean-evaluation-fails-on-variables-set-via-inventory/13562)

<div class="topic-metadata">

**Author:** [@Ross\_Becker](https://forum.ansible.com/u/Ross_Becker)\
**Replies:** 7\
**Last updated:** [November 27, 2015, 9:03pm UTC](https://forum.ansible.com/t/boolean-evaluation-fails-on-variables-set-via-inventory/13562 "2015-11-27T21:03:03Z")

</div>

I’ve verified this in both ansible 1.2.2 and 1.3.0; any variable I set in an inventory file cannot be evaluated as a variable, which is a pretty big caveat the docs don’t mention. I can only evaluate variables as boolean…

---

## [Looping through hosts in a playbook](https://forum.ansible.com/t/looping-through-hosts-in-a-playbook/19856)

<div class="topic-metadata">

**Author:** [@Roger\_Sherman1](https://forum.ansible.com/u/Roger_Sherman1)\
**Replies:** 6\
**Last updated:** [November 27, 2015, 8:20pm UTC](https://forum.ansible.com/t/looping-through-hosts-in-a-playbook/19856 "2015-11-27T20:20:18Z")

</div>

I’m working on a playbook, that will be deploying a java app to four hosts. I want it to push the app out to each node, making sure the correct directories exist to push the new version to - that’s the easy part, and it …

---

## [Can't render JSON via lookup and POST via uri module](https://forum.ansible.com/t/cant-render-json-via-lookup-and-post-via-uri-module/19868)

<div class="topic-metadata">

**Author:** [@Greg\_Gilbert](https://forum.ansible.com/u/Greg_Gilbert)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 6:59pm UTC](https://forum.ansible.com/t/cant-render-json-via-lookup-and-post-via-uri-module/19868 "2015-11-27T18:59:27Z")

</div>

Hi, all. I opened a ticket about this but was redirected here. Basically, I’m having an issue where using lookup to render a template that gets passed into the uri module’s body parameter does not work. It throws an Typ…

---

## [HOW-TO: TOWER URL](https://forum.ansible.com/t/how-to-tower-url/19872)

<div class="topic-metadata">

**Author:** [@Nikos\_Skalis](https://forum.ansible.com/u/Nikos_Skalis)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 6:34pm UTC](https://forum.ansible.com/t/how-to-tower-url/19872 "2015-11-27T18:34:53Z")

</div>

hi guys, I just installed Ansible Tower using the bundle. i noticed that there is a process listening on 8080 that i assume it is the Tower app (i have nothing else installed) The problem is that i cannot find the UR…

---

## ["sudo: effective uid is not 0" for callback script from tower on AWS?](https://forum.ansible.com/t/sudo-effective-uid-is-not-0-for-callback-script-from-tower-on-aws/19867)

<div class="topic-metadata">

**Author:** [@Adrian\_Black1](https://forum.ansible.com/u/Adrian_Black1)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 6:16pm UTC](https://forum.ansible.com/t/sudo-effective-uid-is-not-0-for-callback-script-from-tower-on-aws/19867 "2015-11-27T18:16:01Z")

</div>

Hi I get this as a response from tower for a callback script. Tower and provisioned machine are running on AWS. Any help appreciated. { "msg": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system w…

---

## [become\_user not loading environment settings](https://forum.ansible.com/t/become-user-not-loading-environment-settings/19870)

<div class="topic-metadata">

**Author:** [@Jamie\_A](https://forum.ansible.com/u/Jamie_A)\
**Replies:** 2\
**Last updated:** [November 27, 2015, 5:12pm UTC](https://forum.ansible.com/t/become-user-not-loading-environment-settings/19870 "2015-11-27T17:12:18Z")

</div>

I am using Ansible to automate the deployment of a BAR file to IBM Integration Bus v9.0.0.4 Here is my playbook

---

## [Remote template](https://forum.ansible.com/t/remote-template/13576)

<div class="topic-metadata">

**Author:** [@Bruno\_Dupuis](https://forum.ansible.com/u/Bruno_Dupuis)\
**Replies:** 6\
**Last updated:** [November 27, 2015, 4:14pm UTC](https://forum.ansible.com/t/remote-template/13576 "2015-11-27T16:14:09Z")

</div>

Hi, Is there a practical way to use a remote file as a jinja template in template modules ? Let’s explain my use case: My application code requires configuration that may vary depending on the environment (dev/staging…

---

## [awx.main.commands.run\_socketio\_service Invalid connect path received: index.html](https://forum.ansible.com/t/awx-main-commands-run-socketio-service-invalid-connect-path-received-index-html/19873)

<div class="topic-metadata">

**Author:** [@Nikos\_Skalis](https://forum.ansible.com/u/Nikos_Skalis)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 4:08pm UTC](https://forum.ansible.com/t/awx-main-commands-run-socketio-service-invalid-connect-path-received-index-html/19873 "2015-11-27T16:08:23Z")

</div>

hi guys, i installed the Ansible Tower app. and i realized that it runs on port 8080 using HTTPS. i am very sorry about asking the following but couldn’t find it in the documentation: what is the exact URL that Tower…

---

## [Where should I keep templates/config files that concern multiple applications?](https://forum.ansible.com/t/where-should-i-keep-templates-config-files-that-concern-multiple-applications/19875)

<div class="topic-metadata">

**Author:** [@jan.warchol](https://forum.ansible.com/u/jan.warchol)\
**Replies:** 0\
**Last updated:** [November 27, 2015, 12:46pm UTC](https://forum.ansible.com/t/where-should-i-keep-templates-config-files-that-concern-multiple-applications/19875 "2015-11-27T12:46:49Z")

</div>

Hi, Let’s say I have a deployment that consists of a bunch of services and a “meta-service” that is supposed to watch over each of them (this can be a monitoring agent, a log collector or whatever). I have separate role…

---

## [Lost ELB on playbook failure](https://forum.ansible.com/t/lost-elb-on-playbook-failure/19866)

<div class="topic-metadata">

**Author:** [@David\_Gonzalez](https://forum.ansible.com/u/David_Gonzalez)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 7:53am UTC](https://forum.ansible.com/t/lost-elb-on-playbook-failure/19866 "2015-11-27T07:53:13Z")

</div>

Hi, I’m deploying my web app using an ansible playbook (Apache+Tomcat+Grails stack). It’s a web app with serveral frontend web servers, those fronts are behind several Amazons ELBs. Using Ansibles ec2\_facts I get the …

---

## [Is it possible to use jinja2 templates in tasks?](https://forum.ansible.com/t/is-it-possible-to-use-jinja2-templates-in-tasks/19860)

<div class="topic-metadata">

**Author:** [@Alexander\_Artemenko](https://forum.ansible.com/u/Alexander_Artemenko)\
**Replies:** 2\
**Last updated:** [November 27, 2015, 7:52am UTC](https://forum.ansible.com/t/is-it-possible-to-use-jinja2-templates-in-tasks/19860 "2015-11-27T07:52:09Z")

</div>

Hi! I’m trying to implement firewall rules management with ufw module. Idea is to have list of ports to be accessable from sources somewhere in host variables. For example, I have this in my group\_vars/consul\_servers: u…

---

## [Single quote characters were lost while using lineinfile for replacing](https://forum.ansible.com/t/single-quote-characters-were-lost-while-using-lineinfile-for-replacing/19871)

<div class="topic-metadata">

**Author:** [@Tim\_John](https://forum.ansible.com/u/Tim_John)\
**Replies:** 0\
**Last updated:** [November 27, 2015, 7:05am UTC](https://forum.ansible.com/t/single-quote-characters-were-lost-while-using-lineinfile-for-replacing/19871 "2015-11-27T07:05:04Z")

</div>

Hi, I’m trying to use lineinfile module to replacing a line which matches the regular expression. The file content is: \*\*#TIMEZONE='America/Chicago'\*\* P.S. Ignore the Markdown tags --- - hosts: servers remote\_user: r…

---

## [Callback-Plugin instance per fork - how to synchronize them?](https://forum.ansible.com/t/callback-plugin-instance-per-fork-how-to-synchronize-them/19863)

<div class="topic-metadata">

**Author:** [@Michael\_Wenig](https://forum.ansible.com/u/Michael_Wenig)\
**Replies:** 0\
**Last updated:** [November 26, 2015, 12:32pm UTC](https://forum.ansible.com/t/callback-plugin-instance-per-fork-how-to-synchronize-them/19863 "2015-11-26T12:32:22Z")

</div>

Hi, we have a callback plugin which gathers information (warnings and errors) about tasks and should display a summary at the end in playbook\_on\_stats as a summary. This is actually done by storing the information in a…

---

## [Finally relaxing unneccessary permission requirements](https://forum.ansible.com/t/finally-relaxing-unneccessary-permission-requirements/19862)

<div class="topic-metadata">

**Author:** [@Markus\_Suonto](https://forum.ansible.com/u/Markus_Suonto)\
**Replies:** 0\
**Last updated:** [November 26, 2015, 11:08am UTC](https://forum.ansible.com/t/finally-relaxing-unneccessary-permission-requirements/19862 "2015-11-26T11:08:10Z")

</div>

I took a look at this PR: https://github.com/ansible/ansible/commit/c0c56c723a98de43d060a3034aa7bde10ac6b59f And I completely agree that the \_set\_tenant\_id function in core module quantum\_network should be rewritten in…

---

## [play\_hosts with serial includes only the hosts of the current batch](https://forum.ansible.com/t/play-hosts-with-serial-includes-only-the-hosts-of-the-current-batch/19036)

<div class="topic-metadata">

**Author:** [@Ivaylo\_Bratoev](https://forum.ansible.com/u/Ivaylo_Bratoev)\
**Replies:** 6\
**Last updated:** [November 26, 2015, 6:20am UTC](https://forum.ansible.com/t/play-hosts-with-serial-includes-only-the-hosts-of-the-current-batch/19036 "2015-11-26T06:20:03Z")

</div>

When running a playbook with serial the play\_hosts variable includes the hosts just of the current batch. I think this is unexpected and can lead to various issues, especially with the cases where play\_hosts is generally…

---

## [Syntax for limiting to batches?](https://forum.ansible.com/t/syntax-for-limiting-to-batches/19852)

<div class="topic-metadata">

**Author:** [@Marc\_Abramowitz](https://forum.ansible.com/u/Marc_Abramowitz)\
**Replies:** 1\
**Last updated:** [November 26, 2015, 5:59am UTC](https://forum.ansible.com/t/syntax-for-limiting-to-batches/19852 "2015-11-26T05:59:32Z")

</div>

Using the "serial:" keyword so ansible can do hosts in batches. Wondering if there is support for addressing those batches - e.g.: -l dbservers@batch1 or something like that Use case is folks want to run a job to do ha…

---

## [Some task hangs execution](https://forum.ansible.com/t/some-task-hangs-execution/19859)

<div class="topic-metadata">

**Author:** [@Ivan\_Nunes](https://forum.ansible.com/u/Ivan_Nunes)\
**Replies:** 0\
**Last updated:** [November 26, 2015, 4:48am UTC](https://forum.ansible.com/t/some-task-hangs-execution/19859 "2015-11-26T04:48:27Z")

</div>

This task is locking up on some servers. It’s not often that happens. name: Reconfigure console shell: dpkg-reconfigure -f noninteractive console-setup -u sudo: yes tags: newpdv grub What I can improve on that task…

---

## [Attempting to yum install multiple packages using with\_items results in Python AttributeError: 'list' object has no attribute 'split'](https://forum.ansible.com/t/attempting-to-yum-install-multiple-packages-using-with-items-results-in-python-attributeerror-list-object-has-no-attribute-split/19854)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 13\
**Last updated:** [November 26, 2015, 4:16am UTC](https://forum.ansible.com/t/attempting-to-yum-install-multiple-packages-using-with-items-results-in-python-attributeerror-list-object-has-no-attribute-split/19854 "2015-11-26T04:16:49Z")

</div>

Good afternoon, I am attempting to install multiple packages on a CentOS 7 server. I am using 2.0.0-rc1. I keep running into a python error. I tried using a yum task in a role, using with\_items like so: yum: name={{ i…

---

## [Unable to auth via ec2.py](https://forum.ansible.com/t/unable-to-auth-via-ec2-py/19846)

<div class="topic-metadata">

**Author:** [@Rob\_Wilkerson](https://forum.ansible.com/u/Rob_Wilkerson)\
**Replies:** 5\
**Last updated:** [November 25, 2015, 10:46pm UTC](https://forum.ansible.com/t/unable-to-auth-via-ec2-py/19846 "2015-11-25T22:46:41Z")

</div>

I thought this would be the easiest part of creating a dynamic inventory, but I’m having a hell of a time connecting: boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. \[‘H…

---

## [Question about the script module](https://forum.ansible.com/t/question-about-the-script-module/19855)

<div class="topic-metadata">

**Author:** [@Tomasz\_Kuchta](https://forum.ansible.com/u/Tomasz_Kuchta)\
**Replies:** 2\
**Last updated:** [November 25, 2015, 10:28pm UTC](https://forum.ansible.com/t/question-about-the-script-module/19855 "2015-11-25T22:28:31Z")

</div>

Hello, If the script module is used in a loop, will it transfer the script to the remote on every iteration of the loop? Thank you, Tomek

---

## [Ansible module do idempotent management of Jenkins jobs.](https://forum.ansible.com/t/ansible-module-do-idempotent-management-of-jenkins-jobs/19858)

<div class="topic-metadata">

**Author:** [@WhileLoop1](https://forum.ansible.com/u/WhileLoop1)\
**Replies:** 2\
**Last updated:** [November 25, 2015, 9:53pm UTC](https://forum.ansible.com/t/ansible-module-do-idempotent-management-of-jenkins-jobs/19858 "2015-11-25T21:53:16Z")

</div>

Hi everyone. I have started working on a Ansible module to do idempotent creates, updates, or deletes on Jenkins jobs using the ‘jenkinsapi’ python library. Is this something you would find useful? Please take a quick lo…

---

## [stuck on "Missing become password"](https://forum.ansible.com/t/stuck-on-missing-become-password/19847)

<div class="topic-metadata">

**Author:** [@Dave\_Thacker](https://forum.ansible.com/u/Dave_Thacker)\
**Replies:** 4\
**Last updated:** [November 25, 2015, 2:42pm UTC](https://forum.ansible.com/t/stuck-on-missing-become-password/19847 "2015-11-25T14:42:01Z")

</div>

Hello I’m trying to run a playbook that will login as user ansible and then sudo to root to make configurations. I have a sudo entry that will allow root without password. The playbook looks like this:

---

## [hipchat module problem](https://forum.ansible.com/t/hipchat-module-problem/19833)

<div class="topic-metadata">

**Author:** [@jaychris](https://forum.ansible.com/u/jaychris)\
**Replies:** 2\
**Last updated:** [November 25, 2015, 1:52pm UTC](https://forum.ansible.com/t/hipchat-module-problem/19833 "2015-11-25T13:52:08Z")

</div>

I’m trying to do a simple hipchat module test. Here’s my playbook (note that we use an in-house hosted HipChat server, if that makes a difference): test.yml:

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

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