# Latest

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

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

**Page:** 497

---

## [Accessing a sub-variable from a JSON output](https://forum.ansible.com/t/accessing-a-sub-variable-from-a-json-output/29282)

<div class="topic-metadata">

**Author:** [@JS11](https://forum.ansible.com/u/JS11)\
**Replies:** 2\
**Last updated:** [December 19, 2018, 11:39am UTC](https://forum.ansible.com/t/accessing-a-sub-variable-from-a-json-output/29282 "2018-12-19T11:39:58Z")

</div>

Hello I have a variable that contains output from a json file. \` name: set fact set\_fact: test123: “{{ jsonVar | json\_query(name\_query) }}” vars: name\_query: “.{name: name, ssh\_url\_to\_repo: ssh\_url\_to\_repo namesp…

---

## [Ansible delete files under a specific directory is failing](https://forum.ansible.com/t/ansible-delete-files-under-a-specific-directory-is-failing/29298)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 2\
**Last updated:** [December 19, 2018, 10:57am UTC](https://forum.ansible.com/t/ansible-delete-files-under-a-specific-directory-is-failing/29298 "2018-12-19T10:57:58Z")

</div>

This is expected as the ‘dest’ Parameter that you want to be absent is the webapps directory I.E. it gets deleted

---

## [playbook hanged due to shell command](https://forum.ansible.com/t/playbook-hanged-due-to-shell-command/29296)

<div class="topic-metadata">

**Author:** [@Roeland\_Jansen](https://forum.ansible.com/u/Roeland_Jansen)\
**Replies:** 1\
**Last updated:** [December 19, 2018, 8:12am UTC](https://forum.ansible.com/t/playbook-hanged-due-to-shell-command/29296 "2018-12-19T08:12:08Z")

</div>

I am pretty new to ansible. I looked at docs and such but it was not too clear for me yet. at some point in a playbook, the following sequence was executed via the shell module in some yaml file: scl enable rh-git29 ba…

---

## [Using variable in "hosts" definition](https://forum.ansible.com/t/using-variable-in-hosts-definition/29274)

<div class="topic-metadata">

**Author:** [@Ilya\_Ulis](https://forum.ansible.com/u/Ilya_Ulis)\
**Replies:** 4\
**Last updated:** [December 19, 2018, 1:47am UTC](https://forum.ansible.com/t/using-variable-in-hosts-definition/29274 "2018-12-19T01:47:14Z")

</div>

I have a role with the following yaml: \` \[root@ansible playbooks\]# head -n 4 roles/upgrade\_couchbase/tasks/main.yml hosts: COUCHBASE-cluster-{{ couchbase\_environment }} serial: 1 become: yes tasks: \` and a playb…

---

## [gcp\_dns\_resource\_record\_set - for subdomains](https://forum.ansible.com/t/gcp-dns-resource-record-set-for-subdomains/29293)

<div class="topic-metadata">

**Author:** [@katja.loeffler](https://forum.ansible.com/u/katja.loeffler)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 8:34pm UTC](https://forum.ansible.com/t/gcp-dns-resource-record-set-for-subdomains/29293 "2018-12-18T20:34:01Z")

</div>

Hi, I’m using ansible 2.7. I am trying to set a bunch of dns records for my project using the gcp\_dns\_resource\_record\_set module. This works just fine: name: create a resource record set for {{env}} gcp\_dns\_resourc…

---

## [Explain dynamic inventory](https://forum.ansible.com/t/explain-dynamic-inventory/29290)

<div class="topic-metadata">

**Author:** [@Jimmy\_Htor](https://forum.ansible.com/u/Jimmy_Htor)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 7:26pm UTC](https://forum.ansible.com/t/explain-dynamic-inventory/29290 "2018-12-18T19:26:52Z")

</div>

Hey, I don’t get how dynamic inventory is actually working. Or in my case, why it’s working. So I’ve tried setting up the vmware\_vm\_inventory plugin. I’ve put a vcenter.yml into /etc/ansible and “ansible-inventory -i …

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/29292)

<div class="topic-metadata">

**Author:** [@Christian\_Marquardt](https://forum.ansible.com/u/Christian_Marquardt)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 6:59pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/29292 "2018-12-18T18:59:45Z")

</div>

... via Mobile Mail

---

## [WinRM http\_status\_code: 500 with Basic authentication](https://forum.ansible.com/t/winrm-http-status-code-500-with-basic-authentication/29291)

<div class="topic-metadata">

**Author:** [@Aneil\_Younis](https://forum.ansible.com/u/Aneil_Younis)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 6:48pm UTC](https://forum.ansible.com/t/winrm-http-status-code-500-with-basic-authentication/29291 "2018-12-18T18:48:06Z")

</div>

I have a very odd situation, I have a new installation of CentOS7 on a free version of VSphere and I’m trying to test out Ansible to configure Windows computers but I am getting the dreaded Code 500 when trying to do the…

---

## [Removing the variables(which are seperated by ";" in the output of the previous command) one by one for cisco ASA device](https://forum.ansible.com/t/removing-the-variables-which-are-seperated-by-in-the-output-of-the-previous-command-one-by-one-for-cisco-asa-device/29289)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 5:20pm UTC](https://forum.ansible.com/t/removing-the-variables-which-are-seperated-by-in-the-output-of-the-previous-command-one-by-one-for-cisco-asa-device/29289 "2018-12-18T17:20:24Z")

</div>

Hi there, I have a question. I’m writing an ansible playbook for my cisco ASA device. As part of the playbook, I need to reset the “Current BOOT variable” in below output. sec/stby/Fw4Script(config)# show bootvar BOO…

---

## [Any way to include\_vars on output of a filter?](https://forum.ansible.com/t/any-way-to-include-vars-on-output-of-a-filter/29287)

<div class="topic-metadata">

**Author:** [@Kelley\_Spoon](https://forum.ansible.com/u/Kelley_Spoon)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 4:05pm UTC](https://forum.ansible.com/t/any-way-to-include-vars-on-output-of-a-filter/29287 "2018-12-18T16:05:13Z")

</div>

Howdy folks, I’m looking for some advice to see if there’s a more elegant way to do an “include\_vars” on the output of a filter rather than a file. I’m using the “passwordstore” module to get secrets out of ‘pass’. T…

---

## [Fetching task name or args in a plugin when no\_log is set to true?](https://forum.ansible.com/t/fetching-task-name-or-args-in-a-plugin-when-no-log-is-set-to-true/29285)

<div class="topic-metadata">

**Author:** [@nikobelia](https://forum.ansible.com/u/nikobelia)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 3:26pm UTC](https://forum.ansible.com/t/fetching-task-name-or-args-in-a-plugin-when-no-log-is-set-to-true/29285 "2018-12-18T15:26:13Z")

</div>

Hi Ansible devel list, I’m writing a callback plugin that uses ansible’s --diff flag to display a summary of changes made by a playbook. In a case where the ‘no\_log’ parameter has been set for a task, I want to respect …

---

## [Dynamic inventory with authentication](https://forum.ansible.com/t/dynamic-inventory-with-authentication/29283)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 1:06pm UTC](https://forum.ansible.com/t/dynamic-inventory-with-authentication/29283 "2018-12-18T13:06:09Z")

</div>

I have a dynamic inventory which makes a call to a NMS API. It requires environment variables set for the username & password to use with the NMS and also with the NMS API URL. Is it possible to pass environment variable…

---

## [Removing empty strings from a list](https://forum.ansible.com/t/removing-empty-strings-from-a-list/29281)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 10:45am UTC](https://forum.ansible.com/t/removing-empty-strings-from-a-list/29281 "2018-12-18T10:45:49Z")

</div>

I am trying to build a list of names from a list of objects. It works fine, but some of the objects don’t have a name. No problem, I use the default() filter to set those elements of my list to empty strings, like this: …

---

## [Mail Module: "Connection unexpectedly closed: timed out"](https://forum.ansible.com/t/mail-module-connection-unexpectedly-closed-timed-out/29279)

<div class="topic-metadata">

**Author:** [@Bharath\_Kumar2](https://forum.ansible.com/u/Bharath_Kumar2)\
**Replies:** 0\
**Last updated:** [December 17, 2018, 10:33pm UTC](https://forum.ansible.com/t/mail-module-connection-unexpectedly-closed-timed-out/29279 "2018-12-17T22:33:36Z")

</div>

Hello Ansible Team/Users, I have a Playbook which is expected to send an email, as below. When run, it errors out with “Unable to Connect mailer.domain.com:25: Connection unexpectedly closed: timed out”. \`

---

## [Gitlab Integration](https://forum.ansible.com/t/gitlab-integration/29277)

<div class="topic-metadata">

**Author:** [@Ricardo\_Augusto\_Sant](https://forum.ansible.com/u/Ricardo_Augusto_Sant)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 9:48pm UTC](https://forum.ansible.com/t/gitlab-integration/29277 "2018-12-17T21:48:49Z")

</div>

Hello everyone! I’m trying to integrate AWX x GITLAB and I receiving below issue: “msg”: “ssh: Could not resolve hostname gitlabserver.local: Name or service not known\\r\\nfatal: Could not read from remote repository.\\n…

---

## [failure to parse \`environment\`](https://forum.ansible.com/t/failure-to-parse-environment/29278)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [December 17, 2018, 9:01pm UTC](https://forum.ansible.com/t/failure-to-parse-environment/29278 "2018-12-17T21:01:38Z")

</div>

I am running \` name: Install logstash {{ logstash\_apt\_version }} apt: pkg: “logstash={{ logstash\_apt\_version }}” state: present force: “{{ logstash\_apt\_force | default(false) }}” environment: “{{ logstash\_environ…

---

## [plain text git credentials](https://forum.ansible.com/t/plain-text-git-credentials/29275)

<div class="topic-metadata">

**Author:** [@Ruben\_de\_Groot](https://forum.ansible.com/u/Ruben_de_Groot)\
**Replies:** 3\
**Last updated:** [December 17, 2018, 8:25pm UTC](https://forum.ansible.com/t/plain-text-git-credentials/29275 "2018-12-17T20:25:33Z")

</div>

Hi While setting up an awx container for our devops department I noticed git credentials are stored in plain text on the filesystem (in /var/lib/awx/\_some\_project/.git/config e.g.). Not sure if this is a known issue, bu…

---

## [Inventory from kubernetes?](https://forum.ansible.com/t/inventory-from-kubernetes/29251)

<div class="topic-metadata">

**Author:** [@kurrent93](https://forum.ansible.com/u/kurrent93)\
**Replies:** 7\
**Last updated:** [December 17, 2018, 8:17pm UTC](https://forum.ansible.com/t/inventory-from-kubernetes/29251 "2018-12-17T20:17:57Z")

</div>

Hello Im new to awx - and am wondering if it is possible to have a dynamic inventory where the hosts are containers from kubernetes? Thanks

---

## [Ansible : Deploy task in round robin fashion](https://forum.ansible.com/t/ansible-deploy-task-in-round-robin-fashion/29228)

<div class="topic-metadata">

**Author:** [@Tejas\_Gadaria1](https://forum.ansible.com/u/Tejas_Gadaria1)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 7:05pm UTC](https://forum.ansible.com/t/ansible-deploy-task-in-round-robin-fashion/29228 "2018-12-17T19:05:41Z")

</div>

Hello all, I have group tgt-cluster includes 3 hosts. I have written down role to deploy container which is executing on tgt-cluster group. I am controlling the number of containers to deploy with with\_sequence. My task…

---

## [vmware\_guest module Ansible 2.7.4 on latest RHEL 7u6](https://forum.ansible.com/t/vmware-guest-module-ansible-2-7-4-on-latest-rhel-7u6/29276)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 3\
**Last updated:** [December 17, 2018, 6:22pm UTC](https://forum.ansible.com/t/vmware-guest-module-ansible-2-7-4-on-latest-rhel-7u6/29276 "2018-12-17T18:22:57Z")

</div>

Hi I am getting the following error when I try running a playbook to create a new VM from a template. It worked before I did yum update on the control server. The full traceback is: Traceback (most recent call last): …

---

## [Is AWX suitable for managing IoT edge computers](https://forum.ansible.com/t/is-awx-suitable-for-managing-iot-edge-computers/29268)

<div class="topic-metadata">

**Author:** [@tim.coote](https://forum.ansible.com/u/tim.coote)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 3:27pm UTC](https://forum.ansible.com/t/is-awx-suitable-for-managing-iot-edge-computers/29268 "2018-12-17T15:27:20Z")

</div>

We’ve been using ansible to manage small numbers of small computers in homes and I’m wondering if AWX is a suitable platform for managing large numbers of such computers, or is it really only suitable for small estates (\<…

---

## [requirements.yml to gitlab repo with ssh key](https://forum.ansible.com/t/requirements-yml-to-gitlab-repo-with-ssh-key/29262)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 3:26pm UTC](https://forum.ansible.com/t/requirements-yml-to-gitlab-repo-with-ssh-key/29262 "2018-12-17T15:26:04Z")

</div>

hi i usi a scm with scm privare key to download project no problem when i use a requirement.yml like this src: git@anacard.com/AnsibleGalaxy/Common.git scm: git version: master i receive this error i see in the …

---

## [Upgrade Question](https://forum.ansible.com/t/upgrade-question/28990)

<div class="topic-metadata">

**Author:** [@Chuck\_Payne](https://forum.ansible.com/u/Chuck_Payne)\
**Replies:** 6\
**Last updated:** [December 17, 2018, 3:19pm UTC](https://forum.ansible.com/t/upgrade-question/28990 "2018-12-17T15:19:21Z")

</div>

Guys, I upgrade from 2.0 to 2.1, and when I hit my home page I am seeing the following… http://awx.magidesign.com/migrations\_notran/#/login AWXis currently upgrading. This page will refresh when complete. It’s stuck…

---

## [module postgres\_privs unexpected behaviour with default privs](https://forum.ansible.com/t/module-postgres-privs-unexpected-behaviour-with-default-privs/29273)

<div class="topic-metadata">

**Author:** [@Giannis\_Sialmas](https://forum.ansible.com/u/Giannis_Sialmas)\
**Replies:** 0\
**Last updated:** [December 17, 2018, 2:41am UTC](https://forum.ansible.com/t/module-postgres-privs-unexpected-behaviour-with-default-privs/29273 "2018-12-17T02:41:26Z")

</div>

Some details \` ansible 2.7.4 python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) \[GCC 7.3.0\] postgres version: PostgreSQL 10.6 (Ubuntu 10.6-1.pgdg16.04+1) on x86\_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0…

---

## [how-to split file group\_vars ?](https://forum.ansible.com/t/how-to-split-file-group-vars/29271)

<div class="topic-metadata">

**Author:** [@Michele\_Salerno](https://forum.ansible.com/u/Michele_Salerno)\
**Replies:** 0\
**Last updated:** [December 15, 2018, 9:40pm UTC](https://forum.ansible.com/t/how-to-split-file-group-vars/29271 "2018-12-15T21:40:11Z")

</div>

I have this file for config zones bind dns. Ho-to split this file for single zone? https://github.com/mikysal78/nnxx-bind-server/blob/master/group\_vars/dns-server/bind Thanks.

---

## [How to run a localhost python script in a play defined for a different host group?](https://forum.ansible.com/t/how-to-run-a-localhost-python-script-in-a-play-defined-for-a-different-host-group/29269)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 8\
**Last updated:** [December 15, 2018, 8:00pm UTC](https://forum.ansible.com/t/how-to-run-a-localhost-python-script-in-a-play-defined-for-a-different-host-group/29269 "2018-12-15T20:00:47Z")

</div>

I have got the following playbook: \`

---

## [How can i specify HTTPBasicAuth Authentication in AWX Webhook Notifications](https://forum.ansible.com/t/how-can-i-specify-httpbasicauth-authentication-in-awx-webhook-notifications/29270)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 2\
**Last updated:** [December 15, 2018, 2:23pm UTC](https://forum.ansible.com/t/how-can-i-specify-httpbasicauth-authentication-in-awx-webhook-notifications/29270 "2018-12-15T14:23:13Z")

</div>

I am trying to send Webhook Notifications about the job completion from AWX to MS Teams. I am able to do this using Python requests by specifying required credentials (username, password) as HTTPBasicAuth values. How ca…

---

## [My playbook is not running](https://forum.ansible.com/t/my-playbook-is-not-running/29235)

<div class="topic-metadata">

**Author:** [@Fernando\_William](https://forum.ansible.com/u/Fernando_William)\
**Replies:** 2\
**Last updated:** [December 15, 2018, 1:59am UTC](https://forum.ansible.com/t/my-playbook-is-not-running/29235 "2018-12-15T01:59:00Z")

</div>

Hi, when i try to run a playbok in a docker role, i´m advised about syntax erro. someone could help me with my yml? the /roles/docker/tasks/main.yml is: #start tasks file for docker name: Grant Docker Instalation …

---

## [AWX x GITLAB Integration](https://forum.ansible.com/t/awx-x-gitlab-integration/29249)

<div class="topic-metadata">

**Author:** [@Ricardo\_Augusto\_Sant](https://forum.ansible.com/u/Ricardo_Augusto_Sant)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 11:04pm UTC](https://forum.ansible.com/t/awx-x-gitlab-integration/29249 "2018-12-14T23:04:14Z")

</div>

Hello everyone! I’m trying to integrate AWX x GITLAB and I receiving below issue: “msg”: “ssh: Could not resolve hostname gitlabserver.local: Name or service not known\\r\\nfatal: Could not read from remote repository.\\n…

---

## [win\_chocolatey using unc path in source](https://forum.ansible.com/t/win-chocolatey-using-unc-path-in-source/29264)

<div class="topic-metadata">

**Author:** [@Serge\_Zajac](https://forum.ansible.com/u/Serge_Zajac)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:48pm UTC](https://forum.ansible.com/t/win-chocolatey-using-unc-path-in-source/29264 "2018-12-14T21:48:18Z")

</div>

Hi cheers, I’m not able to use a share or unc path in the source parameter of win\_chocolatey module The same is running if you use choco directly with cinst -y myPack --source “\\myserver\\myshare” I’ve opened an issue …

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

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