# Latest

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

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

**Page:** 319

---

## [Mount file share based on variable in loop](https://forum.ansible.com/t/mount-file-share-based-on-variable-in-loop/34647)

<div class="topic-metadata">

**Author:** [@Tim\_Shubitz](https://forum.ansible.com/u/Tim_Shubitz)\
**Replies:** 4\
**Last updated:** [February 19, 2021, 1:16am UTC](https://forum.ansible.com/t/mount-file-share-based-on-variable-in-loop/34647 "2021-02-19T01:16:44Z")

</div>

Greetings, folks! I’m trying to have one single source-of-truth for file share info and mount individual shares on different servers depending on need. Give a list of “these servers get these shares, those get those” a…

---

## [copy content module is not readable, how to remove all special character and make it proper text readable](https://forum.ansible.com/t/copy-content-module-is-not-readable-how-to-remove-all-special-character-and-make-it-proper-text-readable/34637)

<div class="topic-metadata">

**Author:** [@Sameer\_Nagwekar](https://forum.ansible.com/u/Sameer_Nagwekar)\
**Replies:** 4\
**Last updated:** [February 18, 2021, 6:05pm UTC](https://forum.ansible.com/t/copy-content-module-is-not-readable-how-to-remove-all-special-character-and-make-it-proper-text-readable/34637 "2021-02-18T18:05:24Z")

</div>

I am able to run this playbook it copies the file to destination folder but it has all the special characters and the text is not in readable format. Any help in formatting the output file? tasks: name: collect the c…

---

## [Ansible-3.0.0 released](https://forum.ansible.com/t/ansible-3-0-0-released/34644)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [February 18, 2021, 4:07pm UTC](https://forum.ansible.com/t/ansible-3-0-0-released/34644 "2021-02-18T16:07:37Z")

</div>

Hi all, We're happy to announce that the ansible-3.0.0 package is now available! This update is based on the ansible-base-2.10.x package just like ansible-2.10 was so the changes shouldn't be too major. However, it d…

---

## [jxmlease is required to display response in json](https://forum.ansible.com/t/jxmlease-is-required-to-display-response-in-json/34642)

<div class="topic-metadata">

**Author:** [@chtsalid](https://forum.ansible.com/u/chtsalid)\
**Replies:** 4\
**Last updated:** [February 18, 2021, 2:54pm UTC](https://forum.ansible.com/t/jxmlease-is-required-to-display-response-in-json/34642 "2021-02-18T14:54:30Z")

</div>

Hi all, I am running a task using the netconf\_get module and encountering a problem to display an output in json format? I am getting the following error. jxmlease is required to display response in json However jxml…

---

## [requirements.yml failing due to a non existant new line char](https://forum.ansible.com/t/requirements-yml-failing-due-to-a-non-existant-new-line-char/34643)

<div class="topic-metadata">

**Author:** [@john.westcott.iv](https://forum.ansible.com/u/john.westcott.iv)\
**Replies:** 0\
**Last updated:** [February 18, 2021, 2:30pm UTC](https://forum.ansible.com/t/requirements-yml-failing-due-to-a-non-existant-new-line-char/34643 "2021-02-18T14:30:41Z")

</div>

For issues with Ansible Tower its best to open a support ticket with Red Hat. -John

---

## [How to list google cloud regional zones with number of instances created in Ansible](https://forum.ansible.com/t/how-to-list-google-cloud-regional-zones-with-number-of-instances-created-in-ansible/34641)

<div class="topic-metadata">

**Author:** [@Shristi\_Singh](https://forum.ansible.com/u/Shristi_Singh)\
**Replies:** 0\
**Last updated:** [February 18, 2021, 10:23am UTC](https://forum.ansible.com/t/how-to-list-google-cloud-regional-zones-with-number-of-instances-created-in-ansible/34641 "2021-02-18T10:23:54Z")

</div>

Hi Team, I am trying to figure out how can I get the below information using Ansible. us-east1 ZonesInstancesDisks Zone B 0 2 Zone C 0 1 Zone D 0 0 us-east4 ZonesInstancesDisks Zone A 0 0 Zone B 1 1 Z…

---

## [How to Run program as an administrator](https://forum.ansible.com/t/how-to-run-program-as-an-administrator/34640)

<div class="topic-metadata">

**Author:** [@sd1](https://forum.ansible.com/u/sd1)\
**Replies:** 3\
**Last updated:** [February 18, 2021, 10:21am UTC](https://forum.ansible.com/t/how-to-run-program-as-an-administrator/34640 "2021-02-18T10:21:04Z")

</div>

I am trying to run a software via win\_package module. But that software requires running as administrator which causes my script stuck at one position. How to run it as administrator. I am running trough a user which a m…

---

## [Constants in ansible playbooks](https://forum.ansible.com/t/constants-in-ansible-playbooks/34623)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Livingstone](https://forum.ansible.com/u/Emmanuel_Livingstone)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 9:44am UTC](https://forum.ansible.com/t/constants-in-ansible-playbooks/34623 "2021-02-18T09:44:51Z")

</div>

Hi, During a recent code review of an ansible playbook, I noticed one dev using variables defined in playbook group\_vars/all.yml as constants. This is inline with general coding guideline of replacing magic numbers/lite…

---

## [yml --\> yml file invocation (ansible playbook)](https://forum.ansible.com/t/yml-yml-file-invocation-ansible-playbook/34638)

<div class="topic-metadata">

**Author:** [@Heman\_Malve](https://forum.ansible.com/u/Heman_Malve)\
**Replies:** 1\
**Last updated:** [February 18, 2021, 7:05am UTC](https://forum.ansible.com/t/yml-yml-file-invocation-ansible-playbook/34638 "2021-02-18T07:05:43Z")

</div>

Team, Requirement is , 1)define main yaml file with - hosts: localhost (its just execution in localhost) and should contain ~10 yaml files which will perform individual activities based upon hosts {remote servers} entr…

---

## [Use of Nested Variables](https://forum.ansible.com/t/use-of-nested-variables/34629)

<div class="topic-metadata">

**Author:** [@penguinpages](https://forum.ansible.com/u/penguinpages)\
**Replies:** 11\
**Last updated:** [February 17, 2021, 9:01pm UTC](https://forum.ansible.com/t/use-of-nested-variables/34629 "2021-02-17T21:01:55Z")

</div>

Goal: When playbook / task is called.. use varibles set for specific host withing a group /hosts.yml # site wide master ansible inentory all: children: Physical HyperConverge Server Devices for environment hci\_hosts: …

---

## [Win\_copy Not working](https://forum.ansible.com/t/win-copy-not-working/34626)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Replies:** 3\
**Last updated:** [February 17, 2021, 2:38pm UTC](https://forum.ansible.com/t/win-copy-not-working/34626 "2021-02-17T14:38:09Z")

</div>

I am trying to copy backup file from one remote windows server to another windows server using below playbook but the backup file is not copying. Although the playbook is running successful then also the backup file is n…

---

## [Please review and critique my script for IOS upgrade activity](https://forum.ansible.com/t/please-review-and-critique-my-script-for-ios-upgrade-activity/34634)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [February 17, 2021, 11:17am UTC](https://forum.ansible.com/t/please-review-and-critique-my-script-for-ios-upgrade-activity/34634 "2021-02-17T11:17:09Z")

</div>

Hi, I have prepared a script for of IOS upgrade activity. Please review and give me your suggestions/scope for improvement, etc I have prepared the scirpt for pre-upgrade tasks only as of now. https://drive.google.com…

---

## [Need to deploy script over Azure accunt](https://forum.ansible.com/t/need-to-deploy-script-over-azure-accunt/34633)

<div class="topic-metadata">

**Author:** [@Cloud-devops](https://forum.ansible.com/u/Cloud-devops)\
**Replies:** 2\
**Last updated:** [February 17, 2021, 6:23am UTC](https://forum.ansible.com/t/need-to-deploy-script-over-azure-accunt/34633 "2021-02-17T06:23:38Z")

</div>

Hi All, Do we have any module to run script on Azure account based Vm during launch new Vm or exist VMs.? Task: i have 2 script which need to run on azure VMs but it should be automated (not passing user credential) l…

---

## [Ansible releases delayed due to extreme weather](https://forum.ansible.com/t/ansible-releases-delayed-due-to-extreme-weather/34632)

<div class="topic-metadata">

**Author:** [@sdoran](https://forum.ansible.com/u/sdoran)\
**Replies:** 0\
**Last updated:** [February 16, 2021, 3:06pm UTC](https://forum.ansible.com/t/ansible-releases-delayed-due-to-extreme-weather/34632 "2021-02-16T15:06:50Z")

</div>

Extreme winter weather has caused power outages across parts of the US. As a result, the next round of Ansible relases has been delayed until further notice while our team focuses on trying to stay warm and safe.

---

## [I am facing issue while installing software from local machine in windows.](https://forum.ansible.com/t/i-am-facing-issue-while-installing-software-from-local-machine-in-windows/34631)

<div class="topic-metadata">

**Author:** [@sd1](https://forum.ansible.com/u/sd1)\
**Replies:** 0\
**Last updated:** [February 16, 2021, 2:54pm UTC](https://forum.ansible.com/t/i-am-facing-issue-while-installing-software-from-local-machine-in-windows/34631 "2021-02-16T14:54:41Z")

</div>

hi , I am facing issue while installing software from local machine in windows. here is my code name: installing soft hosts: win gather\_facts: no tasks: name: install soft win\_package: path: E:\\Soft\\UltraViewer\_s…

---

## [register variable with\_items and failed\_when](https://forum.ansible.com/t/register-variable-with-items-and-failed-when/34624)

<div class="topic-metadata">

**Author:** [@Mukuntha\_rajaa](https://forum.ansible.com/u/Mukuntha_rajaa)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 2:53pm UTC](https://forum.ansible.com/t/register-variable-with-items-and-failed-when/34624 "2021-02-16T14:53:34Z")

</div>

Hello, I am using custom module and looping through items to do “kubectl apply -f”. name: create rbac objects kubectl: manifest: “{{ item }}” state: present with\_fileglob: “{{ CAAS.rbac\_manifests\_directory }}/\*” …

---

## [AWX API limit ??](https://forum.ansible.com/t/awx-api-limit/34630)

<div class="topic-metadata">

**Author:** [@Newbie1](https://forum.ansible.com/u/Newbie1)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 2:14pm UTC](https://forum.ansible.com/t/awx-api-limit/34630 "2021-02-16T14:14:58Z")

</div>

Hi Group When running curl/invoke-restmethod on Linux/windows GET request to inventory inventory I get only 50 hosts from 160 listed in inventory https://HOSTNAME/api/v2/inventories/2/hosts/ Also lines in output json …

---

## [Unable to find Ansible module for Google Cloud Platform server creation using Machine Images](https://forum.ansible.com/t/unable-to-find-ansible-module-for-google-cloud-platform-server-creation-using-machine-images/34628)

<div class="topic-metadata">

**Author:** [@Shristi\_Singh](https://forum.ansible.com/u/Shristi_Singh)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 1:35pm UTC](https://forum.ansible.com/t/unable-to-find-ansible-module-for-google-cloud-platform-server-creation-using-machine-images/34628 "2021-02-16T13:35:52Z")

</div>

Hi, I am trying to create a playbook to launch google cloud server using machine image. For reference please use this - https://cloud.google.com/compute/docs/machine-images/create-instance-from-machine-image. In Ansib…

---

## [Need assistance with ansible script for IOS image copying and MD5 verification](https://forum.ansible.com/t/need-assistance-with-ansible-script-for-ios-image-copying-and-md5-verification/34627)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [February 16, 2021, 8:32am UTC](https://forum.ansible.com/t/need-assistance-with-ansible-script-for-ios-image-copying-and-md5-verification/34627 "2021-02-16T08:32:59Z")

</div>

Can i use below script to copy? iam using below command because i don’t have IOS image stored in ansible controller, rather in a FTP server (10.4.1.104) tasks: – name: copy image cli\_command: command: copy ftp://use…

---

## [botocore.exceptions.NoCredentialsError](https://forum.ansible.com/t/botocore-exceptions-nocredentialserror/34622)

<div class="topic-metadata">

**Author:** [@Brati\_Acharya](https://forum.ansible.com/u/Brati_Acharya)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 2:54am UTC](https://forum.ansible.com/t/botocore-exceptions-nocredentialserror/34622 "2021-02-16T02:54:08Z")

</div>

Hi Any idea on the below error? An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.NoCredentialsError: Unable to locate credentials fatal: \[localhost\]:…

---

## [Dynamic dictionary key](https://forum.ansible.com/t/dynamic-dictionary-key/34621)

<div class="topic-metadata">

**Author:** [@Rishare\_Rishare](https://forum.ansible.com/u/Rishare_Rishare)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 4:39pm UTC](https://forum.ansible.com/t/dynamic-dictionary-key/34621 "2021-02-15T16:39:55Z")

</div>

Hi, I can’t find any easy way how to do something like this: set\_fact: “mydict\[{{ myvar }}\]”: “value” vars: myvar: “blabla” However it does not work, because the variable name is not evaluated. The only way I foun…

---

## [Failed to load inventory plugin, skipping community.vmware.vmware\_vm\_inventory](https://forum.ansible.com/t/failed-to-load-inventory-plugin-skipping-community-vmware-vmware-vm-inventory/34618)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 10\
**Last updated:** [February 14, 2021, 8:51pm UTC](https://forum.ansible.com/t/failed-to-load-inventory-plugin-skipping-community-vmware-vmware-vm-inventory/34618 "2021-02-14T20:51:34Z")

</div>

Hi, When i run below as Jenkins user i get error ansible-playbook /etc/ansible/playbooks/uptime-inv-based.yml -i /etc/ansible/playbooks/dc-inv-ALL-vmware.yml \[WARNING\]: Failed to load inventory plugin, skipping commun…

---

## [ANNOUNCE: ansible collectio pfsensible.core 0.4.0 released](https://forum.ansible.com/t/announce-ansible-collectio-pfsensible-core-0-4-0-released/34620)

<div class="topic-metadata">

**Author:** [@opoplawski](https://forum.ansible.com/u/opoplawski)\
**Replies:** 0\
**Last updated:** [February 13, 2021, 10:51pm UTC](https://forum.ansible.com/t/announce-ansible-collectio-pfsensible-core-0-4-0-released/34620 "2021-02-13T22:51:20Z")

</div>

Version 0.4.0 of the pfsensible.core collection for ansible has just been released here This is a long overdue synchronization from the original ansible-pfsense project and includes a number of bugfixes as well as a cou…

---

## [vmware\_guest create from template very slow to start](https://forum.ansible.com/t/vmware-guest-create-from-template-very-slow-to-start/34617)

<div class="topic-metadata">

**Author:** [@Joacim\_Martensson](https://forum.ansible.com/u/Joacim_Martensson)\
**Replies:** 3\
**Last updated:** [February 13, 2021, 5:23pm UTC](https://forum.ansible.com/t/vmware-guest-create-from-template-very-slow-to-start/34617 "2021-02-13T17:23:00Z")

</div>

Hi, We are using the vmware\_guest module to provisioning servers and have noticed its takes up to 1-2 minutes before the task show up and is executed in VMWare. We have tried it both from a standalone Ansible host and …

---

## [Help Log in AWX](https://forum.ansible.com/t/help-log-in-awx/34608)

<div class="topic-metadata">

**Author:** [@Alvaro\_Saavedra\_de\_l](https://forum.ansible.com/u/Alvaro_Saavedra_de_l)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 9:43pm UTC](https://forum.ansible.com/t/help-log-in-awx/34608 "2021-02-12T21:43:21Z")

</div>

Hello, When i have already installed AWX when i go to make log in in i write “admin” and passwd “password” and it doesn\`t enter. Can anyone help me? Thanks, Álvaro (attachments)

---

## [Ansible Roles testing](https://forum.ansible.com/t/ansible-roles-testing/34611)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 2\
**Last updated:** [February 12, 2021, 3:52pm UTC](https://forum.ansible.com/t/ansible-roles-testing/34611 "2021-02-12T15:52:44Z")

</div>

Hello All, I am looking for information on testing Ansible Roles with Molecule on Ansible Tower. Can anyone point me to documentation that will help me? Regards, Keith

---

## [ImportError: cannot import name '\_psutil\_linux'](https://forum.ansible.com/t/importerror-cannot-import-name-psutil-linux/34616)

<div class="topic-metadata">

**Author:** [@donotos](https://forum.ansible.com/u/donotos)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 3:01pm UTC](https://forum.ansible.com/t/importerror-cannot-import-name-psutil-linux/34616 "2021-02-12T15:01:14Z")

</div>

Hello there. I’ve created a new venv to install the necessary dependency required by: https://github.com/ansible-collections/community.vmware when i execute my template in this venv i got this error. Here is the comp…

---

## [How to avoid AWX starting from boot?](https://forum.ansible.com/t/how-to-avoid-awx-starting-from-boot/34615)

<div class="topic-metadata">

**Author:** [@Oliver\_Schiinke](https://forum.ansible.com/u/Oliver_Schiinke)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 1:40pm UTC](https://forum.ansible.com/t/how-to-avoid-awx-starting-from-boot/34615 "2021-02-12T13:40:31Z")

</div>

Please, I have installed AWX (16.0.0) for lab purposes in my Laptop and I would like to know how to disable its docker compose instances starting from boot. I would like to handle it manually via start & stop scripts. T…

---

## [VMware vSphere Automation SDK for Python](https://forum.ansible.com/t/vmware-vsphere-automation-sdk-for-python/34612)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 7\
**Last updated:** [February 12, 2021, 12:16am UTC](https://forum.ansible.com/t/vmware-vsphere-automation-sdk-for-python/34612 "2021-02-12T00:16:10Z")

</div>

Hi, Anyone can suggest on below will help. I am getting error when tried to install VMware vSphere Automation SDK for Python on centos7 Below is my server details Doc i am following is https://github.com/vmware/vsphe…

---

## [Change root user password for VMware servers using Ansible](https://forum.ansible.com/t/change-root-user-password-for-vmware-servers-using-ansible/34614)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 1\
**Last updated:** [February 11, 2021, 9:11pm UTC](https://forum.ansible.com/t/change-root-user-password-for-vmware-servers-using-ansible/34614 "2021-02-11T21:11:18Z")

</div>

We have to change a number of VMware ESX servers root user’s password. The current process is using Power Shell to handle this task. Is there an Ansible playbook and/or Python VMware module that can be utilized to handle…

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

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