# Latest

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

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

**Page:** 598

---

## [win\_Shell or win\_command executing a variable taken from win\_reg\_stat](https://forum.ansible.com/t/win-shell-or-win-command-executing-a-variable-taken-from-win-reg-stat/26276)

<div class="topic-metadata">

**Author:** [@Gareth\_Stockdale](https://forum.ansible.com/u/Gareth_Stockdale)\
**Replies:** 7\
**Last updated:** [December 17, 2017, 8:34pm UTC](https://forum.ansible.com/t/win-shell-or-win-command-executing-a-variable-taken-from-win-reg-stat/26276 "2017-12-17T20:34:28Z")

</div>

I have some vendor software where I am trying to uninstall (following their procedure) by obtaining the uninstall command and install location from the windows registry. I do this by querying win\_reg\_stat and storing res…

---

## [I an remote to server and login using root just fine, but ansible task is failing](https://forum.ansible.com/t/i-an-remote-to-server-and-login-using-root-just-fine-but-ansible-task-is-failing/26315)

<div class="topic-metadata">

**Author:** [@gitted](https://forum.ansible.com/u/gitted)\
**Replies:** 0\
**Last updated:** [December 17, 2017, 8:32pm UTC](https://forum.ansible.com/t/i-an-remote-to-server-and-login-using-root-just-fine-but-ansible-task-is-failing/26315 "2017-12-17T20:32:50Z")

</div>

My task throws an error as follows: TASK \[mysql : Update MySQL root password for all root accounts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[1.2.3.4\] (item=127.0.0.1) =\> {“chang…

---

## [awx surveys and nested yaml variables don't appear to work as expected](https://forum.ansible.com/t/awx-surveys-and-nested-yaml-variables-dont-appear-to-work-as-expected/26314)

<div class="topic-metadata">

**Author:** [@Brandon\_Jozsa](https://forum.ansible.com/u/Brandon_Jozsa)\
**Replies:** 0\
**Last updated:** [December 17, 2017, 5:17pm UTC](https://forum.ansible.com/t/awx-surveys-and-nested-yaml-variables-dont-appear-to-work-as-expected/26314 "2017-12-17T17:17:54Z")

</div>

Hey everyone. I have some questions about how AWX handles nested yaml values for things like surveys. I have a nested yaml declaration in previous playbook for group\_vars, and they look like this: OS API User Login Inf…

---

## [High CPU usage for process ansible command md and mdx](https://forum.ansible.com/t/high-cpu-usage-for-process-ansible-command-md-and-mdx/26313)

<div class="topic-metadata">

**Author:** [@TNK](https://forum.ansible.com/u/TNK)\
**Replies:** 1\
**Last updated:** [December 17, 2017, 1:19am UTC](https://forum.ansible.com/t/high-cpu-usage-for-process-ansible-command-md-and-mdx/26313 "2017-12-17T01:19:55Z")

</div>

Hi, I am new to ansible but and started to have a weird issue with CPU load. I am running on debian 9 with ansible 2.4 from backports (the same issue was on 2.2). This is the load I am getting straight after booting (no…

---

## [Ansible playbook failing on Ansible but completing on target machine](https://forum.ansible.com/t/ansible-playbook-failing-on-ansible-but-completing-on-target-machine/26281)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Replies:** 1\
**Last updated:** [December 16, 2017, 11:31am UTC](https://forum.ansible.com/t/ansible-playbook-failing-on-ansible-but-completing-on-target-machine/26281 "2017-12-16T11:31:32Z")

</div>

Hello, I have just started to use Ansible to complete some automation aspects on the Windows platform. My first task was to run our power shell script to install out Anti Virus software. I was able to achieve this by c…

---

## [clone roles for development.](https://forum.ansible.com/t/clone-roles-for-development/26311)

<div class="topic-metadata">

**Author:** [@ljenkin](https://forum.ansible.com/u/ljenkin)\
**Replies:** 0\
**Last updated:** [December 16, 2017, 10:45am UTC](https://forum.ansible.com/t/clone-roles-for-development/26311 "2017-12-16T10:45:41Z")

</div>

I am drafting up a proposal to solve the issue described here. https://github.com/ansible/ansible/issues/20977 In an environment where I work on dozens of roles, it would be handy to be able to use ansible-galaxy to se…

---

## [hosts\_vars subdirectories](https://forum.ansible.com/t/hosts-vars-subdirectories/26152)

<div class="topic-metadata">

**Author:** [@Vincent\_G](https://forum.ansible.com/u/Vincent_G)\
**Replies:** 1\
**Last updated:** [December 16, 2017, 9:06am UTC](https://forum.ansible.com/t/hosts-vars-subdirectories/26152 "2017-12-16T09:06:31Z")

</div>

Hi folks, Is there a way to organize the host\_vars directory into subdirectories ? If not, where to ask for it ? We have a large number of hosts (500+) and our usage actually suffer from this flat organization. I wou…

---

## [getting more detail from os\_stack module?](https://forum.ansible.com/t/getting-more-detail-from-os-stack-module/26310)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 0\
**Last updated:** [December 16, 2017, 6:48am UTC](https://forum.ansible.com/t/getting-more-detail-from-os-stack-module/26310 "2017-12-16T06:48:41Z")

</div>

Is it possible to get any more detail about a stack failure than what I’m getting when I use it? Running with -vvvv, I get an error like this “msg”: “(400) Client Error for url: https://…7408cd0d01ad/stacks”, if i run…

---

## [mysql\_users SHOW VIEW permission not granted.](https://forum.ansible.com/t/mysql-users-show-view-permission-not-granted/26309)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 11:11pm UTC](https://forum.ansible.com/t/mysql-users-show-view-permission-not-granted/26309 "2017-12-15T23:11:22Z")

</div>

I am struggling to set the SHOW VIEW permission for a user on a DATABASE. I have tried with the following syntax, to no avail: \` mysql\_user: name: “{{ } }” password: “{{ } }” priv: “\<my\_database\>.\*:SELECT,SHOW VI…

---

## [More efficient inventory lookups](https://forum.ansible.com/t/more-efficient-inventory-lookups/26293)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [December 15, 2017, 10:27pm UTC](https://forum.ansible.com/t/more-efficient-inventory-lookups/26293 "2017-12-15T22:27:13Z")

</div>

We’re using a custom inventory script that calls a webservice which again calls the aws ec2 api to list instances. The reason we do this, is that we store auto-generated and unique instance credentials, and the webservi…

---

## [Dynamic hosts in playbook with roles](https://forum.ansible.com/t/dynamic-hosts-in-playbook-with-roles/26307)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 9:04pm UTC](https://forum.ansible.com/t/dynamic-hosts-in-playbook-with-roles/26307 "2017-12-15T21:04:55Z")

</div>

that is not a valid playbook, you are putting tasks in vars\_prompt, they belong in a 'tasks' section, roles also shoudl be at play level: - name: Enter variables hosts: localhost gather\_facts: no vars\_…

---

## [Network visualization - https://www.ansible.com/network-visualization-in-ansible-tower](https://forum.ansible.com/t/network-visualization-https-www-ansible-com-network-visualization-in-ansible-tower/26303)

<div class="topic-metadata">

**Author:** [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 4:47pm UTC](https://forum.ansible.com/t/network-visualization-https-www-ansible-com-network-visualization-in-ansible-tower/26303 "2017-12-15T16:47:56Z")

</div>

Hi Is awx issue 611 "Feature: User Story 1: “As an operator I want to visualize the connected network that I have imported into AWX as an inventory so I can use Ansible and AWX to automate tasks on my network with confi…

---

## [Unable to get a token when accessing via Python 2.7 requests module](https://forum.ansible.com/t/unable-to-get-a-token-when-accessing-via-python-2-7-requests-module/26299)

<div class="topic-metadata">

**Author:** [@callmeshawn](https://forum.ansible.com/u/callmeshawn)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 4:11am UTC](https://forum.ansible.com/t/unable-to-get-a-token-when-accessing-via-python-2-7-requests-module/26299 "2017-12-15T04:11:46Z")

</div>

Hello, After beating my head on this and quite honestly confusing myself pretty well, I’m putting this out to the list for some help. I am able to use curl to: Get a token Use the token acquired in step 1 and issue a…

---

## [Best Practices to setup docker container with internal configuration files](https://forum.ansible.com/t/best-practices-to-setup-docker-container-with-internal-configuration-files/26298)

<div class="topic-metadata">

**Author:** [@Florian\_Schimmer](https://forum.ansible.com/u/Florian_Schimmer)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 12:02am UTC](https://forum.ansible.com/t/best-practices-to-setup-docker-container-with-internal-configuration-files/26298 "2017-12-15T00:02:57Z")

</div>

Hello, everyone, I’ve played a lot with ansible and docker. The whole thing works really well, except if I want to configure files etc. internally in the container. One possibility is to mount the internal configuratio…

---

## [AWX - AWS invenroty not showing up in UI](https://forum.ansible.com/t/awx-aws-invenroty-not-showing-up-in-ui/26296)

<div class="topic-metadata">

**Author:** [@Ravi\_Gavde](https://forum.ansible.com/u/Ravi_Gavde)\
**Replies:** 3\
**Last updated:** [December 14, 2017, 11:16pm UTC](https://forum.ansible.com/t/awx-aws-invenroty-not-showing-up-in-ui/26296 "2017-12-14T23:16:43Z")

</div>

These are awx\_task container logs, unable to figure out exact reason why aws inventory is not coming up on UI? InterfaceError: connection already closed 2017-12-13 22:43:16,643 ERROR awx.main.tasks Encountered error on…

---

## [Integrate ansible in CI/CD tools](https://forum.ansible.com/t/integrate-ansible-in-ci-cd-tools/26272)

<div class="topic-metadata">

**Author:** [@Helio\_Campos\_Mello\_1](https://forum.ansible.com/u/Helio_Campos_Mello_1)\
**Replies:** 1\
**Last updated:** [December 14, 2017, 10:33pm UTC](https://forum.ansible.com/t/integrate-ansible-in-ci-cd-tools/26272 "2017-12-14T22:33:58Z")

</div>

Hi guys, I’m trying to integrate an ansible playbook with my CI/CD tool (GOCD https://www.gocd.org/). It happens I have to pass a complex data structure (a hash with lists of hashes) to it and don’t know how to do it. …

---

## [Extremely slow performance when using AWX with external Postgres instance](https://forum.ansible.com/t/extremely-slow-performance-when-using-awx-with-external-postgres-instance/26248)

<div class="topic-metadata">

**Author:** [@Ben\_Donnaloia](https://forum.ansible.com/u/Ben_Donnaloia)\
**Replies:** 4\
**Last updated:** [December 14, 2017, 8:22pm UTC](https://forum.ansible.com/t/extremely-slow-performance-when-using-awx-with-external-postgres-instance/26248 "2017-12-14T20:22:50Z")

</div>

AWX is barely functional, clicking anything takes 3-4 minutes to load. Checked logs/monitoring (except for postgres which i do not have access to) and no red flags. As a test, I spun up a local postgres docker container,…

---

## [Starting sysv service when systemd is installed](https://forum.ansible.com/t/starting-sysv-service-when-systemd-is-installed/26295)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 4\
**Last updated:** [December 14, 2017, 7:06pm UTC](https://forum.ansible.com/t/starting-sysv-service-when-systemd-is-installed/26295 "2017-12-14T19:06:09Z")

</div>

Say my target machine has an OS running systemd, like CentOS 7, and I want to start a sysv service in /etc/init.d. These tickets suggest I pass use=service to the service module: https://github.com/ansible/ansible-modu…

---

## [Mail Callback With Items](https://forum.ansible.com/t/mail-callback-with-items/26294)

<div class="topic-metadata">

**Author:** [@bobby.czechova](https://forum.ansible.com/u/bobby.czechova)\
**Replies:** 0\
**Last updated:** [December 14, 2017, 5:01pm UTC](https://forum.ansible.com/t/mail-callback-with-items/26294 "2017-12-14T17:01:31Z")

</div>

Hi, I’m running Ansible 2.4.1.0. I have the below but for some reason I’m not getting the expected behaviour. Maybe I’m wrong or have assumed incorrectly? I’m expecting the mail callback plugin to output the fail msg…

---

## [Can't figure out how to gather facts](https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286)

<div class="topic-metadata">

**Author:** [@Al\_Caron](https://forum.ansible.com/u/Al_Caron)\
**Replies:** 2\
**Last updated:** [December 14, 2017, 3:53pm UTC](https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286 "2017-12-14T15:53:57Z")

</div>

When I look at any of my hosts in AWX, none of them have any facts. I’ve read the docs here but I still haven’t gotten any further. Per-Host Ansible Fact Cache Timeout is set to 0 in settings, and the template being run …

---

## [Trying to duplicate a Bash script into ansible -- Not sure how to best handle alternatives with Slaves](https://forum.ansible.com/t/trying-to-duplicate-a-bash-script-into-ansible-not-sure-how-to-best-handle-alternatives-with-slaves/26282)

<div class="topic-metadata">

**Author:** [@Justin2](https://forum.ansible.com/u/Justin2)\
**Replies:** 3\
**Last updated:** [December 14, 2017, 2:52pm UTC](https://forum.ansible.com/t/trying-to-duplicate-a-bash-script-into-ansible-not-sure-how-to-best-handle-alternatives-with-slaves/26282 "2017-12-14T14:52:13Z")

</div>

I see there was a feature request for this, but they do not note how they actually worked around it. In a nutshell, we download a groovy archive, unzip it, and create slaves for every file in the archive that is not the …

---

## [Ansible reporting](https://forum.ansible.com/t/ansible-reporting/26292)

<div class="topic-metadata">

**Author:** [@devopsforall](https://forum.ansible.com/u/devopsforall)\
**Replies:** 0\
**Last updated:** [December 14, 2017, 12:32pm UTC](https://forum.ansible.com/t/ansible-reporting/26292 "2017-12-14T12:32:29Z")

</div>

Has anyone done ansible reporting log to splunk, or forwarding its event logs?

---

## [Mount Point Size](https://forum.ansible.com/t/mount-point-size/26290)

<div class="topic-metadata">

**Author:** [@Ravikumar\_Wagh](https://forum.ansible.com/u/Ravikumar_Wagh)\
**Replies:** 2\
**Last updated:** [December 14, 2017, 11:26am UTC](https://forum.ansible.com/t/mount-point-size/26290 "2017-12-14T11:26:45Z")

</div>

Hello, I was trying to get details of mout points but found that df and ansible setup module not returns same size or block count. This is case even I specify bloc size for df command checkout below : ravikumar:~ # d…

---

## [os\_router module doubt](https://forum.ansible.com/t/os-router-module-doubt/26289)

<div class="topic-metadata">

**Author:** [@Carlos\_Tolon](https://forum.ansible.com/u/Carlos_Tolon)\
**Replies:** 0\
**Last updated:** [December 14, 2017, 9:32am UTC](https://forum.ansible.com/t/os-router-module-doubt/26289 "2017-12-14T09:32:23Z")

</div>

Hi there, I am working with openstack modules (os\_network, os\_router, os\_subnet, …) The point is that I am trying to remove a router, a subnet and a network with this modules but I am getting an error when trying to do…

---

## [debugging ansible internals](https://forum.ansible.com/t/debugging-ansible-internals/26287)

<div class="topic-metadata">

**Author:** [@vartika\_darshana](https://forum.ansible.com/u/vartika_darshana)\
**Replies:** 0\
**Last updated:** [December 14, 2017, 4:03am UTC](https://forum.ansible.com/t/debugging-ansible-internals/26287 "2017-12-14T04:03:50Z")

</div>

hi all, it looks like we are running into an odd, internal ansible bug, we are getting: module\_stdout: "/usr/bin/python: can’t open file ‘/root/.ansible/tmp/ansible-tmp-1513221896.59-46487435467258/my\_module’ it doesn…

---

## [Add conditional logic to variable files?](https://forum.ansible.com/t/add-conditional-logic-to-variable-files/26267)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 1\
**Last updated:** [December 14, 2017, 3:29am UTC](https://forum.ansible.com/t/add-conditional-logic-to-variable-files/26267 "2017-12-14T03:29:48Z")

</div>

I’ve been using Ansible Galaxy roles from Jeff Geerling. In his Github READMEs he seems to say that you can override variable settings in his default/main.yml and vars/\*.yml files by reproducing the desired settings in a…

---

## [Starting nrpe client using ansible task](https://forum.ansible.com/t/starting-nrpe-client-using-ansible-task/26263)

<div class="topic-metadata">

**Author:** [@Varun\_Raj\_c\_v](https://forum.ansible.com/u/Varun_Raj_c_v)\
**Replies:** 1\
**Last updated:** [December 14, 2017, 2:46am UTC](https://forum.ansible.com/t/starting-nrpe-client-using-ansible-task/26263 "2017-12-14T02:46:28Z")

</div>

I have written an ansible playbook to automate setup of nrpe 2.12 client which we use. The last step of the task is to start nrpe client as nagios user. ############### starting nrpe ################ name: go…

---

## [Variable precedence and why to over rule ?](https://forum.ansible.com/t/variable-precedence-and-why-to-over-rule/26262)

<div class="topic-metadata">

**Author:** [@akazia.info](https://forum.ansible.com/u/akazia.info)\
**Replies:** 3\
**Last updated:** [December 14, 2017, 2:32am UTC](https://forum.ansible.com/t/variable-precedence-and-why-to-over-rule/26262 "2017-12-14T02:32:44Z")

</div>

Hello, there is a quite simple setup I am sure many of us came across this: you have lean, slim and dedicate Roles every role has its own role vars playbooks include the roles Up to this point nothing spezial Now: l…

---

## [RPM cleanup+automatic build](https://forum.ansible.com/t/rpm-cleanup-automatic-build/26283)

<div class="topic-metadata">

**Author:** [@Martin\_Juhl](https://forum.ansible.com/u/Martin_Juhl)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 9:57pm UTC](https://forum.ansible.com/t/rpm-cleanup-automatic-build/26283 "2017-12-13T21:57:48Z")

</div>

Hi guys I have cleaned up my RPM build/installation, with alot of help from https://github.com/subuk/awx-rpm (have talked to him as well)… I have also setup an automatic build, which checks for new git commits every ho…

---

## [1.0.2 and fixes](https://forum.ansible.com/t/1-0-2-and-fixes/26285)

<div class="topic-metadata">

**Author:** [@matburt](https://forum.ansible.com/u/matburt)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 9:24pm UTC](https://forum.ansible.com/t/1-0-2-and-fixes/26285 "2017-12-13T21:24:45Z")

</div>

Greetings! Earlier today I merged a branch we were using to track some fixes that we’ve been working on over the last few weeks. Some of these changes are going to make upgrades difficult or impossible without starting …

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

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