# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=177

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

**Page:** 178

---

## [win\_shell Command Errors out;](https://forum.ansible.com/t/win-shell-command-errors-out/33655)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 11:21am UTC](https://forum.ansible.com/t/win-shell-command-errors-out/33655 "2020-08-21T11:21:11Z")

</div>

Hi All, getting the Following Error when trying to Run a Win\_Shell Command: fatal: \[localhost\]: FAILED! =\> {“changed”: false, “module\_stderr”: “”, “module\_stdout”: “”, “msg”: “MODULE FAILURE\\nSee stdout/stderr for the …

---

## [Template fields grayed out for user who is Template admin](https://forum.ansible.com/t/template-fields-grayed-out-for-user-who-is-template-admin/33648)

<div class="topic-metadata">

**Author:** [@Ivan\_Todorovic](https://forum.ansible.com/u/Ivan_Todorovic)\
**Replies:** 2\
**Last updated:** [August 21, 2020, 10:00am UTC](https://forum.ansible.com/t/template-fields-grayed-out-for-user-who-is-template-admin/33648 "2020-08-21T10:00:30Z")

</div>

Hello, I have a strange problem for one of the AWX users on our installation: Although he is given Admin permissions on the Template, he has “Inventory”, “Project” and “Playbook” drop-box controls grayed-out in GUI, and…

---

## [Is callback function is thread safe?](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33654)

<div class="topic-metadata">

**Author:** [@Nihanth\_Joseph](https://forum.ansible.com/u/Nihanth_Joseph)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 8:46am UTC](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33654 "2020-08-21T08:46:24Z")

</div>

I have written playbooks to manage 100s of machines and i am using callback plugins to capture the output of each task and generate reports at the end. Since I am using forks (eg. 20) do i have to handle each output in t…

---

## [Is callback function is thread safe?](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33653)

<div class="topic-metadata">

**Author:** [@Nihanth\_Joseph](https://forum.ansible.com/u/Nihanth_Joseph)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 8:34am UTC](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33653 "2020-08-21T08:34:44Z")

</div>

I have written playbooks to manage 100s of machines and i am using callback plugins to capture the output of each task and generate reports at the end. Since I am using forks (eg. 20) do i have to handle each output in t…

---

## [Fetching directories](https://forum.ansible.com/t/fetching-directories/33652)

<div class="topic-metadata">

**Author:** [@Go\_Away](https://forum.ansible.com/u/Go_Away)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 7:45am UTC](https://forum.ansible.com/t/fetching-directories/33652 "2020-08-21T07:45:02Z")

</div>

Usually Ansible is used for managing remote hosts but I thought I used it to “monitor” some hosts I have. In normal circumstances I’d just loop over a list of hosts and run a simple script over ssh but I have a quite ann…

---

## [ansible](https://forum.ansible.com/t/ansible/33651)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 6:11am UTC](https://forum.ansible.com/t/ansible/33651 "2020-08-21T06:11:39Z")

</div>

how can i connect to telnet server through ansible please replay as soon as possible thanks&regards prajwal h g

---

## [Ease of ansible debugging](https://forum.ansible.com/t/ease-of-ansible-debugging/33650)

<div class="topic-metadata">

**Author:** [@Markus\_Fischbacher](https://forum.ansible.com/u/Markus_Fischbacher)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 5:54am UTC](https://forum.ansible.com/t/ease-of-ansible-debugging/33650 "2020-08-21T05:54:45Z")

</div>

https://github.com/ansible/ansible/issues/71369 I found it pretty sad, that this issue was closed with so less effort. Also imo the mentioned section “simple debugging” isn’t simple at all. Well it is simple but not eas…

---

## [Openssh Issues in Ansible](https://forum.ansible.com/t/openssh-issues-in-ansible/33509)

<div class="topic-metadata">

**Author:** [@miqdad\_patwa](https://forum.ansible.com/u/miqdad_patwa)\
**Replies:** 4\
**Last updated:** [August 21, 2020, 4:35am UTC](https://forum.ansible.com/t/openssh-issues-in-ansible/33509 "2020-08-21T04:35:54Z")

</div>

can you please confirm what should we use for HP comware blade switches I used comware module but still it gives me Openssh error fatal: \[BC1-ESM-A\]: UNREACHABLE! =\> { “changed”: false, “msg”: “Failed to connect to t…

---

## [Inventory source "update on project update" with multiple Git repos](https://forum.ansible.com/t/inventory-source-update-on-project-update-with-multiple-git-repos/33646)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 0\
**Last updated:** [August 20, 2020, 9:21am UTC](https://forum.ansible.com/t/inventory-source-update-on-project-update-with-multiple-git-repos/33646 "2020-08-20T09:21:28Z")

</div>

I use an inventory which has multiple (7) sources from Git. The number of sources is such because different teams have co-responsibility over the content of the repositories that are the Git sources. I use tags in the Gi…

---

## [module 'platform' has no attribute 'dist' on Ubuntu 20.04](https://forum.ansible.com/t/module-platform-has-no-attribute-dist-on-ubuntu-20-04/33640)

<div class="topic-metadata">

**Author:** [@Jeff\_Dickens](https://forum.ansible.com/u/Jeff_Dickens)\
**Replies:** 2\
**Last updated:** [August 20, 2020, 4:38am UTC](https://forum.ansible.com/t/module-platform-has-no-attribute-dist-on-ubuntu-20-04/33640 "2020-08-20T04:38:34Z")

</div>

When I try to use the user module with a Ubuntu 20 host, I get a failure as follows: jeff@ansible:~$ ansible-playbook -l owl j\_ansible\_user.yaml PLAY \[create ansible user\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible playbook to automatically create VMware snapshots](https://forum.ansible.com/t/ansible-playbook-to-automatically-create-vmware-snapshots/33638)

<div class="topic-metadata">

**Author:** [@Quad\_Zero](https://forum.ansible.com/u/Quad_Zero)\
**Replies:** 1\
**Last updated:** [August 20, 2020, 4:11am UTC](https://forum.ansible.com/t/ansible-playbook-to-automatically-create-vmware-snapshots/33638 "2020-08-20T04:11:33Z")

</div>

G’day, Could someone please point me in the direction of automated creation of vmware snapshots? Scenario: Plan to update a series virtual machine hosts through yum update Create snapshots for each vm Confirmation th…

---

## [callback plugin or python script to access template name and description](https://forum.ansible.com/t/callback-plugin-or-python-script-to-access-template-name-and-description/33645)

<div class="topic-metadata">

**Author:** [@Jerry\_Hwang](https://forum.ansible.com/u/Jerry_Hwang)\
**Replies:** 0\
**Last updated:** [August 20, 2020, 3:04am UTC](https://forum.ansible.com/t/callback-plugin-or-python-script-to-access-template-name-and-description/33645 "2020-08-20T03:04:45Z")

</div>

Hi, I am looking for a way a callback plugin (or python script) to extract the name and description of a job template is run. https://docs.ansible.com/ansible/latest/plugins/callback.html https://docs.ansible.com/ansi…

---

## [AWX and Juniper](https://forum.ansible.com/t/awx-and-juniper/33644)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 9:21pm UTC](https://forum.ansible.com/t/awx-and-juniper/33644 "2020-08-19T21:21:00Z")

</div>

Hello All, I have a question regarding a Juniper router but this may also apply to a Cisco router or switch. I am trying to do a config/restore config on this device. I am using AWX 13. I can copy the configuration o…

---

## [iam\_role session duration](https://forum.ansible.com/t/iam-role-session-duration/33643)

<div class="topic-metadata">

**Author:** [@Alan\_Sparks](https://forum.ansible.com/u/Alan_Sparks)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 8:01pm UTC](https://forum.ansible.com/t/iam-role-session-duration/33643 "2020-08-19T20:01:22Z")

</div>

I’ve been hoping for cloud module iam\_role to support setting max session duration each release through 2.9, but it seems to still not. Are there any patches or replacement modules that implement this? Anything slated t…

---

## [unset ansible fact](https://forum.ansible.com/t/unset-ansible-fact/33642)

<div class="topic-metadata">

**Author:** [@Vincent\_Illiano](https://forum.ansible.com/u/Vincent_Illiano)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 5:50pm UTC](https://forum.ansible.com/t/unset-ansible-fact/33642 "2020-08-19T17:50:35Z")

</div>

Hi all, I understand that once an ansible variable is set, it cannot be unset. I did find the medium.com article below that explains a work around. Unfortunately, I do not understand some of the syntax. Specifically: “-…

---

## [Ansible 2.10.0 collection versions now feature frozen](https://forum.ansible.com/t/ansible-2-10-0-collection-versions-now-feature-frozen/33641)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 3:49pm UTC](https://forum.ansible.com/t/ansible-2-10-0-collection-versions-now-feature-frozen/33641 "2020-08-19T15:49:52Z")

</div>

Greetings all, in preparation for the beta1 release on the first of September, the ansible package is now feature frozen. What does that mean exactly? The main goal of the 2.10.x package is to give end users a smooth …

---

## [Using ansible to hardening Linux Systems Remotely](https://forum.ansible.com/t/using-ansible-to-hardening-linux-systems-remotely/33631)

<div class="topic-metadata">

**Author:** [@giob](https://forum.ansible.com/u/giob)\
**Replies:** 7\
**Last updated:** [August 19, 2020, 12:52pm UTC](https://forum.ansible.com/t/using-ansible-to-hardening-linux-systems-remotely/33631 "2020-08-19T12:52:30Z")

</div>

I’m new of the Ansible World, and for the moment i used just to hardening some linux systems using every time the command locally: ansible path\_to\_my\_playbook.yml There is a way to run this commant to a remote comput…

---

## [AWX container help](https://forum.ansible.com/t/awx-container-help/33630)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 2\
**Last updated:** [August 18, 2020, 8:38pm UTC](https://forum.ansible.com/t/awx-container-help/33630 "2020-08-18T20:38:47Z")

</div>

Hi, I am running AWX as a container, version 13… I have come across an issue whereby filtering on a VMware source for inventory doesn’t work in AWX 13, but it does work in the most recently released version of Ansible …

---

## [git and manual scm project type integration](https://forum.ansible.com/t/git-and-manual-scm-project-type-integration/33632)

<div class="topic-metadata">

**Author:** [@Hrvoje\_Djurdjevic](https://forum.ansible.com/u/Hrvoje_Djurdjevic)\
**Replies:** 1\
**Last updated:** [August 18, 2020, 8:20pm UTC](https://forum.ansible.com/t/git-and-manual-scm-project-type-integration/33632 "2020-08-18T20:20:01Z")

</div>

Hi, I am new to awx, so, sorry if my question is redundant. When people work, they try to keep their history free from committing mistakes, ie junk versions of code that they know is defective from the start, that is I …

---

## [How to get latest Ansible for Ubuntu 20.04](https://forum.ansible.com/t/how-to-get-latest-ansible-for-ubuntu-20-04/33636)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 3:38pm UTC](https://forum.ansible.com/t/how-to-get-latest-ansible-for-ubuntu-20-04/33636 "2020-08-18T15:38:30Z")

</div>

When will the Ansible PPA be available for Ubuntu 20.04? I get the following error using Ansible 2.9.6 running on Ubuntu 20.04: Malformed output discovered from systemd list-unit-files: accounts-daemon.service Googlin…

---

## [manually adding awx manage jobs](https://forum.ansible.com/t/manually-adding-awx-manage-jobs/33635)

<div class="topic-metadata">

**Author:** [@Michael\_Nhan](https://forum.ansible.com/u/Michael_Nhan)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 3:01pm UTC](https://forum.ansible.com/t/manually-adding-awx-manage-jobs/33635 "2020-08-18T15:01:27Z")

</div>

Hi, Is there a way to add the awx management jobs to a existing installation of awx? If one installs one of the newer version of awx (after 6.0) there exists management jobs in awx for cleaning logs. If one migrates, th…

---

## [Need Help with awx 9.3.0 migration to 13.0.0](https://forum.ansible.com/t/need-help-with-awx-9-3-0-migration-to-13-0-0/33578)

<div class="topic-metadata">

**Author:** [@Michael\_Nhan](https://forum.ansible.com/u/Michael_Nhan)\
**Replies:** 1\
**Last updated:** [August 18, 2020, 2:56pm UTC](https://forum.ansible.com/t/need-help-with-awx-9-3-0-migration-to-13-0-0/33578 "2020-08-18T14:56:16Z")

</div>

Having some issue migrating from awx 9.3.0 to 13.0.0. Have updated/migrated from 6.0.0 to 9.0.1 and to 9.3.0 with no issues. But trying to go to a later version is erroring out. Current awx installation: 9.3.0 on opens…

---

## [connection: local and delegate\_to not working together](https://forum.ansible.com/t/connection-local-and-delegate-to-not-working-together/33634)

<div class="topic-metadata">

**Author:** [@jegansignup](https://forum.ansible.com/u/jegansignup)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 1:40pm UTC](https://forum.ansible.com/t/connection-local-and-delegate-to-not-working-together/33634 "2020-08-18T13:40:54Z")

</div>

Hello Team, I am facing issue while running below playbook from ansible server. Getting error like below. I gave small part of the playbook. The intention to use connection: local is I like to perform few tasks from ans…

---

## [Non-Administrator Accounts - WinRM](https://forum.ansible.com/t/non-administrator-accounts-winrm/33633)

<div class="topic-metadata">

**Author:** [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 1:07pm UTC](https://forum.ansible.com/t/non-administrator-accounts-winrm/33633 "2020-08-18T13:07:40Z")

</div>

Hello All We are trying to run certain playbooks against Windows servers and it works all fine. But every time we end up asking the DC team for the service account to be added to Local admin group which i think it is no…

---

## [Cross-domain auth using Kerberos](https://forum.ansible.com/t/cross-domain-auth-using-kerberos/33574)

<div class="topic-metadata">

**Author:** [@Michael\_Richter](https://forum.ansible.com/u/Michael_Richter)\
**Replies:** 1\
**Last updated:** [August 18, 2020, 10:47am UTC](https://forum.ansible.com/t/cross-domain-auth-using-kerberos/33574 "2020-08-18T10:47:19Z")

</div>

Hi, On a Linux server I want to access a Windows server from Windows domain sub.dnsdomain using an account from parent Windows domain dnsdomain. The account has admin permissions to that server and can login using RDP. …

---

## [2 levels nested loop with variables](https://forum.ansible.com/t/2-levels-nested-loop-with-variables/33598)

<div class="topic-metadata">

**Author:** [@Nic\_H](https://forum.ansible.com/u/Nic_H)\
**Replies:** 5\
**Last updated:** [August 17, 2020, 10:38pm UTC](https://forum.ansible.com/t/2-levels-nested-loop-with-variables/33598 "2020-08-17T22:38:57Z")

</div>

Hi, I have been looking into nested , subelements and other lookups with no luck to make this working , using ansible 2.8. Basically , I’d like to construct a loop than can itself iterate over other variables (list or d…

---

## [Ansible inventory duplicate hosts in different groups - Ansible picks the last one from the duplicates](https://forum.ansible.com/t/ansible-inventory-duplicate-hosts-in-different-groups-ansible-picks-the-last-one-from-the-duplicates/33629)

<div class="topic-metadata">

**Author:** [@Abhishek\_Sharma](https://forum.ansible.com/u/Abhishek_Sharma)\
**Replies:** 2\
**Last updated:** [August 17, 2020, 9:46pm UTC](https://forum.ansible.com/t/ansible-inventory-duplicate-hosts-in-different-groups-ansible-picks-the-last-one-from-the-duplicates/33629 "2020-08-17T21:46:09Z")

</div>

Hi I have an inventory defined as below: \[A\] host1.example.com lhost=1010 host2.example.com lhost=1110 \[B\] host1.example.com lhost=2010 now when i run below command on group A for host1.example.com ansible picks u…

---

## [Tags or Variables, not sure which way to go](https://forum.ansible.com/t/tags-or-variables-not-sure-which-way-to-go/33625)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 2\
**Last updated:** [August 17, 2020, 5:46pm UTC](https://forum.ansible.com/t/tags-or-variables-not-sure-which-way-to-go/33625 "2020-08-17T17:46:03Z")

</div>

So I am having an issue about not knowing what the best thing to do is. Here’s what I am trying to accomplish… I have the following sanitized tasks: name: Set authorized key ( prod) authorized\_key: user: ansible st…

---

## [Ansible Windows Deployment - 'Connection aborted.', error(104, 'Connection reset by peer')](https://forum.ansible.com/t/ansible-windows-deployment-connection-aborted-error-104-connection-reset-by-peer/28570)

<div class="topic-metadata">

**Author:** [@Kartik\_Jayaraman](https://forum.ansible.com/u/Kartik_Jayaraman)\
**Replies:** 5\
**Last updated:** [August 17, 2020, 1:41pm UTC](https://forum.ansible.com/t/ansible-windows-deployment-connection-aborted-error-104-connection-reset-by-peer/28570 "2020-08-17T13:41:40Z")

</div>

Hello, I am facing an issue with deployment on Windows 2008 server using Ansible. I have a jenkins pipeline which has an Ansible Deployment stage wherein I drop the files on to the target servers from inventory. I have …

---

## [Passing encrypted password to playbook using --ask-become-pass option](https://forum.ansible.com/t/passing-encrypted-password-to-playbook-using-ask-become-pass-option/33628)

<div class="topic-metadata">

**Author:** [@Kumaresh\_kulal](https://forum.ansible.com/u/Kumaresh_kulal)\
**Replies:** 0\
**Last updated:** [August 17, 2020, 11:34am UTC](https://forum.ansible.com/t/passing-encrypted-password-to-playbook-using-ask-become-pass-option/33628 "2020-08-17T11:34:46Z")

</div>

Hello, I am trying to pass the encrypted password to execute my playbook and while doing so I see below error. Error: FAILED! =\> {“msg”: “The field ‘become\_pass’ has an invalid value, which includes an undefined variab…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=176)

[Next page](https://forum.ansible.com/c/archives/31.md?page=178)
