# Latest

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

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

**Page:** 317

---

## [Oracle/Python](https://forum.ansible.com/t/oracle-python/34703)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 4\
**Last updated:** [March 2, 2021, 12:55pm UTC](https://forum.ansible.com/t/oracle-python/34703 "2021-03-02T12:55:18Z")

</div>

Hello All, I’m working on a project with Oracle Exalogic engineered systems that run OL 5.x which has Python 2.4 (ansible wants 2.6 +). I deployed a custom-compiled python but it apparently missing lots of python module…

---

## [Clarifications needed for 'prompt' parameter of ios\_command module](https://forum.ansible.com/t/clarifications-needed-for-prompt-parameter-of-ios-command-module/34707)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 9:25am UTC](https://forum.ansible.com/t/clarifications-needed-for-prompt-parameter-of-ios-command-module/34707 "2021-03-02T09:25:12Z")

</div>

When i use ‘prompt’ parameter of ios\_command module for IOS image copying as in Example 1, it fails. But it succeeds as in Example 2. I want to understand why? I am trying to understand why this below syntax works? Des…

---

## [rename datastore in vcenter](https://forum.ansible.com/t/rename-datastore-in-vcenter/34670)

<div class="topic-metadata">

**Author:** [@Jon\_POK](https://forum.ansible.com/u/Jon_POK)\
**Replies:** 11\
**Last updated:** [March 2, 2021, 8:57am UTC](https://forum.ansible.com/t/rename-datastore-in-vcenter/34670 "2021-03-02T08:57:41Z")

</div>

Hello I am trying to execute this task name: Rename Datastores on ESXi host vmware\_host\_datastore: hostname: ‘{{ vcenter\_hostname }}’ username: ‘{{ vcenter\_username }}’ password: ‘{{ vcenter\_password }}’ datacente…

---

## [Json To string store in a variable in ansible issue](https://forum.ansible.com/t/json-to-string-store-in-a-variable-in-ansible-issue/34706)

<div class="topic-metadata">

**Author:** [@Shradha\_Bhatia](https://forum.ansible.com/u/Shradha_Bhatia)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 5:32am UTC](https://forum.ansible.com/t/json-to-string-store-in-a-variable-in-ansible-issue/34706 "2021-03-02T05:32:25Z")

</div>

Can anyone suggest on how to convert the json file content to a string inside a variable in ansible. The method i used is to “cat xyz.json” and set\_facts to a variable and converting output to to\_json or to\_yaml. The u…

---

## [Using "when" in a template file](https://forum.ansible.com/t/using-when-in-a-template-file/34704)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [March 1, 2021, 8:26pm UTC](https://forum.ansible.com/t/using-when-in-a-template-file/34704 "2021-03-01T20:26:52Z")

</div>

We have a playbook that will start the chronyd service periodically. If the service is down, it will be started. This causes the “changed” condition to be set to 1. This all works well. What I need to figure out is how c…

---

## [Role structure in ansible\_collections/namespace/collection\_name/roles](https://forum.ansible.com/t/role-structure-in-ansible-collections-namespace-collection-name-roles/34699)

<div class="topic-metadata">

**Author:** [@Rohit\_Kainth](https://forum.ansible.com/u/Rohit_Kainth)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 7:18pm UTC](https://forum.ansible.com/t/role-structure-in-ansible-collections-namespace-collection-name-roles/34699 "2021-03-01T19:18:47Z")

</div>

Hi Team, I would like to know whether we have to manually create the role structure within a collection, as when creating a skeleton of collection by the following command: ansible-galaxy collection init namespace.coll…

---

## [email play recap output](https://forum.ansible.com/t/email-play-recap-output/34688)

<div class="topic-metadata">

**Author:** [@Gisbert\_Haas](https://forum.ansible.com/u/Gisbert_Haas)\
**Replies:** 2\
**Last updated:** [March 1, 2021, 7:11pm UTC](https://forum.ansible.com/t/email-play-recap-output/34688 "2021-03-01T19:11:17Z")

</div>

Hi All, anyone got a pride idea how to email the play recap output only? Thanks a million Gisbert

---

## [how community\_vmware\_vmware\_vguest communicate the guest](https://forum.ansible.com/t/how-community-vmware-vmware-vguest-communicate-the-guest/34664)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 5\
**Last updated:** [March 1, 2021, 6:48pm UTC](https://forum.ansible.com/t/how-community-vmware-vmware-vguest-communicate-the-guest/34664 "2021-03-01T18:48:57Z")

</div>

Hello Team Can anyone brief me how does vmware\_guest communicate with linux guest machine while assigning the new ipadddress? what authentication method its used.? Note: This is new machine deployment query Thanks in…

---

## [How do i do IOS upgrade of devices sequentially and not simultaneously?](https://forum.ansible.com/t/how-do-i-do-ios-upgrade-of-devices-sequentially-and-not-simultaneously/34695)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 2\
**Last updated:** [March 1, 2021, 6:01pm UTC](https://forum.ansible.com/t/how-do-i-do-ios-upgrade-of-devices-sequentially-and-not-simultaneously/34695 "2021-03-01T18:01:21Z")

</div>

I have written a script to do IOS upgrade of cisco devices. However problem is that each TASK in playbook gets executed SIMULTANEOUSLY on all devices defined in inventory file before moving on to next TASK. But my requi…

---

## [remove vmnic from esxi host](https://forum.ansible.com/t/remove-vmnic-from-esxi-host/34700)

<div class="topic-metadata">

**Author:** [@Jon\_POK](https://forum.ansible.com/u/Jon_POK)\
**Replies:** 0\
**Last updated:** [March 1, 2021, 12:12pm UTC](https://forum.ansible.com/t/remove-vmnic-from-esxi-host/34700 "2021-03-01T12:12:05Z")

</div>

Hello I am testing vswitch module can create add nics but I want to remove nic from vswithc is it possible name: Add a VMware vSwitch with multiple NICs community.vmware.vmware\_vswitch: hostname: ‘{{ esxi\_hostname }}…

---

## [Win\_reboot issue](https://forum.ansible.com/t/win-reboot-issue/34697)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 3\
**Last updated:** [March 1, 2021, 11:30am UTC](https://forum.ansible.com/t/win-reboot-issue/34697 "2021-03-01T11:30:50Z")

</div>

Hi All, I am using win\_reboot model to reboot the windows machines but module is not working properly when windows takes more than 10 mins to reboot is there any alternative for this? Thanks Prajwal h g

---

## [escape square bracket in ansible](https://forum.ansible.com/t/escape-square-bracket-in-ansible/34698)

<div class="topic-metadata">

**Author:** [@Sakshi\_Rathore](https://forum.ansible.com/u/Sakshi_Rathore)\
**Replies:** 4\
**Last updated:** [March 1, 2021, 9:42am UTC](https://forum.ansible.com/t/escape-square-bracket-in-ansible/34698 "2021-03-01T09:42:27Z")

</div>

Hello everyone, Can anyone please advise how to escape square brackets from output in ansible? i need to insert some ip addresses from a file into dynamic inventory file. while doing this i am getting square bracket al…

---

## [Will IOS module apply for ASA as well?](https://forum.ansible.com/t/will-ios-module-apply-for-asa-as-well/34696)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 7:41pm UTC](https://forum.ansible.com/t/will-ios-module-apply-for-asa-as-well/34696 "2021-02-28T19:41:42Z")

</div>

I notice that ASA has 4 modules listed in ansible documentation. But i was wondering if i can use IOS modules with ASA as well? I had this doubt as ASA also uses IOS OS and IOS modules offer lot more options and flexibi…

---

## [set custom ssh port when using delegate\_to](https://forum.ansible.com/t/set-custom-ssh-port-when-using-delegate-to/34685)

<div class="topic-metadata">

**Author:** [@Raphael\_Ebner](https://forum.ansible.com/u/Raphael_Ebner)\
**Replies:** 9\
**Last updated:** [February 27, 2021, 9:02am UTC](https://forum.ansible.com/t/set-custom-ssh-port-when-using-delegate-to/34685 "2021-02-27T09:02:25Z")

</div>

Hi Community, I need to delegate one task in my play to another remote linux ssh host with delegate\_to. So far so good. But now the problem: my remote host has a custom ssh port. When running the play I always get “Fail…

---

## [amq7 broker service start command not working through ansible (AWX)](https://forum.ansible.com/t/amq7-broker-service-start-command-not-working-through-ansible-awx/34691)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 5\
**Last updated:** [February 26, 2021, 6:05pm UTC](https://forum.ansible.com/t/amq7-broker-service-start-command-not-working-through-ansible-awx/34691 "2021-02-26T18:05:33Z")

</div>

service Stop command working fine /bin/artemis-service stop service start command is not working /bin/artemis-service start I used nohup and wrote shell script to start but not working. Could you please help on this…

---

## [Ansible Playbooks/Roles](https://forum.ansible.com/t/ansible-playbooks-roles/34689)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 4:03pm UTC](https://forum.ansible.com/t/ansible-playbooks-roles/34689 "2021-02-26T16:03:11Z")

</div>

Good morning Family, I have a question that I can’t seem to come up with an answer for. I am working on an Ansible project and I have to look into vetting our existing playbooks/roles. My question is, how do I determine…

---

## [Ansible Playbook using ansible\_connection: vmware\_tools](https://forum.ansible.com/t/ansible-playbook-using-ansible-connection-vmware-tools/34687)

<div class="topic-metadata">

**Author:** [@Glen\_Collins](https://forum.ansible.com/u/Glen_Collins)\
**Replies:** 3\
**Last updated:** [February 26, 2021, 3:54pm UTC](https://forum.ansible.com/t/ansible-playbook-using-ansible-connection-vmware-tools/34687 "2021-02-26T15:54:35Z")

</div>

Hello. I am trying to use the ansible\_connection: vmware\_tools in my playbook. I have been successful in connecting and running basic commands. But I am finding when using modules like yum and there is a long task to do…

---

## [No inventory was parsed, please check your configuration and options](https://forum.ansible.com/t/no-inventory-was-parsed-please-check-your-configuration-and-options/34667)

<div class="topic-metadata">

**Author:** [@Florian\_Bellencontre](https://forum.ansible.com/u/Florian_Bellencontre)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 2:45pm UTC](https://forum.ansible.com/t/no-inventory-was-parsed-please-check-your-configuration-and-options/34667 "2021-02-26T14:45:02Z")

</div>

SUMMARY I’ve just started installing Ansible AWX and I’ve imported a fairly simple playbook that I’ll join you later. Once all my configuration was done, I tried to launch this playbook in check mode. But it returned an …

---

## [help configuring python dynamic inventory from git](https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683)

<div class="topic-metadata">

**Author:** [@Kevin\_Hoyt](https://forum.ansible.com/u/Kevin_Hoyt)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 2:00pm UTC](https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683 "2021-02-26T14:00:45Z")

</div>

Hi, I’m new to this and I’m struggling a bit. I have a dyn inv script that was originally used in “Inventory Scripts” in an older version of awx. However I’ve recently installed 17.0.1 and I’m having trouble figuring ou…

---

## [The 'inventory file' dropdown on awx 17 doesn't let you enter a path other than /(project root)](https://forum.ansible.com/t/the-inventory-file-dropdown-on-awx-17-doesnt-let-you-enter-a-path-other-than-project-root/34662)

<div class="topic-metadata">

**Author:** [@Dan\_Seeland](https://forum.ansible.com/u/Dan_Seeland)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 8:54am UTC](https://forum.ansible.com/t/the-inventory-file-dropdown-on-awx-17-doesnt-let-you-enter-a-path-other-than-project-root/34662 "2021-02-26T08:54:19Z")

</div>

I’m testing a very simple dynamic inventory project that syncs to a github repo. The repo contains two folders: collections and inventories. Under inventories, is the folder awx. In the awx folder, is the file aws\_ec2.ym…

---

## [Errors in my Playbook](https://forum.ansible.com/t/errors-in-my-playbook/34686)

<div class="topic-metadata">

**Author:** [@Michael\_Cooper](https://forum.ansible.com/u/Michael_Cooper)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 1:28am UTC](https://forum.ansible.com/t/errors-in-my-playbook/34686 "2021-02-26T01:28:32Z")

</div>

Hello Everyone, First time poster here. By the way I am just now learning this. I am having issues with a playbook I am trying to run and I get this after the

---

## [Notification Template is not working on AWX Version AWX 17.0.1](https://forum.ansible.com/t/notification-template-is-not-working-on-awx-version-awx-17-0-1/34684)

<div class="topic-metadata">

**Author:** [@anish\_anil](https://forum.ansible.com/u/anish_anil)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 6:06pm UTC](https://forum.ansible.com/t/notification-template-is-not-working-on-awx-version-awx-17-0-1/34684 "2021-02-25T18:06:34Z")

</div>

Hello AWX Tower Experts, We are currently evaluating the newest version of Tower and we happen to install it. AWX Installed as docker Containers and has an external Postgress Server. I configured the Notification Temp…

---

## [best practices for removing files in a dir when using  Ansible](https://forum.ansible.com/t/best-practices-for-removing-files-in-a-dir-when-using-ansible/34682)

<div class="topic-metadata">

**Author:** [@paneva](https://forum.ansible.com/u/paneva)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 5:01pm UTC](https://forum.ansible.com/t/best-practices-for-removing-files-in-a-dir-when-using-ansible/34682 "2021-02-25T17:01:56Z")

</div>

Hi Ansible wizards! I am currently working on few tasks in a playbook that are going to remove old files. There is a set number of files that I need to keep, say 3 (most recent), and the rest should be removed. I am doi…

---

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

<div class="topic-metadata">

**Author:** [@Mouton\_Noir](https://forum.ansible.com/u/Mouton_Noir)\
**Replies:** 6\
**Last updated:** [February 25, 2021, 4:30pm UTC](https://forum.ansible.com/t/need-help-with-tags/34678 "2021-02-25T16:30:11Z")

</div>

Hi, I’d like to use tags to select tasks I launch. I found documentations about how to limit playbook, role… execution to the tagged tasks l choose from adhoc command (-t option). But I need to do the same from anothe…

---

## [Ansible Without Python?](https://forum.ansible.com/t/ansible-without-python/34679)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 9\
**Last updated:** [February 25, 2021, 4:17pm UTC](https://forum.ansible.com/t/ansible-without-python/34679 "2021-02-25T16:17:19Z")

</div>

I had a radical thought the other day. Would it be possible to replace Python as the language used by Ansible with a compiled language, perhaps Go because of its fast compile and link speed? Note that I'm not talking …

---

## [win\_domain\_user | Directory object not found](https://forum.ansible.com/t/win-domain-user-directory-object-not-found/34681)

<div class="topic-metadata">

**Author:** [@Manikumar\_Chandu](https://forum.ansible.com/u/Manikumar_Chandu)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 12:56pm UTC](https://forum.ansible.com/t/win-domain-user-directory-object-not-found/34681 "2021-02-25T12:56:06Z")

</div>

Hi Team, I am trying to create a user in AD with the win\_domain\_user module but at the time adding the user to groups getting below error, { “exception”: “Directory object not found\\r\\nAt line:280 char:29\\r\\n+ … ($gro…

---

## [Need help on how to configure Ansible controller as galaxy server to download and install collections](https://forum.ansible.com/t/need-help-on-how-to-configure-ansible-controller-as-galaxy-server-to-download-and-install-collections/34680)

<div class="topic-metadata">

**Author:** [@Ramakrishna\_V](https://forum.ansible.com/u/Ramakrishna_V)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 9:41am UTC](https://forum.ansible.com/t/need-help-on-how-to-configure-ansible-controller-as-galaxy-server-to-download-and-install-collections/34680 "2021-02-25T09:41:59Z")

</div>

Hi, Need help on how to configure Ansible controller as galaxy server to download and install collections. Basically, as we know by default, collection is getting installed/downloaded from galaxy.ansible.com or github. …

---

## [Changing the target server name](https://forum.ansible.com/t/changing-the-target-server-name/34677)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Replies:** 4\
**Last updated:** [February 25, 2021, 9:03am UTC](https://forum.ansible.com/t/changing-the-target-server-name/34677 "2021-02-25T09:03:23Z")

</div>

Is there any way to change the target server name in the middle of the playbook? This is for windows. Thanks and Regards, Praveen Singh

---

## [Automate Custome Attribute Population - Vmware](https://forum.ansible.com/t/automate-custome-attribute-population-vmware/34668)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 10\
**Last updated:** [February 24, 2021, 6:13pm UTC](https://forum.ansible.com/t/automate-custome-attribute-population-vmware/34668 "2021-02-24T18:13:22Z")

</div>

Hi Here are my custom attributes Today these are populated with community.vmware.vmware\_guest\_custom\_attributes But that is manually from the file… it has human error possible eg Ubuntu 20.04 folks may type Ubuntu…

---

## [Extreme X440 timeout](https://forum.ansible.com/t/extreme-x440-timeout/34676)

<div class="topic-metadata">

**Author:** [@Valdinei\_Rodrigues\_d](https://forum.ansible.com/u/Valdinei_Rodrigues_d)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 3:01pm UTC](https://forum.ansible.com/t/extreme-x440-timeout/34676 "2021-02-24T15:01:10Z")

</div>

Hi there. I’m trying automate somethings in my network, and i’m struggling with swiches Extremes X440. When I run my ansible code, it works great on X460 and X670 switches, but gives “command timeout triggered” on X440…

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

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