# Latest

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

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

**Page:** 357

---

## [Powershell script works locally on windows machine but fails when attempted to run via playbook.](https://forum.ansible.com/t/powershell-script-works-locally-on-windows-machine-but-fails-when-attempted-to-run-via-playbook/33498)

<div class="topic-metadata">

**Author:** [@Darshan\_Yamakanamard](https://forum.ansible.com/u/Darshan_Yamakanamard)\
**Replies:** 4\
**Last updated:** [July 30, 2020, 6:12am UTC](https://forum.ansible.com/t/powershell-script-works-locally-on-windows-machine-but-fails-when-attempted-to-run-via-playbook/33498 "2020-07-30T06:12:26Z")

</div>

Hello All, I have a PowerShell script that actually takes an argument and stops/starts a service based on the argument passed. The script works well on the Windows machine when running locally. But fails when attempted…

---

## [Jinja2 Template to use as SRC Path](https://forum.ansible.com/t/jinja2-template-to-use-as-src-path/33497)

<div class="topic-metadata">

**Author:** [@Poseidon\_Olympian](https://forum.ansible.com/u/Poseidon_Olympian)\
**Replies:** 2\
**Last updated:** [July 30, 2020, 2:44am UTC](https://forum.ansible.com/t/jinja2-template-to-use-as-src-path/33497 "2020-07-30T02:44:52Z")

</div>

Hello Group, Requesting for advise or solution. The idea/objective is to have the specific filename to copy to the specific node as the SRC path. Filename node1-appprops.config node2-appprops.config Server Host ap…

---

## [backup playbook yml files - only if chaned](https://forum.ansible.com/t/backup-playbook-yml-files-only-if-chaned/33523)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [July 30, 2020, 2:14am UTC](https://forum.ansible.com/t/backup-playbook-yml-files-only-if-chaned/33523 "2020-07-30T02:14:53Z")

</div>

Hi I do not want to use GIT for version control , so i am going to backup my playbooks … only if this is changed copy the yml file with date … I see copy module can do it - name: Copy a new "ntp.conf file into place, …

---

## [Powershell script runs locally but when run via ansible playbook doesn't produce the expected results.](https://forum.ansible.com/t/powershell-script-runs-locally-but-when-run-via-ansible-playbook-doesnt-produce-the-expected-results/33520)

<div class="topic-metadata">

**Author:** [@Avinash\_Jadhav](https://forum.ansible.com/u/Avinash_Jadhav)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 11:57pm UTC](https://forum.ansible.com/t/powershell-script-runs-locally-but-when-run-via-ansible-playbook-doesnt-produce-the-expected-results/33520 "2020-07-29T23:57:32Z")

</div>

Hello Darshan, Could you please try to below (attachments)

---

## [Where do I put my own "library" modules, "filter\_plugins" and "lookup\_plugins"](https://forum.ansible.com/t/where-do-i-put-my-own-library-modules-filter-plugins-and-lookup-plugins/33521)

<div class="topic-metadata">

**Author:** [@Martin\_Schiotz](https://forum.ansible.com/u/Martin_Schiotz)\
**Replies:** 2\
**Last updated:** [July 29, 2020, 11:43pm UTC](https://forum.ansible.com/t/where-do-i-put-my-own-library-modules-filter-plugins-and-lookup-plugins/33521 "2020-07-29T23:43:17Z")

</div>

Hi I have made some of my own “library” modules, “filter\_plugins” and “lookup\_plugins”. I would like to have them in a git repo as I do with my playbooks (AWX templates) or at least with the persistent database that is …

---

## [How to change form ssh username/password to public key encryption in a playbook?](https://forum.ansible.com/t/how-to-change-form-ssh-username-password-to-public-key-encryption-in-a-playbook/33519)

<div class="topic-metadata">

**Author:** [@Hans\_IJ](https://forum.ansible.com/u/Hans_IJ)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 11:39am UTC](https://forum.ansible.com/t/how-to-change-form-ssh-username-password-to-public-key-encryption-in-a-playbook/33519 "2020-07-29T11:39:16Z")

</div>

Hi, I am a beginner with ansible; I couldn’t find the answer yet. I want to bootstrap virgin raspberry pi’s (raspbian based); It all works fine as intended, except for one step, I have to change the ansible hosts fil…

---

## [import context ImportError: No module named context](https://forum.ansible.com/t/import-context-importerror-no-module-named-context/33518)

<div class="topic-metadata">

**Author:** [@Jean\_G](https://forum.ansible.com/u/Jean_G)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 10:18am UTC](https://forum.ansible.com/t/import-context-importerror-no-module-named-context/33518 "2020-07-29T10:18:27Z")

</div>

Hello, I’m using AWX for Windows automation in my personal lab. I use WinRM protocol with a certificate connection to reach my different VMs. Software versions : Ansible : 2.9.10 AWX : 2.1.2 I’ve tried to use dynam…

---

## [Reduce debug task](https://forum.ansible.com/t/reduce-debug-task/33517)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 2\
**Last updated:** [July 29, 2020, 8:24am UTC](https://forum.ansible.com/t/reduce-debug-task/33517 "2020-07-29T08:24:45Z")

</div>

Hi Ansible Gurus, Is it possible to print some message in the task itself when condition is not matched , rather than having new task with debug module ? Example: currently i am writing two tasks: name: Get Active A…

---

## [Collection: adding ps1 script breaks anisble\_connection=local?](https://forum.ansible.com/t/collection-adding-ps1-script-breaks-anisble-connection-local/33423)

<div class="topic-metadata">

**Author:** [@Romain\_Pelisse](https://forum.ansible.com/u/Romain_Pelisse)\
**Replies:** 4\
**Last updated:** [July 29, 2020, 8:00am UTC](https://forum.ansible.com/t/collection-adding-ps1-script-breaks-anisble-connection-local/33423 "2020-07-29T08:00:55Z")

</div>

Hi, I’m running into something weird, that is maybe a bug, but I would like to check this before reporting it. I’m working on the Ansible jcliff collection and we recently added a ps1 script to our modules to support w…

---

## [pass playbook vars to a python script](https://forum.ansible.com/t/pass-playbook-vars-to-a-python-script/33515)

<div class="topic-metadata">

**Author:** [@Jerry\_Hwang](https://forum.ansible.com/u/Jerry_Hwang)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 6:34am UTC](https://forum.ansible.com/t/pass-playbook-vars-to-a-python-script/33515 "2020-07-29T06:34:08Z")

</div>

hello, I am trying to have a python script (auto triggered when a playbook is run) to take from playbook extra\_vars and uses it as var for the script. for example: ansible-playbook test.yml --extra-vars “win=True” so…

---

## [Prospects for the development of network ui visualization](https://forum.ansible.com/t/prospects-for-the-development-of-network-ui-visualization/33516)

<div class="topic-metadata">

**Author:** [@Ivan\_Filyanin](https://forum.ansible.com/u/Ivan_Filyanin)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 6:16am UTC](https://forum.ansible.com/t/prospects-for-the-development-of-network-ui-visualization/33516 "2020-07-29T06:16:07Z")

</div>

Hello, in the documentation for Ansible AWX, I found references to working on the implementation of “network ui”, I would like to know, and in what state is this work? No new news since 2018… Is there any way to help in …

---

## [Working around lookup plugin limitation with environment variables](https://forum.ansible.com/t/working-around-lookup-plugin-limitation-with-environment-variables/24178)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 15\
**Last updated:** [July 28, 2020, 11:31pm UTC](https://forum.ansible.com/t/working-around-lookup-plugin-limitation-with-environment-variables/24178 "2020-07-28T23:31:54Z")

</div>

Hi all, I’m looking for any suggestions on how to work around the following issue: I am trying to use a lookup plugin but it is ignoring my environment variables. The lookup plugin I am trying to use is credstash and …

---

## [ansible vmware\_guest vm deployment issue](https://forum.ansible.com/t/ansible-vmware-guest-vm-deployment-issue/33514)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 0\
**Last updated:** [July 28, 2020, 8:32pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-vm-deployment-issue/33514 "2020-07-28T20:32:10Z")

</div>

Hello Guys, !!Need help om vm deployment !! While deploying virtual machine below issue error has been encountered “Failed to clone virtual machine rhel7\_vm to folder 'vim.Folder:group-'512 due to permission issue: Pe…

---

## [Kerberos authentication failed on windows](https://forum.ansible.com/t/kerberos-authentication-failed-on-windows/33505)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 3\
**Last updated:** [July 28, 2020, 7:42pm UTC](https://forum.ansible.com/t/kerberos-authentication-failed-on-windows/33505 "2020-07-28T19:42:28Z")

</div>

Hello, Kerberos authentication is failing on some servers even after providing credentials in host file. Host File \[windows\_server\] test.domain.com \[windows:vars\] ansible\_user=\*\*\*\*\* ansible\_password=\*\*\*\*\*\* ansibl…

---

## [Cant get ansible to properly route through bastion host](https://forum.ansible.com/t/cant-get-ansible-to-properly-route-through-bastion-host/32771)

<div class="topic-metadata">

**Author:** [@Emil\_Safonov](https://forum.ansible.com/u/Emil_Safonov)\
**Replies:** 2\
**Last updated:** [July 28, 2020, 7:30pm UTC](https://forum.ansible.com/t/cant-get-ansible-to-properly-route-through-bastion-host/32771 "2020-07-28T19:30:37Z")

</div>

Hey Everyone, I’ve been having difficulty getting my ansible playbooks to route through a bastion host (without ssh keys). For testing I have a cisco virl (virtual internet routing lab) simulation up and running with vi…

---

## [Configuring VMWare inventory host properties](https://forum.ansible.com/t/configuring-vmware-inventory-host-properties/33513)

<div class="topic-metadata">

**Author:** [@Brandon\_Givens](https://forum.ansible.com/u/Brandon_Givens)\
**Replies:** 0\
**Last updated:** [July 28, 2020, 5:05pm UTC](https://forum.ansible.com/t/configuring-vmware-inventory-host-properties/33513 "2020-07-28T17:05:36Z")

</div>

Hello everyone! I’m currently trying to configure an vSphere inventory so that it only pulls in certain properties that I can about. To my understanding, all I should need to do is create a list of properties in the sou…

---

## [Need Guidance](https://forum.ansible.com/t/need-guidance/33511)

<div class="topic-metadata">

**Author:** [@A11](https://forum.ansible.com/u/A11)\
**Replies:** 2\
**Last updated:** [July 28, 2020, 4:14pm UTC](https://forum.ansible.com/t/need-guidance/33511 "2020-07-28T16:14:31Z")

</div>

Hi Experts, I am getting the below error while executing the playbook. Thanks in Advance. Playbook- name: RedHat unlock OpenJdk version command: yum versionlock delete ‘{{openjdk\_yumlock\_version7}}’ when: ansible\_…

---

## [Ansible 2.10.0 alpha 6](https://forum.ansible.com/t/ansible-2-10-0-alpha-6/33510)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [July 28, 2020, 3:40pm UTC](https://forum.ansible.com/t/ansible-2-10-0-alpha-6/33510 "2020-07-28T15:40:59Z")

</div>

Hi all- For all those wanting to test the next version of Ansible, we're happy to announce that Ansible 2.10.0 alpha6 is now available on PyPI! Ansible 2.10.0a6 pulls in the ansible-base package (currently at version…

---

## [Need help](https://forum.ansible.com/t/need-help/33507)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 7\
**Last updated:** [July 28, 2020, 1:19pm UTC](https://forum.ansible.com/t/need-help/33507 "2020-07-28T13:19:38Z")

</div>

Hi Ansible Gurus, I have a playbook like below: name: Get Active Rest server include\_role: name: web-server tasks\_from: active-rest-server Now I have a playbook under the web-server role named active-rest-server.y…

---

## [Patching set of Windows Hosts having different credentials](https://forum.ansible.com/t/patching-set-of-windows-hosts-having-different-credentials/33460)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 4\
**Last updated:** [July 28, 2020, 10:26am UTC](https://forum.ansible.com/t/patching-set-of-windows-hosts-having-different-credentials/33460 "2020-07-28T10:26:21Z")

</div>

Hello All, I am doing patching activity for a set of windows hosts in my environment. The problem i am facing is all the hosts are having different passwords not the same. So, when i am triggering a job it is taking on…

---

## [Is Jump host advisable ?](https://forum.ansible.com/t/is-jump-host-advisable/30345)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 7\
**Last updated:** [July 28, 2020, 5:29am UTC](https://forum.ansible.com/t/is-jump-host-advisable/30345 "2020-07-28T05:29:01Z")

</div>

Hi Team, Which is one is followed as best practice in Ansible? Using jump server to connect devices ? or having direct access to devices. thanks

---

## [Check if passwordless ssh works after checking telnet from localhost](https://forum.ansible.com/t/check-if-passwordless-ssh-works-after-checking-telnet-from-localhost/33506)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [July 28, 2020, 3:57am UTC](https://forum.ansible.com/t/check-if-passwordless-ssh-works-after-checking-telnet-from-localhost/33506 "2020-07-28T03:57:05Z")

</div>

I wish to list down all the hosts where it first checks for working telnet on port 22. If telnet succeeds; it should check for passwordless ssh and list down all hosts where telnet works but passwordless ssh fails. The …

---

## [Connection to Target server Failing](https://forum.ansible.com/t/connection-to-target-server-failing/33503)

<div class="topic-metadata">

**Author:** [@GOPABANDHU\_DASH](https://forum.ansible.com/u/GOPABANDHU_DASH)\
**Replies:** 2\
**Last updated:** [July 27, 2020, 11:23pm UTC](https://forum.ansible.com/t/connection-to-target-server-failing/33503 "2020-07-27T23:23:53Z")

</div>

Hi, I am getting below error when i am trying to connect to my target server fatal: \[hostname\]: FAILED! =\> {“changed”: false, “module\_stderr”: “Connection to hostname closed.\\r\\n”, “module\_stdout”: " File "/home/gopa/.…

---

## [Error - Install tomcat](https://forum.ansible.com/t/error-install-tomcat/33485)

<div class="topic-metadata">

**Author:** [@A11](https://forum.ansible.com/u/A11)\
**Replies:** 2\
**Last updated:** [July 27, 2020, 10:04pm UTC](https://forum.ansible.com/t/error-install-tomcat/33485 "2020-07-27T22:04:55Z")

</div>

Please help on the below error Ansible Codes

---

## [Collection module documentation available now on docs.ansible.com for review](https://forum.ansible.com/t/collection-module-documentation-available-now-on-docs-ansible-com-for-review/33504)

<div class="topic-metadata">

**Author:** [@samccann](https://forum.ansible.com/u/samccann)\
**Replies:** 0\
**Last updated:** [July 27, 2020, 5:47pm UTC](https://forum.ansible.com/t/collection-module-documentation-available-now-on-docs-ansible-com-for-review/33504 "2020-07-27T17:47:58Z")

</div>

Collection module documentation available now on docs.ansible.com for review After significant months of effort, we have now restored the module-level documentation on docs.ansible.com! This effort required coordination…

---

## [Ansible Remote Versioning](https://forum.ansible.com/t/ansible-remote-versioning/33447)

<div class="topic-metadata">

**Author:** [@Firesh\_Bakhda](https://forum.ansible.com/u/Firesh_Bakhda)\
**Replies:** 6\
**Last updated:** [July 27, 2020, 4:10pm UTC](https://forum.ansible.com/t/ansible-remote-versioning/33447 "2020-07-27T16:10:51Z")

</div>

Hi , I would like to post to this group to find out if there is anyway for ansible to actually stamp the client with Ansible Deployment or Deployment Stamp on what tasks were ran and when it was ran, like a VERSION or …

---

## [Multiple vault password](https://forum.ansible.com/t/multiple-vault-password/33476)

<div class="topic-metadata">

**Author:** [@Nikhil\_Maheshwari](https://forum.ansible.com/u/Nikhil_Maheshwari)\
**Replies:** 1\
**Last updated:** [July 27, 2020, 3:40pm UTC](https://forum.ansible.com/t/multiple-vault-password/33476 "2020-07-27T15:40:22Z")

</div>

Can we create multiple password for vault? What is the use of --vault-id?

---

## [Trouble with python bindings error (libselinux-python not installed) on RHEL8](https://forum.ansible.com/t/trouble-with-python-bindings-error-libselinux-python-not-installed-on-rhel8/33465)

<div class="topic-metadata">

**Author:** [@Robbie](https://forum.ansible.com/u/Robbie)\
**Replies:** 1\
**Last updated:** [July 27, 2020, 1:22pm UTC](https://forum.ansible.com/t/trouble-with-python-bindings-error-libselinux-python-not-installed-on-rhel8/33465 "2020-07-27T13:22:41Z")

</div>

Hello all. I’ve been trying to troubleshoot a problem for days and I haven’t been able to find anything online that refers to RHEL8/Centos8.I have success running on RHEL/Centos7, but I’m trying to push to the new platf…

---

## [Guidance needed on sending mail using ansible](https://forum.ansible.com/t/guidance-needed-on-sending-mail-using-ansible/33500)

<div class="topic-metadata">

**Author:** [@nandha\_kumar1](https://forum.ansible.com/u/nandha_kumar1)\
**Replies:** 1\
**Last updated:** [July 27, 2020, 12:25pm UTC](https://forum.ansible.com/t/guidance-needed-on-sending-mail-using-ansible/33500 "2020-07-27T12:25:43Z")

</div>

Hi Team, Is it possible to send mail in a specific format which we needed? For example. below I would need to send a mail in this tabular format… Is it possible? If not, kindly suggest me some way to improve my em…

---

## [How do I use snow\_record and snow\_record find in Ansible? Or should I do something different?](https://forum.ansible.com/t/how-do-i-use-snow-record-and-snow-record-find-in-ansible-or-should-i-do-something-different/29914)

<div class="topic-metadata">

**Author:** [@Beau\_Gauthreaux](https://forum.ansible.com/u/Beau_Gauthreaux)\
**Replies:** 4\
**Last updated:** [July 27, 2020, 9:10am UTC](https://forum.ansible.com/t/how-do-i-use-snow-record-and-snow-record-find-in-ansible-or-should-i-do-something-different/29914 "2020-07-27T09:10:44Z")

</div>

I’m trying to gather change record information from ServiceNow. Specifically I would like to query against a hostname and find if that server has change ticket open. I came across both of these modules for Ansible. I hav…

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

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