# Latest

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

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

**Page:** 394

---

## [Weird Kerberos Issues with WinRM and a new host spun up from vmware\_guest](https://forum.ansible.com/t/weird-kerberos-issues-with-winrm-and-a-new-host-spun-up-from-vmware-guest/32435)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 4\
**Last updated:** [March 10, 2020, 9:53pm UTC](https://forum.ansible.com/t/weird-kerberos-issues-with-winrm-and-a-new-host-spun-up-from-vmware-guest/32435 "2020-03-10T21:53:57Z")

</div>

Hi Ansible Community. I’ve been struggling with an issue I’ve actually posted about here before. It’s more of an annoyance than anything but I’d really love to get past it, as I’m trying to demo Infrastructure-as-code to…

---

## [Regarding the code flow of ansible](https://forum.ansible.com/t/regarding-the-code-flow-of-ansible/32438)

<div class="topic-metadata">

**Author:** [@Ravindra\_Lakal](https://forum.ansible.com/u/Ravindra_Lakal)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 8:32pm UTC](https://forum.ansible.com/t/regarding-the-code-flow-of-ansible/32438 "2020-03-10T20:32:58Z")

</div>

Hi, I have experience in python and looking forward to contribute in ansible I just want to know if there is a document or some guide for understanding the flow of code. Regards Ravindra Lakal

---

## [Module nxos\_user not recognizing fails saying role is invalid](https://forum.ansible.com/t/module-nxos-user-not-recognizing-fails-saying-role-is-invalid/29642)

<div class="topic-metadata">

**Author:** [@Eliezer\_Rodriguez](https://forum.ansible.com/u/Eliezer_Rodriguez)\
**Replies:** 2\
**Last updated:** [March 10, 2020, 6:06pm UTC](https://forum.ansible.com/t/module-nxos-user-not-recognizing-fails-saying-role-is-invalid/29642 "2020-03-10T18:06:55Z")

</div>

Hi everybody, I wrote this playbook to create a new role in Nexus OS and then create a new user to use that role. The role gets created but when it’s time for the second task to create the role it fails with a non-exis…

---

## [awx inventory of esxi](https://forum.ansible.com/t/awx-inventory-of-esxi/32433)

<div class="topic-metadata">

**Author:** [@Imran\_Mughal](https://forum.ansible.com/u/Imran_Mughal)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 5:37pm UTC](https://forum.ansible.com/t/awx-inventory-of-esxi/32433 "2020-03-10T17:37:38Z")

</div>

Is it possible to create an inventory of esxi hosts within vcenter from awx? I’ve created a vcenter source but it only returns the one virtual machine and not the esxi hosts.

---

## [VM IP not getting set when using vmware\_guest module](https://forum.ansible.com/t/vm-ip-not-getting-set-when-using-vmware-guest-module/32431)

<div class="topic-metadata">

**Author:** [@chavali\_shruti](https://forum.ansible.com/u/chavali_shruti)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 3:14pm UTC](https://forum.ansible.com/t/vm-ip-not-getting-set-when-using-vmware-guest-module/32431 "2020-03-10T15:14:01Z")

</div>

Hi Team, Not sure if this is a ansible bug, or something wrong with my script or setup. But I really need help. Issue is VM is getting created, OS is installed, but IP, subnet, gateway, etc are not getting assigned to …

---

## [ansible to create multiple security groups with os\_security\_group module](https://forum.ansible.com/t/ansible-to-create-multiple-security-groups-with-os-security-group-module/32430)

<div class="topic-metadata">

**Author:** [@Robert2](https://forum.ansible.com/u/Robert2)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 3:03pm UTC](https://forum.ansible.com/t/ansible-to-create-multiple-security-groups-with-os-security-group-module/32430 "2020-03-10T15:03:35Z")

</div>

Hey everyone, Has anyone been successful in using the openstack module os\_security\_group to create a list of security groups? Here is what I have: — - hosts: localhost gather\_facts: no vars\_prompt: - name: usernam…

---

## [Migrating tower\_\* modules to from tower-cli to awxkit](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374)

<div class="topic-metadata">

**Author:** [@Juerg\_Ritter](https://forum.ansible.com/u/Juerg_Ritter)\
**Replies:** 4\
**Last updated:** [March 10, 2020, 1:32pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374 "2020-03-10T13:32:33Z")

</div>

Hi everybody, I’m currently trying to get the tower\_\* modules in the awx collection running on a RHEL8. My problem is, there is no tower-cli RPM package for RHEL8 / Centos 8 around, so the only way to install tower-cli …

---

## [How to run ansible cli in awx](https://forum.ansible.com/t/how-to-run-ansible-cli-in-awx/32395)

<div class="topic-metadata">

**Author:** [@Francois\_Nature](https://forum.ansible.com/u/Francois_Nature)\
**Replies:** 5\
**Last updated:** [March 10, 2020, 12:57pm UTC](https://forum.ansible.com/t/how-to-run-ansible-cli-in-awx/32395 "2020-03-10T12:57:31Z")

</div>

Hi, I don’t seem to find the answer anywhere, I've just started to deploy and use ansible AWX. There are lots of tutos on ansible CLI. So when I run in the awx\_task container for example ansible-inventory --graph it …

---

## [AWX and ADFS (SAML)](https://forum.ansible.com/t/awx-and-adfs-saml/32415)

<div class="topic-metadata">

**Author:** [@Ansible\_Madness](https://forum.ansible.com/u/Ansible_Madness)\
**Replies:** 2\
**Last updated:** [March 10, 2020, 12:56pm UTC](https://forum.ansible.com/t/awx-and-adfs-saml/32415 "2020-03-10T12:56:57Z")

</div>

Bit of a vague question but I am messing around on some test servers and thought it would be cool to see if AWX can authenticate via AD & ADFS using SAML. Quite honestly I am still learning SAML (and things like ADFS), …

---

## [Which user/org is a dynamic AWX inventory script running for?](https://forum.ansible.com/t/which-user-org-is-a-dynamic-awx-inventory-script-running-for/32429)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 12:35pm UTC](https://forum.ansible.com/t/which-user-org-is-a-dynamic-awx-inventory-script-running-for/32429 "2020-03-10T12:35:21Z")

</div>

When a dynamic inventory script is run on AWX, would it be possible to determine for which user or organization the script is running for? I’ve checked and there are no args or environment variables which provide the inf…

---

## [Network switch total uptime in minutes](https://forum.ansible.com/t/network-switch-total-uptime-in-minutes/32418)

<div class="topic-metadata">

**Author:** [@Nasir\_Nasir](https://forum.ansible.com/u/Nasir_Nasir)\
**Replies:** 2\
**Last updated:** [March 10, 2020, 12:02pm UTC](https://forum.ansible.com/t/network-switch-total-uptime-in-minutes/32418 "2020-03-10T12:02:22Z")

</div>

Hi, i want to get the total uptime of switch in minutes, i have tried the below command for it but it gives me in days, hours, and minutes but i would need it only in minutes: i am currently using below module for it …

---

## [Can I get json output for jobs?](https://forum.ansible.com/t/can-i-get-json-output-for-jobs/32427)

<div class="topic-metadata">

**Author:** [@kurrent93](https://forum.ansible.com/u/kurrent93)\
**Replies:** 1\
**Last updated:** [March 10, 2020, 7:19am UTC](https://forum.ansible.com/t/can-i-get-json-output-for-jobs/32427 "2020-03-10T07:19:02Z")

</div>

Hello I’m hoping that I can use the AWX api to get data back from a job. I can call /api/v2/jobs/2704/stdout/?format=json, for example, but - while the result is technically json - its justs not particularly usable. I…

---

## [Is a file level group possible for multiple inventory files in directory?](https://forum.ansible.com/t/is-a-file-level-group-possible-for-multiple-inventory-files-in-directory/32426)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 0\
**Last updated:** [March 9, 2020, 8:48pm UTC](https://forum.ansible.com/t/is-a-file-level-group-possible-for-multiple-inventory-files-in-directory/32426 "2020-03-09T20:48:53Z")

</div>

I have two different organizations managed in two separate files, with some overlap in roles. I’m currently manually creating groups within each file target hosts in that file (conceptually “organization”). I’d like to…

---

## [apt-add-repository ppa:ansible/ansible timeout?](https://forum.ansible.com/t/apt-add-repository-ppa-ansible-ansible-timeout/32425)

<div class="topic-metadata">

**Author:** [@Joshua\_Goldman](https://forum.ansible.com/u/Joshua_Goldman)\
**Replies:** 1\
**Last updated:** [March 9, 2020, 7:26pm UTC](https://forum.ansible.com/t/apt-add-repository-ppa-ansible-ansible-timeout/32425 "2020-03-09T19:26:21Z")

</div>

Is adding the repository timing out for anyone else?

---

## [Unexpected parameter type in new Ansible role](https://forum.ansible.com/t/unexpected-parameter-type-in-new-ansible-role/32424)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 1\
**Last updated:** [March 9, 2020, 7:23pm UTC](https://forum.ansible.com/t/unexpected-parameter-type-in-new-ansible-role/32424 "2020-03-09T19:23:15Z")

</div>

I’m trying to create a role that will update Satellite content views using the Foreman/Katello modules. Here’s what the role tree looks like: \[root@server1 /etc/ansible/roles/foreman\_content\_views\]#tree . ├── defaults …

---

## [Thoughts on bugfix in ActionBase.\_low\_level\_execute\_command](https://forum.ansible.com/t/thoughts-on-bugfix-in-actionbase-low-level-execute-command/32421)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 0\
**Last updated:** [March 9, 2020, 2:58pm UTC](https://forum.ansible.com/t/thoughts-on-bugfix-in-actionbase-low-level-execute-command/32421 "2020-03-09T14:58:38Z")

</div>

Hey all - Last week, I opened https://github.com/ansible/ansible/issues/68054 (raw plugin doesn’t honor executable in Ansible 2.8+). Matt proposed an update to ActionBase.\_low\_level\_execute\_command that fixes the issue. …

---

## [Unable to substitute variable inside variable](https://forum.ansible.com/t/unable-to-substitute-variable-inside-variable/32420)

<div class="topic-metadata">

**Author:** [@Sanjay1](https://forum.ansible.com/u/Sanjay1)\
**Replies:** 2\
**Last updated:** [March 9, 2020, 2:00pm UTC](https://forum.ansible.com/t/unable-to-substitute-variable-inside-variable/32420 "2020-03-09T14:00:04Z")

</div>

Any idea/comments why this doesn’t work? Installed aversion - 2.9.0 Playbook : test.yml

---

## [Jinja2 iterate over strings and lists](https://forum.ansible.com/t/jinja2-iterate-over-strings-and-lists/32409)

<div class="topic-metadata">

**Author:** [@Quentin\_Aveno](https://forum.ansible.com/u/Quentin_Aveno)\
**Replies:** 2\
**Last updated:** [March 9, 2020, 12:54pm UTC](https://forum.ansible.com/t/jinja2-iterate-over-strings-and-lists/32409 "2020-03-09T12:54:30Z")

</div>

Hi guys, I got a question concerning list of lists and strings. I have something like : - name: test vars: test1: "test1" test2: - "test21" - "test22" test3: - "{{ test1 }}" …

---

## [using ansible facts in key value](https://forum.ansible.com/t/using-ansible-facts-in-key-value/32417)

<div class="topic-metadata">

**Author:** [@Azir\_Guleroglu](https://forum.ansible.com/u/Azir_Guleroglu)\
**Replies:** 2\
**Last updated:** [March 8, 2020, 2:08pm UTC](https://forum.ansible.com/t/using-ansible-facts-in-key-value/32417 "2020-03-08T14:08:58Z")

</div>

Hello, I try to use ansible facts in variable file but i get below error. Anyone how any idea how can i use my variable in to the playbook fatal: \[ANSIBLET01\]: FAILED! =\> {“ansible\_facts”: {}, “ansible\_included\_var\_fil…

---

## [Help on Ansible gcp\_compute\_snapshot module](https://forum.ansible.com/t/help-on-ansible-gcp-compute-snapshot-module/32407)

<div class="topic-metadata">

**Author:** [@FRANK\_L](https://forum.ansible.com/u/FRANK_L)\
**Replies:** 1\
**Last updated:** [March 8, 2020, 1:55pm UTC](https://forum.ansible.com/t/help-on-ansible-gcp-compute-snapshot-module/32407 "2020-03-08T13:55:37Z")

</div>

Hi Ansible helpers, Could someone help on how to use the Ansible gcp\_compute\_snapshot module? I created an Ansible playbook as bollow but ran into one error during the snapshot on SUSE 12.3. The error was "fatal: \[patc…

---

## [ansible-galaxy git clone failures](https://forum.ansible.com/t/ansible-galaxy-git-clone-failures/25231)

<div class="topic-metadata">

**Author:** [@Prasoon\_Majumdar](https://forum.ansible.com/u/Prasoon_Majumdar)\
**Replies:** 5\
**Last updated:** [March 8, 2020, 1:09pm UTC](https://forum.ansible.com/t/ansible-galaxy-git-clone-failures/25231 "2020-03-08T13:09:02Z")

</div>

Hello, I was trying to clone roles using ansible-galaxy cli from private repo, requirements file : working.yml src: git+https://git@git.xxxxxx.com/devops/ansible-role-fpm.git name: watever.fpm version: master ansi…

---

## [ansible variable in number](https://forum.ansible.com/t/ansible-variable-in-number/32416)

<div class="topic-metadata">

**Author:** [@SeungJoon](https://forum.ansible.com/u/SeungJoon)\
**Replies:** 4\
**Last updated:** [March 8, 2020, 7:17am UTC](https://forum.ansible.com/t/ansible-variable-in-number/32416 "2020-03-08T07:17:38Z")

</div>

I want to put the numbers 1 to 10 in the {{}} variable but it fails How to put numbers from 1 to 10 in a variable The condition does not use with\_item playbook example : name: Alarm check when: ‘“{{ }} alarms curre…

---

## [How to specify foldername with wildcard inside a jinja template](https://forum.ansible.com/t/how-to-specify-foldername-with-wildcard-inside-a-jinja-template/32414)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 1\
**Last updated:** [March 7, 2020, 5:34pm UTC](https://forum.ansible.com/t/how-to-specify-foldername-with-wildcard-inside-a-jinja-template/32414 "2020-03-07T17:34:27Z")

</div>

I wish to check using if condition inside a jinja template where any of the folders starting with the name “dump\_” has any file starting with the name bad For for single folder the below jinja template works as suggeste…

---

## [Cloud formation - minimum BOTO version](https://forum.ansible.com/t/cloud-formation-minimum-boto-version/32413)

<div class="topic-metadata">

**Author:** [@Harish\_S](https://forum.ansible.com/u/Harish_S)\
**Replies:** 0\
**Last updated:** [March 7, 2020, 2:19am UTC](https://forum.ansible.com/t/cloud-formation-minimum-boto-version/32413 "2020-03-07T02:19:14Z")

</div>

Hi, The cloud formation documentation indicates both BOTO & BOTO3 as a requirement. It seems a bit ambiguous as they are two different versions - is it BOTO or BOTO3 to be exact? From amazon.aws.cloudformation module –…

---

## [Ansible Module for Azure - Application Gateway Scaling](https://forum.ansible.com/t/ansible-module-for-azure-application-gateway-scaling/32412)

<div class="topic-metadata">

**Author:** [@John\_Sebastian](https://forum.ansible.com/u/John_Sebastian)\
**Replies:** 0\
**Last updated:** [March 6, 2020, 11:56pm UTC](https://forum.ansible.com/t/ansible-module-for-azure-application-gateway-scaling/32412 "2020-03-06T23:56:01Z")

</div>

I have seen Modules for creating new instance of Application gateway in Azure, But not Scale up/down Application Gateways which already exist. Can some one please help?

---

## [How to pylint and unit test module\_utils code in my local module/role?](https://forum.ansible.com/t/how-to-pylint-and-unit-test-module-utils-code-in-my-local-module-role/32408)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 4\
**Last updated:** [March 6, 2020, 10:07pm UTC](https://forum.ansible.com/t/how-to-pylint-and-unit-test-module-utils-code-in-my-local-module-role/32408 "2020-03-06T22:07:04Z")

</div>

When developing a role that has a local module with some code split into module\_utils, how do you set up your pythonpath or venv so that pylint and unit testing resolves the imports correctly? For example: https://githu…

---

## [Need win\_shell to run with elevated privileges](https://forum.ansible.com/t/need-win-shell-to-run-with-elevated-privileges/32411)

<div class="topic-metadata">

**Author:** [@Arielle\_Adams](https://forum.ansible.com/u/Arielle_Adams)\
**Replies:** 1\
**Last updated:** [March 6, 2020, 10:03pm UTC](https://forum.ansible.com/t/need-win-shell-to-run-with-elevated-privileges/32411 "2020-03-06T22:03:32Z")

</div>

Hi, I’m unable to get win\_shell to run with elevated “run as admin” privileges. I have the details posted below in this issue: https://github.com/ansible/ansible/issues/68086 As stated, I tried to see if it could be a…

---

## [Can't start AWX web, connection rabbitmq, postgres timeout](https://forum.ansible.com/t/cant-start-awx-web-connection-rabbitmq-postgres-timeout/32169)

<div class="topic-metadata">

**Author:** [@Tat\_Dat\_Pham](https://forum.ansible.com/u/Tat_Dat_Pham)\
**Replies:** 17\
**Last updated:** [March 6, 2020, 6:10pm UTC](https://forum.ansible.com/t/cant-start-awx-web-connection-rabbitmq-postgres-timeout/32169 "2020-03-06T18:10:51Z")

</div>

ISSUE TYPE- Bug Report SUMMARY##### ENVIRONMENT- AWX version: 9.1.1 AWX install method: docker on centos8 Ansible version: 2.9.3 Operating System: Centos 8 Web Browser: Chrome latest STEPS TO REPRODUCE Install awx foll…

---

## [Retrieving a document to a unique name?](https://forum.ansible.com/t/retrieving-a-document-to-a-unique-name/32368)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 2\
**Last updated:** [March 6, 2020, 5:52pm UTC](https://forum.ansible.com/t/retrieving-a-document-to-a-unique-name/32368 "2020-03-06T17:52:11Z")

</div>

I will write a program that looks for network devices on its local network and created a report of the findings. That’s easy. Using Ansible to push out the program and execute the program is easy. But how do I pull the r…

---

## [Including a playbook that usually has a survey in front of it](https://forum.ansible.com/t/including-a-playbook-that-usually-has-a-survey-in-front-of-it/32410)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 0\
**Last updated:** [March 6, 2020, 5:41pm UTC](https://forum.ansible.com/t/including-a-playbook-that-usually-has-a-survey-in-front-of-it/32410 "2020-03-06T17:41:53Z")

</div>

Hi AWX Team - I have a “Build a VM” playbook that typically has a survey in front of it in Ansible Tower. When the user launches it, it asks for hostname and IP address. If I want to include this play in another playbo…

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

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