# Get Help

**URL:** https://forum.ansible.com/c/help/6.md?page=56

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

**Page:** 57

---

## [Using virtual environment on target host(s)](https://forum.ansible.com/t/using-virtual-environment-on-target-host-s/8591)

<div class="topic-metadata">

**Author:** [@jaydabi](https://forum.ansible.com/u/jaydabi)\
**Replies:** 5\
**Last updated:** [October 12, 2024, 6:33pm UTC](https://forum.ansible.com/t/using-virtual-environment-on-target-host-s/8591 "2024-10-12T18:33:56Z")

</div>

Hi folks, I am wondering if there is a way to use a specific python virtual environment on the target host. Reason for that is that some modules/collections require non-core python modules, but installing these modules…

---

## [Node or Pod IP based on destination](https://forum.ansible.com/t/node-or-pod-ip-based-on-destination/8665)

<div class="topic-metadata">

**Author:** [@knowosielski-SJSU](https://forum.ansible.com/u/knowosielski-SJSU)\
**Replies:** 3\
**Last updated:** [October 11, 2024, 8:47pm UTC](https://forum.ansible.com/t/node-or-pod-ip-based-on-destination/8665 "2024-10-11T20:47:36Z")

</div>

This one is strange. I’ve just migrated my AWX instance from an on-prem k8s cluster to a GKE cluster in GCP. Everything is working as expected with some minor changes such as the source IP needed to be from the pod subne…

---

## [Ansible to Update switch credentials via Cisco NDFC](https://forum.ansible.com/t/ansible-to-update-switch-credentials-via-cisco-ndfc/10110)

<div class="topic-metadata">

**Author:** [@selvigp](https://forum.ansible.com/u/selvigp)\
**Replies:** 2\
**Last updated:** [October 11, 2024, 4:07pm UTC](https://forum.ansible.com/t/ansible-to-update-switch-credentials-via-cisco-ndfc/10110 "2024-10-11T16:07:46Z")

</div>

I wrote an ansible script that collects inventory details and then filters the switches by serial number. After that, I will use the cisco.dcnm.dcnm\_inventory modules to update the switch password from Cisco NDFC. I do n…

---

## [Ansible Tower returning an outdated Job ID in the response to ServiceNow](https://forum.ansible.com/t/ansible-tower-returning-an-outdated-job-id-in-the-response-to-servicenow/10098)

<div class="topic-metadata">

**Author:** [@Ni-11kita](https://forum.ansible.com/u/Ni-11kita)\
**Replies:** 3\
**Last updated:** [October 11, 2024, 4:03pm UTC](https://forum.ansible.com/t/ansible-tower-returning-an-outdated-job-id-in-the-response-to-servicenow/10098 "2024-10-11T16:03:25Z")

</div>

We have an integration between ServiceNow and Ansible Tower, with Ansible Tower endpoints configured in ServiceNow. We use a customized catalog in ServiceNow for Ansible automation. ServiceNow sends payloads to Ansible …

---

## [How to modify nginx conf with AWX Kubernetes (awx-operator)](https://forum.ansible.com/t/how-to-modify-nginx-conf-with-awx-kubernetes-awx-operator/10168)

<div class="topic-metadata">

**Author:** [@gsi](https://forum.ansible.com/u/gsi)\
**Replies:** 2\
**Last updated:** [October 11, 2024, 3:41pm UTC](https://forum.ansible.com/t/how-to-modify-nginx-conf-with-awx-kubernetes-awx-operator/10168 "2024-10-11T15:41:33Z")

</div>

Hello, I probably need to modify some nginx settings in my AWX controller (especially about timeout) but when running on Kubernetes (with awx-operator) I do not figure out how to do because : Any change in \<controller\>…

---

## [When will galaxy-ng show supported OS versions for content?](https://forum.ansible.com/t/when-will-galaxy-ng-show-supported-os-versions-for-content/10179)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 8:00am UTC](https://forum.ansible.com/t/when-will-galaxy-ng-show-supported-os-versions-for-content/10179 "2024-10-11T08:00:00Z")

</div>

In old-galaxy roles had a list of OS versions the role was suited for, for example: This information is, very sadly, still missing from “new” galaxy: IMO this was possibly the most important information for peopl…

---

## [Windows host management via WinRM (Kerberos) from Mac clients](https://forum.ansible.com/t/windows-host-management-via-winrm-kerberos-from-mac-clients/8606)

<div class="topic-metadata">

**Author:** [@Huskers79](https://forum.ansible.com/u/Huskers79)\
**Replies:** 2\
**Last updated:** [October 10, 2024, 9:29pm UTC](https://forum.ansible.com/t/windows-host-management-via-winrm-kerberos-from-mac-clients/8606 "2024-10-10T21:29:43Z")

</div>

Good day, We are having issues managing Windows hosts from Mac clients when the Ansible user is not the user logged into the Mac client. It appears the Kerberos ticket of the logged in user is always utilized. This is f…

---

## [Issues linking parent interface with netbox\_device\_interface module](https://forum.ansible.com/t/issues-linking-parent-interface-with-netbox-device-interface-module/9690)

<div class="topic-metadata">

**Author:** [@sam\_karateman](https://forum.ansible.com/u/sam_karateman)\
**Replies:** 1\
**Last updated:** [October 10, 2024, 7:27pm UTC](https://forum.ansible.com/t/issues-linking-parent-interface-with-netbox-device-interface-module/9690 "2024-10-10T19:27:26Z")

</div>

Hello, I’m attempting to use the netbox.netbox.netbox\_device\_interface module to create an interface and assign a parent interface to it. Here are the tasks I’m using to get the ID from the API: - name: Get bon…

---

## [SSL Handshake Errors with vmware\_deploy\_ovf in Ansible – Other Modules Work Fine](https://forum.ansible.com/t/ssl-handshake-errors-with-vmware-deploy-ovf-in-ansible-other-modules-work-fine/10114)

<div class="topic-metadata">

**Author:** [@capzulu](https://forum.ansible.com/u/capzulu)\
**Replies:** 3\
**Last updated:** [October 10, 2024, 6:29pm UTC](https://forum.ansible.com/t/ssl-handshake-errors-with-vmware-deploy-ovf-in-ansible-other-modules-work-fine/10114 "2024-10-10T18:29:14Z")

</div>

Hey everyone, I’ve been facing SSL handshake errors when trying to deploy an OVA to vSphere using the community.vmware.vmware\_deploy\_ovf module in Ansible. Oddly enough, other modules like vmware\_vm\_info work just fine,…

---

## [Ansible code review](https://forum.ansible.com/t/ansible-code-review/10116)

<div class="topic-metadata">

**Author:** [@mroe1234](https://forum.ansible.com/u/mroe1234)\
**Replies:** 4\
**Last updated:** [October 10, 2024, 4:44pm UTC](https://forum.ansible.com/t/ansible-code-review/10116 "2024-10-10T16:44:37Z")

</div>

I am looking for some feedback/advice/suggestions for my ansible playbook\[s\]. I included them below in a hopefully useful format. Here is also a directory structure of the files. These playbooks dynamically manage firewa…

---

## [Help with json results in a loop](https://forum.ansible.com/t/help-with-json-results-in-a-loop/10154)

<div class="topic-metadata">

**Author:** [@SixteenOne](https://forum.ansible.com/u/SixteenOne)\
**Replies:** 3\
**Last updated:** [October 10, 2024, 1:16pm UTC](https://forum.ansible.com/t/help-with-json-results-in-a-loop/10154 "2024-10-10T13:16:58Z")

</div>

I am trying new things to try and push my learning with Ansible. I have been using Dynamic Inventories with my Proxmox Servers, but wanted to try out Netbox to record all of my VM’s I have created a task to retrieve the…

---

## [Jinja+facts :: how to get active interface](https://forum.ansible.com/t/jinja-facts-how-to-get-active-interface/8746)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 8\
**Last updated:** [October 10, 2024, 11:55am UTC](https://forum.ansible.com/t/jinja-facts-how-to-get-active-interface/8746 "2024-10-10T11:55:31Z")

</div>

I’m trying to get in a configuration file the active interface from facts … but i’m still wrong somewhere in the jinja code or in facts accessing … My tryout looks like this: # Network interface to monitor (default eth…

---

## [Vmware deploy ovf Authenticity of the host's SSL certificate is not verified](https://forum.ansible.com/t/vmware-deploy-ovf-authenticity-of-the-hosts-ssl-certificate-is-not-verified/8446)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 6\
**Last updated:** [October 10, 2024, 7:24am UTC](https://forum.ansible.com/t/vmware-deploy-ovf-authenticity-of-the-hosts-ssl-certificate-is-not-verified/8446 "2024-10-10T07:24:51Z")

</div>

I use ansible version ansible \[core 2.17.3\] and the community.vmware collection version 4.5.0 I want to deploy a ovf from a https url. I already find out that I had to open incoming httpclient 443 But now I get Authe…

---

## [Ansible - Strange Error - Executing Linux Playbooks - Command Not Allowed](https://forum.ansible.com/t/ansible-strange-error-executing-linux-playbooks-command-not-allowed/9689)

<div class="topic-metadata">

**Author:** [@don.salves](https://forum.ansible.com/u/don.salves)\
**Replies:** 5\
**Last updated:** [October 9, 2024, 4:54pm UTC](https://forum.ansible.com/t/ansible-strange-error-executing-linux-playbooks-command-not-allowed/9689 "2024-10-09T16:54:11Z")

</div>

Hi All - I have a simple playbook below which is executed in AWX to connect to Linux Machines. This playbook fails with a very strange issue when execution. I get “Command not allowed” error. \`\`\` - name: Unmount File …

---

## [Ansible syntax for outputing information](https://forum.ansible.com/t/ansible-syntax-for-outputing-information/10073)

<div class="topic-metadata">

**Author:** [@Budman](https://forum.ansible.com/u/Budman)\
**Replies:** 4\
**Last updated:** [October 9, 2024, 2:50pm UTC](https://forum.ansible.com/t/ansible-syntax-for-outputing-information/10073 "2024-10-09T14:50:21Z")

</div>

Hello, I have ansible code that works quite well - logs on to the server I want and so forth. The way it is designed, system asks for your username and password, then logs into the host. Using ansible code, I would li…

---

## [Trying to get ICX modules to work](https://forum.ansible.com/t/trying-to-get-icx-modules-to-work/10037)

<div class="topic-metadata">

**Author:** [@Eric\_P](https://forum.ansible.com/u/Eric_P)\
**Replies:** 1\
**Last updated:** [October 9, 2024, 1:43pm UTC](https://forum.ansible.com/t/trying-to-get-icx-modules-to-work/10037 "2024-10-09T13:43:05Z")

</div>

Thank you in advance! I’m new to Ansible and am trying to use it to pull info and manage a couple hundred ICX switches. Ansible version I’m using is 2.16.11. I’m running older, but completely supported, firmware on my…

---

## [Job Failed with No Output in AWX](https://forum.ansible.com/t/job-failed-with-no-output-in-awx/10059)

<div class="topic-metadata">

**Author:** [@manish\_singh](https://forum.ansible.com/u/manish_singh)\
**Replies:** 3\
**Last updated:** [October 9, 2024, 9:13am UTC](https://forum.ansible.com/t/job-failed-with-no-output-in-awx/10059 "2024-10-09T09:13:04Z")

</div>

Hello, I am currently experiencing an issue with AWX where a job fails with the message “This job failed and has no output.” Unfortunately, the job does not provide any relevant error messages or output to help diagnose…

---

## [Installing collections requiring access tokens from github repo with ansible-builder](https://forum.ansible.com/t/installing-collections-requiring-access-tokens-from-github-repo-with-ansible-builder/9676)

<div class="topic-metadata">

**Author:** [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Replies:** 5\
**Last updated:** [October 9, 2024, 7:22am UTC](https://forum.ansible.com/t/installing-collections-requiring-access-tokens-from-github-repo-with-ansible-builder/9676 "2024-10-09T07:22:55Z")

</div>

We have a private github enterprise where all repo access is authenticated. SSH is not available, only personal access tokens. Is it possible to supply the PAT to ansible-builder so that I can download collections from …

---

## [Use python output from file within ansible](https://forum.ansible.com/t/use-python-output-from-file-within-ansible/9741)

<div class="topic-metadata">

**Author:** [@M-K](https://forum.ansible.com/u/M-K)\
**Replies:** 1\
**Last updated:** [October 8, 2024, 9:13pm UTC](https://forum.ansible.com/t/use-python-output-from-file-within-ansible/9741 "2024-10-08T21:13:01Z")

</div>

Hello, If I wanted to use the output from some script - chronic.py i.e result\_dict = {‘Incident\_number’: , ‘Event\_Name’: , ‘Hostname’: , ‘\_time’: }; I can add in main.yml like this - name: execute info. fetch script …

---

## [Replace unmanaged text block with managed block?](https://forum.ansible.com/t/replace-unmanaged-text-block-with-managed-block/9691)

<div class="topic-metadata">

**Author:** [@HiPhish](https://forum.ansible.com/u/HiPhish)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 6:53pm UTC](https://forum.ansible.com/t/replace-unmanaged-text-block-with-managed-block/9691 "2024-10-08T18:53:35Z")

</div>

Hello everyone, I would like to replace an unmanaged block of text from a configuration file (for Dovecot) with a managed block. The difficulty is that the two blocks have different content, so I thought of splitting it…

---

## [How can I export host errors?](https://forum.ansible.com/t/how-can-i-export-host-errors/9847)

<div class="topic-metadata">

**Author:** [@MrPoulet](https://forum.ansible.com/u/MrPoulet)\
**Replies:** 1\
**Last updated:** [October 8, 2024, 3:53pm UTC](https://forum.ansible.com/t/how-can-i-export-host-errors/9847 "2024-10-08T15:53:35Z")

</div>

Hello, For over a year, I’ve been working on and off on a pipeline for exporting all sorts of playbook statistics to Azure Log Analytics and then to Grafana. It has been extremely useful in getting a better view of all …

---

## [Create Microsoft AD computer account with specific password?](https://forum.ansible.com/t/create-microsoft-ad-computer-account-with-specific-password/9695)

<div class="topic-metadata">

**Author:** [@jcalcamuggio](https://forum.ansible.com/u/jcalcamuggio)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 1:57pm UTC](https://forum.ansible.com/t/create-microsoft-ad-computer-account-with-specific-password/9695 "2024-10-08T13:57:08Z")

</div>

Is it possible, with the microsoft.ad.computer module to assign a password to the computer account at creation time? I’m trying to replicate a process done with powershell today that uses the new-adcomputer cmdlet like …

---

## [How to include vars files from a diffrent git repo](https://forum.ansible.com/t/how-to-include-vars-files-from-a-diffrent-git-repo/9673)

<div class="topic-metadata">

**Author:** [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 11:09am UTC](https://forum.ansible.com/t/how-to-include-vars-files-from-a-diffrent-git-repo/9673 "2024-10-08T11:09:59Z")

</div>

Any suggestions for how to include vars files that are in a different project? IE say I have projecta with with some roles but I wish to put the variables in a different git project. The thought was this would allow me …

---

## [How to fix Ansible with LXD error "Ansible\_loop\_var attribute error: nonetype object has no attribute items" leading to lxd\_container.py"](https://forum.ansible.com/t/how-to-fix-ansible-with-lxd-error-ansible-loop-var-attribute-error-nonetype-object-has-no-attribute-items-leading-to-lxd-container-py/10001)

<div class="topic-metadata">

**Author:** [@53xit13298](https://forum.ansible.com/u/53xit13298)\
**Replies:** 0\
**Last updated:** [October 8, 2024, 9:11am UTC](https://forum.ansible.com/t/how-to-fix-ansible-with-lxd-error-ansible-loop-var-attribute-error-nonetype-object-has-no-attribute-items-leading-to-lxd-container-py/10001 "2024-10-08T09:11:39Z")

</div>

I was struggling with Ansible trying to install Xroad for a few days here’s the log: \<localhost\> EXEC /bin/sh -c 'rm -f -r /home/vboxuser/.ansible/tmp/ansible-tmp-17 28036128.1841958-3528-129319791180256/\> /dev/null 2\>&1…

---

## [Import gi - Fedora linux-system-roles.network](https://forum.ansible.com/t/import-gi-fedora-linux-system-roles-network/9841)

<div class="topic-metadata">

**Author:** [@XakV](https://forum.ansible.com/u/XakV)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 3:00am UTC](https://forum.ansible.com/t/import-gi-fedora-linux-system-roles-network/9841 "2024-10-08T03:00:20Z")

</div>

Error from AWX is driving me crazy. The error occurs here. TASK \[fedora.linux\_system\_roles.network : Configure networking connection profiles\] \*\*\* task path: /usr/share/ansible/collections/ansible\_collections/fedora/li…

---

## [Variables in host\_vars possible?](https://forum.ansible.com/t/variables-in-host-vars-possible/9740)

<div class="topic-metadata">

**Author:** [@starflighter](https://forum.ansible.com/u/starflighter)\
**Replies:** 8\
**Last updated:** [October 8, 2024, 12:31am UTC](https://forum.ansible.com/t/variables-in-host-vars-possible/9740 "2024-10-08T00:31:34Z")

</div>

Hi all, we use lists for vlans in our host\_vars files. Is it possible to reuse variables definded further up in the file? For example like this: vlans: - 34 - 356 - 22 reuse\_vlans: vlans add\_vlans: - vlans …

---

## [AWX deployment on IPv6 k8s cluster?](https://forum.ansible.com/t/awx-deployment-on-ipv6-k8s-cluster/4842)

<div class="topic-metadata">

**Author:** [@CWollinger](https://forum.ansible.com/u/CWollinger)\
**Replies:** 9\
**Last updated:** [October 7, 2024, 9:05am UTC](https://forum.ansible.com/t/awx-deployment-on-ipv6-k8s-cluster/4842 "2024-10-07T09:05:32Z")

</div>

Hi folks, does anyone have experience with AWX deployment on a kubernetes IPv6 (only) cluster? Is AWX ready for that (as well as services like nginx, websocket etc.)? The idea is to deploy AWX on an IPv6 cluster, so t…

---

## [Ansible Automation Platform 2.5 Overview Video](https://forum.ansible.com/t/ansible-automation-platform-2-5-overview-video/9678)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 8:38am UTC](https://forum.ansible.com/t/ansible-automation-platform-2-5-overview-video/9678 "2024-10-07T08:38:14Z")

</div>

:fire: Ansible Automation Platform 2.5 is now generally available. Check out this overview video here: This includes a new unified web UI to make it easy to controller the former disparate parts Automatio…

---

## [Help with Adding Items to 1Password via Ansible: Server Conflict Error 409](https://forum.ansible.com/t/help-with-adding-items-to-1password-via-ansible-server-conflict-error-409/9612)

<div class="topic-metadata">

**Author:** [@kou](https://forum.ansible.com/u/kou)\
**Replies:** 5\
**Last updated:** [October 7, 2024, 6:55am UTC](https://forum.ansible.com/t/help-with-adding-items-to-1password-via-ansible-server-conflict-error-409/9612 "2024-10-07T06:55:55Z")

</div>

Hi everyone, I’m using Ansible to add items to 1Password based on a list of users and inventory hosts. The task aims to create a login item for each user-host pair, such as host1-user1, host1-user2, host2-user1 ,'host2-…

---

## [Multiple Conditions by using 'and' Boolean in RegEx Search](https://forum.ansible.com/t/multiple-conditions-by-using-and-boolean-in-regex-search/7090)

<div class="topic-metadata">

**Author:** [@netmart](https://forum.ansible.com/u/netmart)\
**Replies:** 4\
**Last updated:** [October 6, 2024, 7:51pm UTC](https://forum.ansible.com/t/multiple-conditions-by-using-and-boolean-in-regex-search/7090 "2024-10-06T19:51:51Z")

</div>

Hello, I wanted to use print a message when two string are met in a regular expression. However, it seems that only the first string is hit. Extract - Playbook - name: Task2 - sh run ios\_command: commands: - sh ru…

[Previous page](https://forum.ansible.com/c/help/6.md?page=55)

[Next page](https://forum.ansible.com/c/help/6.md?page=57)
