# Latest

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

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

**Page:** 396

---

## [Sudo su -](https://forum.ansible.com/t/sudo-su/32375)

<div class="topic-metadata">

**Author:** [@Suresh\_R](https://forum.ansible.com/u/Suresh_R)\
**Replies:** 2\
**Last updated:** [March 3, 2020, 8:33pm UTC](https://forum.ansible.com/t/sudo-su/32375 "2020-03-03T20:33:54Z")

</div>

In my environment we needed to execute the command " sudo su - " to become a root. I did tried something with the become method but nothing got worked. Do we have working setup for this scenario ?

---

## [Simple Math with String to Int](https://forum.ansible.com/t/simple-math-with-string-to-int/32370)

<div class="topic-metadata">

**Author:** [@M\_F](https://forum.ansible.com/u/M_F)\
**Replies:** 3\
**Last updated:** [March 3, 2020, 8:16pm UTC](https://forum.ansible.com/t/simple-math-with-string-to-int/32370 "2020-03-03T20:16:06Z")

</div>

Hi All, Im having trouble with setting a fact, doing some math, and having the result be an INT To start, i set the base Var set\_fact: SOMENUMBER = 8 Ansible stores this value as a String Later, i need to divide tha…

---

## [Sum a list of items received](https://forum.ansible.com/t/sum-a-list-of-items-received/32342)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 10\
**Last updated:** [March 3, 2020, 2:31pm UTC](https://forum.ansible.com/t/sum-a-list-of-items-received/32342 "2020-03-03T14:31:28Z")

</div>

I’m using the gluster\_heal\_info module to check the heal status of a gluster volume. What I’d like to do is gather the “no\_of\_entries” parameter, sum them up, and it if it is 0, move to the next step of stopping gluster …

---

## [Checkpoint Interface details](https://forum.ansible.com/t/checkpoint-interface-details/32271)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 5\
**Last updated:** [March 3, 2020, 11:30am UTC](https://forum.ansible.com/t/checkpoint-interface-details/32271 "2020-03-03T11:30:37Z")

</div>

Hi , Has anybody generated interface report for checkpoint firewalls using Ansible? Thanks

---

## [Unable to read variable in a loop using include\_vars.](https://forum.ansible.com/t/unable-to-read-variable-in-a-loop-using-include-vars/32371)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 6\
**Last updated:** [March 3, 2020, 10:11am UTC](https://forum.ansible.com/t/unable-to-read-variable-in-a-loop-using-include-vars/32371 "2020-03-03T10:11:18Z")

</div>

Below is my playbook which loads variables and passes it to ls command on remote hosts. \` name: Load repository include\_vars: file=“{{ playbook\_dir }}/vars/listing.yml” name=user1 set\_fact: allinonecmd: “{{ al…

---

## [ping windows - ssl: the specified credentials were rejected by the serve](https://forum.ansible.com/t/ping-windows-ssl-the-specified-credentials-were-rejected-by-the-serve/23564)

<div class="topic-metadata">

**Author:** [@John\_Norris](https://forum.ansible.com/u/John_Norris)\
**Replies:** 7\
**Last updated:** [March 3, 2020, 10:02am UTC](https://forum.ansible.com/t/ping-windows-ssl-the-specified-credentials-were-rejected-by-the-serve/23564 "2020-03-03T10:02:32Z")

</div>

Hi I am running ansible 2.1.2.0 on centos7. The windows machine is running windows 10 with powershell 5. I have installed pywinrm-0.2.2, included windows hostnames in the inventory file and also added group variables t…

---

## [Unable to combine docker\_login with credential store](https://forum.ansible.com/t/unable-to-combine-docker-login-with-credential-store/32372)

<div class="topic-metadata">

**Author:** [@Jeremy\_Njock](https://forum.ansible.com/u/Jeremy_Njock)\
**Replies:** 1\
**Last updated:** [March 3, 2020, 10:00am UTC](https://forum.ansible.com/t/unable-to-combine-docker-login-with-credential-store/32372 "2020-03-03T10:00:23Z")

</div>

Hello, I’m using ansible 2.9 to install Docker on a remote RedHat, create a docker credential store with pass and pull several images from private docker registries. After the run of my playbook installing docker, docke…

---

## [Facing issue with URI module](https://forum.ansible.com/t/facing-issue-with-uri-module/32362)

<div class="topic-metadata">

**Author:** [@Himanshu\_Pupneja](https://forum.ansible.com/u/Himanshu_Pupneja)\
**Replies:** 4\
**Last updated:** [March 3, 2020, 6:29am UTC](https://forum.ansible.com/t/facing-issue-with-uri-module/32362 "2020-03-03T06:29:43Z")

</div>

I am facing issue in URI module, Could you please help me in this It works well with postman and curl command. Below module is failing

---

## [Swapping credentials](https://forum.ansible.com/t/swapping-credentials/32356)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 14\
**Last updated:** [March 3, 2020, 2:11am UTC](https://forum.ansible.com/t/swapping-credentials/32356 "2020-03-03T02:11:35Z")

</div>

Hi Ansible Community! I have a playbook running against windows servers. I have one play where I’m connecting as the local administrator, then a second play where I’m connecting as a domain user. I’m confused on how to …

---

## [\-u not being set when running ad-hoc ansible run?](https://forum.ansible.com/t/u-not-being-set-when-running-ad-hoc-ansible-run/32369)

<div class="topic-metadata">

**Author:** [@John\_Miller](https://forum.ansible.com/u/John_Miller)\
**Replies:** 0\
**Last updated:** [March 3, 2020, 12:24am UTC](https://forum.ansible.com/t/u-not-being-set-when-running-ad-hoc-ansible-run/32369 "2020-03-03T00:24:46Z")

</div>

Hello everyone, I’m trying to run the following ad hoc ansible command to run the date command remotely against an IP camera running Linux: \` myuser@myhost:$ ansible camera.site.example.org -i /path/to/inventory -u ro…

---

## [endless circulation](https://forum.ansible.com/t/endless-circulation/32367)

<div class="topic-metadata">

**Author:** [@YiCheng\_Song](https://forum.ansible.com/u/YiCheng_Song)\
**Replies:** 0\
**Last updated:** [March 2, 2020, 7:38pm UTC](https://forum.ansible.com/t/endless-circulation/32367 "2020-03-02T19:38:48Z")

</div>

---

## [Contributing problem](https://forum.ansible.com/t/contributing-problem/32366)

<div class="topic-metadata">

**Author:** [@YiCheng\_Song](https://forum.ansible.com/u/YiCheng_Song)\
**Replies:** 0\
**Last updated:** [March 2, 2020, 7:29pm UTC](https://forum.ansible.com/t/contributing-problem/32366 "2020-03-02T19:29:36Z")

</div>

I want to add some features on AWX. I have installed https://github.com/ansible/awx/blob/devel/CONTRIBUTING.md. but I can not access the AWX web interface. regards

---

## [ansible/ansible devel branch has been frozen](https://forum.ansible.com/t/ansible-ansible-devel-branch-has-been-frozen/32365)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [March 2, 2020, 4:53pm UTC](https://forum.ansible.com/t/ansible-ansible-devel-branch-has-been-frozen/32365 "2020-03-02T16:53:38Z")

</div>

The devel branch of ansible/ansible has been frozen for the next 3 weeks. No changes will be accepted into the temporary branch until after March 11. The temporary branch may have to be deleted and recreated from now th…

---

## [Cannot run playbook inside AWX](https://forum.ansible.com/t/cannot-run-playbook-inside-awx/32269)

<div class="topic-metadata">

**Author:** [@A\_Constantin](https://forum.ansible.com/u/A_Constantin)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 4:29pm UTC](https://forum.ansible.com/t/cannot-run-playbook-inside-awx/32269 "2020-03-02T16:29:49Z")

</div>

SUMMARY I am running AWX Docker setup and I just try to run a simple playbook: https://galaxy.ansible.com/dapiced/patch\_update\_yum/patch\_update\_yum Which from the command line it runs perfectly, it does what it should, …

---

## [script to scan projects for ansible 2.10 compatibility issues?](https://forum.ansible.com/t/script-to-scan-projects-for-ansible-2-10-compatibility-issues/32364)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 0\
**Last updated:** [March 2, 2020, 4:16pm UTC](https://forum.ansible.com/t/script-to-scan-projects-for-ansible-2-10-compatibility-issues/32364 "2020-03-02T16:16:19Z")

</div>

Is there a script to scan projects for ansible 2.10 compatibility issues? For example: - use of non-core ansible modules - use of "bare" module/role name where FQCN will be needed I'd like to add something like that …

---

## [How to replace all occurrences of '\_' by '-' in all keys of a YAML complex object](https://forum.ansible.com/t/how-to-replace-all-occurrences-of-by-in-all-keys-of-a-yaml-complex-object/32343)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 2:50pm UTC](https://forum.ansible.com/t/how-to-replace-all-occurrences-of-by-in-all-keys-of-a-yaml-complex-object/32343 "2020-03-02T14:50:56Z")

</div>

For instance, let’s consider the following YAML data: \` key\_1: ‘$.\*?/|^(){}+@&\_-’ key\_2: ‘$.\*?/|^(){}+@&\_-’ “{\_}” value23 key\_3: value31 key\_4: value41 value42 key\_5: value51 key\_1\_: value12 \_key\_2: value24 value…

---

## [Python 2, Python 3, Conda, and ansible modules dnf and docker\_container](https://forum.ansible.com/t/python-2-python-3-conda-and-ansible-modules-dnf-and-docker-container/32363)

<div class="topic-metadata">

**Author:** [@Julien\_Cochennec](https://forum.ansible.com/u/Julien_Cochennec)\
**Replies:** 0\
**Last updated:** [March 2, 2020, 2:05pm UTC](https://forum.ansible.com/t/python-2-python-3-conda-and-ansible-modules-dnf-and-docker-container/32363 "2020-03-02T14:05:02Z")

</div>

Hi, When using Docker CE on RHEL 7, installed whith Ansible (python 2.7 on target), docker\_container module fails, saying I should install docker or docker-py, but I can’t find a way to make it work. Python 2.7 being u…

---

## [How do i loop over include\_vars objects under a dictionary ?](https://forum.ansible.com/t/how-do-i-loop-over-include-vars-objects-under-a-dictionary/32361)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 3\
**Last updated:** [March 2, 2020, 6:23am UTC](https://forum.ansible.com/t/how-do-i-loop-over-include-vars-objects-under-a-dictionary/32361 "2020-03-02T06:23:47Z")

</div>

I have a include\_vars file with the below entries in listings.yml \`

---

## [windows dynamic inventory](https://forum.ansible.com/t/windows-dynamic-inventory/32241)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 5:11am UTC](https://forum.ansible.com/t/windows-dynamic-inventory/32241 "2020-03-02T05:11:46Z")

</div>

Hello Guys, I am working in an azure environment and after research I am in need of some help. I am unable to find anywhere how to setup and use correctly azure plugin for dynamic inventory. Is this possible? Has anyone…

---

## [How to append items to a list inside a nested structure](https://forum.ansible.com/t/how-to-append-items-to-a-list-inside-a-nested-structure/32360)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [March 1, 2020, 5:41pm UTC](https://forum.ansible.com/t/how-to-append-items-to-a-list-inside-a-nested-structure/32360 "2020-03-01T17:41:44Z")

</div>

Hi I have this structure: git\_servers: - host: github.com user: git repos: - ansible/ansible - cirrusidentity/simplesamlphp-module-authoauth2 - dnmvisser/an…

---

## [Windows updates found but not installed](https://forum.ansible.com/t/windows-updates-found-but-not-installed/32302)

<div class="topic-metadata">

**Author:** [@astrakid](https://forum.ansible.com/u/astrakid)\
**Replies:** 5\
**Last updated:** [March 1, 2020, 5:02pm UTC](https://forum.ansible.com/t/windows-updates-found-but-not-installed/32302 "2020-03-01T17:02:06Z")

</div>

hi, i tried to update some sql-servers with ansible (awx). overall it worked fine, but some updates (latest sql-server 2016 sp2 and .bnet-framework) werde detected referring to windows updsate logfile but not installed…

---

## [Telnet to network devices](https://forum.ansible.com/t/telnet-to-network-devices/32359)

<div class="topic-metadata">

**Author:** [@Ashish\_Sagar](https://forum.ansible.com/u/Ashish_Sagar)\
**Replies:** 1\
**Last updated:** [March 1, 2020, 3:06pm UTC](https://forum.ansible.com/t/telnet-to-network-devices/32359 "2020-03-01T15:06:22Z")

</div>

Folks, I am aware that native ansible doesn’t support telnet. Do we have any alternate to test playbooks while telnet to network devices in lab environment ? Thanks Ashish

---

## [AWX Install on Minishift fails creating the ansible-tower-management container](https://forum.ansible.com/t/awx-install-on-minishift-fails-creating-the-ansible-tower-management-container/31630)

<div class="topic-metadata">

**Author:** [@Cesar\_Sanchez](https://forum.ansible.com/u/Cesar_Sanchez)\
**Replies:** 3\
**Last updated:** [February 29, 2020, 3:05pm UTC](https://forum.ansible.com/t/awx-install-on-minishift-fails-creating-the-ansible-tower-management-container/31630 "2020-02-29T15:05:17Z")

</div>

Hi Guys, I’m back to AWX after an absence of 1 year and I want to install it using openshift. I tried the minishift approach which works great, but I’m having an issue when the installer creates the ansible-tower-manag…

---

## ["ONE" inventory question](https://forum.ansible.com/t/one-inventory-question/32335)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 3\
**Last updated:** [February 29, 2020, 1:44pm UTC](https://forum.ansible.com/t/one-inventory-question/32335 "2020-02-29T13:44:04Z")

</div>

Hello, We have ansible code that are in version control repository. This makes how to maintaining “ONE” inventory file difficult. If we need to create multiple repositories, for different purpose of Ansible playbook run…

---

## [I want to add reporting capabilities for tasks completed. but I don't know how to develop.](https://forum.ansible.com/t/i-want-to-add-reporting-capabilities-for-tasks-completed-but-i-dont-know-how-to-develop/32353)

<div class="topic-metadata">

**Author:** [@YiCheng\_Song](https://forum.ansible.com/u/YiCheng_Song)\
**Replies:** 1\
**Last updated:** [February 29, 2020, 11:23am UTC](https://forum.ansible.com/t/i-want-to-add-reporting-capabilities-for-tasks-completed-but-i-dont-know-how-to-develop/32353 "2020-02-29T11:23:27Z")

</div>

I have already installed AWX. but where do I have to start from? from open source code or only using GUI? I am a developer but not experienced such field. I am looking forward to your reply.

---

## [No warning or notification displayed while changing the admin user privilege from admin to normal.](https://forum.ansible.com/t/no-warning-or-notification-displayed-while-changing-the-admin-user-privilege-from-admin-to-normal/32349)

<div class="topic-metadata">

**Author:** [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Replies:** 1\
**Last updated:** [February 29, 2020, 11:20am UTC](https://forum.ansible.com/t/no-warning-or-notification-displayed-while-changing-the-admin-user-privilege-from-admin-to-normal/32349 "2020-02-29T11:20:03Z")

</div>

Hello, While changing the admin user privileges from “Administrator” to any other type we didn’t get any warning or notification. Also, while investigating the bug I found that the default admin user can be deleted and…

---

## [SSL Certificate or Passwordless WinRM setup](https://forum.ansible.com/t/ssl-certificate-or-passwordless-winrm-setup/32354)

<div class="topic-metadata">

**Author:** [@FloodBarboy](https://forum.ansible.com/u/FloodBarboy)\
**Replies:** 2\
**Last updated:** [February 29, 2020, 10:19am UTC](https://forum.ansible.com/t/ssl-certificate-or-passwordless-winrm-setup/32354 "2020-02-29T10:19:00Z")

</div>

Hello, I have been racking my brain for the last few days trying to setup SSL Certificate based or Passwordless WinRM setup in Ansible. I have a mixed environment of domain and non domain WIndows servers that I would li…

---

## [variable undefined?](https://forum.ansible.com/t/variable-undefined/32357)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 2\
**Last updated:** [February 29, 2020, 9:28am UTC](https://forum.ansible.com/t/variable-undefined/32357 "2020-02-29T09:28:10Z")

</div>

I’m confused why I’m getting a ‘variable undefined’ error with this playbook, anyone have any idea? hosts: localhost connection: local gather\_facts: yes tasks: name: Generate a temporary random password for templa…

---

## [Ansible parallel execution over winrm](https://forum.ansible.com/t/ansible-parallel-execution-over-winrm/32352)

<div class="topic-metadata">

**Author:** [@Peter\_Garner](https://forum.ansible.com/u/Peter_Garner)\
**Replies:** 1\
**Last updated:** [February 29, 2020, 12:17am UTC](https://forum.ansible.com/t/ansible-parallel-execution-over-winrm/32352 "2020-02-29T00:17:57Z")

</div>

I notice there is a config option to enable ansible to run in parallel (host\_key\_checking = False) however, this strikes me as an ssh option. I’m running playbooks over winrm and would like to know if there is a similar …

---

## [How to run ansible 2.10 in a tox venv?](https://forum.ansible.com/t/how-to-run-ansible-2-10-in-a-tox-venv/32348)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 6\
**Last updated:** [February 28, 2020, 11:45pm UTC](https://forum.ansible.com/t/how-to-run-ansible-2-10-in-a-tox-venv/32348 "2020-02-28T23:45:11Z")

</div>

https://github.com/ansible-collections/overview/blob/master/README.rst#pre-release-versions-of-ansible-base I think this should work? "Checkout and run the source https://github.com/ansible-collection-migration/ansible…

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

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