# Get Help

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

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

**Page:** 85

---

## [Conditional loop using hostvars](https://forum.ansible.com/t/conditional-loop-using-hostvars/4362)

<div class="topic-metadata">

**Author:** [@chtsalid](https://forum.ansible.com/u/chtsalid)\
**Replies:** 3\
**Last updated:** [March 14, 2024, 9:15am UTC](https://forum.ansible.com/t/conditional-loop-using-hostvars/4362 "2024-03-14T09:15:57Z")

</div>

Hi all, I am encountering a problem using a conditional loop with hostvars. I am getting an error, that the conditional is not correct. Here underneath is my module: set\_fact: hostlist: “{{ hostlist | default() + \[ite…

---

## [Extra\_vars and env variables empty](https://forum.ansible.com/t/extra-vars-and-env-variables-empty/4308)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 11\
**Last updated:** [March 14, 2024, 8:44am UTC](https://forum.ansible.com/t/extra-vars-and-env-variables-empty/4308 "2024-03-14T08:44:38Z")

</div>

Hello! I switched from my test GitHub and created successfully a project, but i couldnt get the right playbook to copy a file from the new GitLab to a local host. Only the auth via username and PAT is aviable. I added…

---

## [Zabbix dynamic inventory not caching](https://forum.ansible.com/t/zabbix-dynamic-inventory-not-caching/4374)

<div class="topic-metadata">

**Author:** [@inventor96](https://forum.ansible.com/u/inventor96)\
**Replies:** 0\
**Last updated:** [March 14, 2024, 8:12am UTC](https://forum.ansible.com/t/zabbix-dynamic-inventory-not-caching/4374 "2024-03-14T08:12:42Z")

</div>

We’ve been using the zabbix inventory plugin for a while to generate our ansible inventory, and it’s worked great. As we’ve grown, the process of starting a playbook has continued to take longer and longer as there’s bee…

---

## [Best solutions to prevent password/secret writing to log file](https://forum.ansible.com/t/best-solutions-to-prevent-password-secret-writing-to-log-file/4343)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 6:40am UTC](https://forum.ansible.com/t/best-solutions-to-prevent-password-secret-writing-to-log-file/4343 "2024-03-14T06:40:25Z")

</div>

I want to run a python from ansible and need to user a password in it. With default behavior you see the password in the logging. I know the option no\_log: true but the nI have no logging. I want the sdtout logging bu…

---

## [Ansible not working after python version upgrade](https://forum.ansible.com/t/ansible-not-working-after-python-version-upgrade/4359)

<div class="topic-metadata">

**Author:** [@TheRojam](https://forum.ansible.com/u/TheRojam)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 11:55pm UTC](https://forum.ansible.com/t/ansible-not-working-after-python-version-upgrade/4359 "2024-03-13T23:55:32Z")

</div>

I tried to update the underlying python. I reinstalled ansible-core via pip3 and tried to run an ansible playbook: $ ansible-playbook -i ansible\_inventory.ini playbooknme.yaml --checkmode ERROR! Unexpected Exception, th…

---

## [How to iterate through survey response](https://forum.ansible.com/t/how-to-iterate-through-survey-response/4213)

<div class="topic-metadata">

**Author:** [@Chris\_Kahn](https://forum.ansible.com/u/Chris_Kahn)\
**Replies:** 7\
**Last updated:** [March 13, 2024, 11:44pm UTC](https://forum.ansible.com/t/how-to-iterate-through-survey-response/4213 "2024-03-13T23:44:15Z")

</div>

Apologies for the noob question, but my playbook makes an API call to our cloud WAF to write http redirects. It works really well based on three survey questions: domain url\_from url\_to The problem is that I’d like to…

---

## [Remote Code Execution in Ansible dynamic inventory plugins](https://forum.ansible.com/t/remote-code-execution-in-ansible-dynamic-inventory-plugins/4332)

<div class="topic-metadata">

**Author:** [@chris](https://forum.ansible.com/u/chris)\
**Replies:** 4\
**Last updated:** [March 13, 2024, 8:50pm UTC](https://forum.ansible.com/t/remote-code-execution-in-ansible-dynamic-inventory-plugins/4332 "2024-03-13T20:50:24Z")

</div>

I was wondering if this was raised at a GitHub issue, if it was I’d be interested in reading the discussion that followed: Does the same thing apply to scripts in the /etc/ansible/facts.d directory?

---

## [Feature request: Allow AWX consider DST when using timezones](https://forum.ansible.com/t/feature-request-allow-awx-consider-dst-when-using-timezones/4297)

<div class="topic-metadata">

**Author:** [@GitarPlayer](https://forum.ansible.com/u/GitarPlayer)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 6:54pm UTC](https://forum.ansible.com/t/feature-request-allow-awx-consider-dst-when-using-timezones/4297 "2024-03-13T18:54:15Z")

</div>

AWX does not honor DST when scheduling in timezones We are currently evaluating whether to use AAP to schedule some business jobs. The only thing that stops us from using AAP is that it does not honor DST when schedulin…

---

## [AWX Mesh ingress Looses Route](https://forum.ansible.com/t/awx-mesh-ingress-looses-route/4300)

<div class="topic-metadata">

**Author:** [@firdous\_ahmed\_reshi](https://forum.ansible.com/u/firdous_ahmed_reshi)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 6:50pm UTC](https://forum.ansible.com/t/awx-mesh-ingress-looses-route/4300 "2024-03-13T18:50:27Z")

</div>

Title: AWX Task Pod Losing Connection to Mesh Ingress and Control Service Description: We are experiencing an issue with our AWX Execution Environment where the Ansible task pod is losing its routing to the mesh ingres…

---

## [AWX Backup (Operator) is not work at Redhat Openshift 4.15.0, Write awx object to pvc Error](https://forum.ansible.com/t/awx-backup-operator-is-not-work-at-redhat-openshift-4-15-0-write-awx-object-to-pvc-error/4348)

<div class="topic-metadata">

**Author:** [@swlee](https://forum.ansible.com/u/swlee)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 6:43pm UTC](https://forum.ansible.com/t/awx-backup-operator-is-not-work-at-redhat-openshift-4-15-0-write-awx-object-to-pvc-error/4348 "2024-03-13T18:43:54Z")

</div>

Hi there, I was install AWX Operator in RedHat Openshift, And i Need to Craete AWX Backup use by AWX Operator. But, When I execute AWX Backup, I can see error that like this. Operator Version is 2.12.0 TASK \[Write awx …

---

## [Event Driven Ansible for Networks "Don't Shut my ports!!!"](https://forum.ansible.com/t/event-driven-ansible-for-networks-dont-shut-my-ports/4360)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 4:24pm UTC](https://forum.ansible.com/t/event-driven-ansible-for-networks-dont-shut-my-ports/4360 "2024-03-13T16:24:30Z")

</div>

Event-Driven Ansible can help automatically kick off Job Templates in Ansible Automation Platform and/or AWX. This allows you to-\> Automatically respond to events Self-Healing network automation Reduce Outages, speed …

---

## [What would be the pitfalls of Mesh ingress over public internet](https://forum.ansible.com/t/what-would-be-the-pitfalls-of-mesh-ingress-over-public-internet/4352)

<div class="topic-metadata">

**Author:** [@MalfuncEddie](https://forum.ansible.com/u/MalfuncEddie)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 10:34am UTC](https://forum.ansible.com/t/what-would-be-the-pitfalls-of-mesh-ingress-over-public-internet/4352 "2024-03-13T10:34:30Z")

</div>

Hi, With the new Mesh ingress and assuming that the receptor network is fully TLS. What would be a reason not have execution nodes connect to the control plane over the big bad internet. Currently we always have a vpn …

---

## [Looking for good, written, directions on how to set up a Ansible dev server on Ubuntu 22.04](https://forum.ansible.com/t/looking-for-good-written-directions-on-how-to-set-up-a-ansible-dev-server-on-ubuntu-22-04/4279)

<div class="topic-metadata">

**Author:** [@gbassford](https://forum.ansible.com/u/gbassford)\
**Replies:** 7\
**Last updated:** [March 12, 2024, 3:02pm UTC](https://forum.ansible.com/t/looking-for-good-written-directions-on-how-to-set-up-a-ansible-dev-server-on-ubuntu-22-04/4279 "2024-03-12T15:02:29Z")

</div>

Hi Folks, I’m new to Ansible and I’m trying to set up an environment for authoring playbooks, that can be shared with a group. I tried following this: https://www.youtube.com/watch?v=C8908KSjn78. My first attempt resu…

---

## [Can I run specific role tasks with tags at playbook level?](https://forum.ansible.com/t/can-i-run-specific-role-tasks-with-tags-at-playbook-level/4327)

<div class="topic-metadata">

**Author:** [@marseaplage](https://forum.ansible.com/u/marseaplage)\
**Replies:** 3\
**Last updated:** [March 12, 2024, 2:14pm UTC](https://forum.ansible.com/t/can-i-run-specific-role-tasks-with-tags-at-playbook-level/4327 "2024-03-12T14:14:59Z")

</div>

I would like to know if I can run specific role tasks with tags at playbook level? I have tried in several ways and in spite of I specify the tags, it always plays all the tasks and I would like just to play those ones t…

---

## [Migration from AWX to RHEL Ansible Automation Platform](https://forum.ansible.com/t/migration-from-awx-to-rhel-ansible-automation-platform/4314)

<div class="topic-metadata">

**Author:** [@inod44](https://forum.ansible.com/u/inod44)\
**Replies:** 5\
**Last updated:** [March 12, 2024, 2:08pm UTC](https://forum.ansible.com/t/migration-from-awx-to-rhel-ansible-automation-platform/4314 "2024-03-12T14:08:04Z")

</div>

Hello all, I have a running AWX on a CentOs host. The AWX itself was built within a docker by someone else that is no longer reachable so I could not obtain any more details. The AWX itself is running quite an old vers…

---

## [AWX Operator - Unable to login post migration](https://forum.ansible.com/t/awx-operator-unable-to-login-post-migration/4328)

<div class="topic-metadata">

**Author:** [@virtualhobbit](https://forum.ansible.com/u/virtualhobbit)\
**Replies:** 3\
**Last updated:** [March 12, 2024, 1:29pm UTC](https://forum.ansible.com/t/awx-operator-unable-to-login-post-migration/4328 "2024-03-12T13:29:36Z")

</div>

I’ve made some great progress and migrated from 17.1.0 on CentOS to the AWX Operator. I first migrated my Postgres database to an external one, then used the code at the end. The migration appears to have worked, and th…

---

## [Custom Ansible Collection Name](https://forum.ansible.com/t/custom-ansible-collection-name/4334)

<div class="topic-metadata">

**Author:** [@Octulus](https://forum.ansible.com/u/Octulus)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 12:54pm UTC](https://forum.ansible.com/t/custom-ansible-collection-name/4334 "2024-03-12T12:54:31Z")

</div>

I am working on creating my first collection with the company that I work at. The collection will be used to create issues in our ITSM suite. Since we have a fair bit of customizations and processes, I felt creating our …

---

## [Can't connect to Cisco router using network\_cli but ssh from raw module works fine](https://forum.ansible.com/t/cant-connect-to-cisco-router-using-network-cli-but-ssh-from-raw-module-works-fine/4281)

<div class="topic-metadata">

**Author:** [@jneiberger](https://forum.ansible.com/u/jneiberger)\
**Replies:** 5\
**Last updated:** [March 11, 2024, 11:49pm UTC](https://forum.ansible.com/t/cant-connect-to-cisco-router-using-network-cli-but-ssh-from-raw-module-works-fine/4281 "2024-03-11T23:49:11Z")

</div>

% ansible --version ansible \[core 2.16.4\] config file = /Users/john/scripts/ansible-testing/ansible.cfg configured module search path = \['/Users/john/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'\] …

---

## [Hall notification module?](https://forum.ansible.com/t/hall-notification-module/4321)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 2:59pm UTC](https://forum.ansible.com/t/hall-notification-module/4321 "2024-03-11T14:59:59Z")

</div>

Glancing at the list of notification modules I notice hall. Out of curiousity I attempt to reach hall.com which is dead: ; EDE: 20 (Not Authoritative) ; EDE: 22 (No Reachable Authority): (at delegation hall.com.) ; EDE:…

---

## [Get command error output](https://forum.ansible.com/t/get-command-error-output/4274)

<div class="topic-metadata">

**Author:** [@codi639](https://forum.ansible.com/u/codi639)\
**Replies:** 4\
**Last updated:** [March 11, 2024, 2:29pm UTC](https://forum.ansible.com/t/get-command-error-output/4274 "2024-03-11T14:29:38Z")

</div>

Hello guys, I’m trying to manually configure the SSL certificate for the API of my proxmox servers. Since I had a lot of error, I find a way using the command openssl s\_client -connect which returns me a very big outpu…

---

## [Chrome repository setup failing on Linux Mint](https://forum.ansible.com/t/chrome-repository-setup-failing-on-linux-mint/4294)

<div class="topic-metadata">

**Author:** [@zoliky](https://forum.ansible.com/u/zoliky)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 11:22am UTC](https://forum.ansible.com/t/chrome-repository-setup-failing-on-linux-mint/4294 "2024-03-11T11:22:59Z")

</div>

Hello, I have this code to add the Chrome repository: - name: Add Chrome repository become: true ansible.builtin.apt\_repository: repo: deb \[arch=amd64 signed-by=/etc/apt/keyrings/linux\_signing\_key.pub\] http://d…

---

## [How to Install AAP2.4 using terrraform on RHEL 8](https://forum.ansible.com/t/how-to-install-aap2-4-using-terrraform-on-rhel-8/4303)

<div class="topic-metadata">

**Author:** [@Srikanth1992](https://forum.ansible.com/u/Srikanth1992)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 2:59am UTC](https://forum.ansible.com/t/how-to-install-aap2-4-using-terrraform-on-rhel-8/4303 "2024-03-11T02:59:25Z")

</div>

Hello Team Currently, our organization runs Ansible Automation Platform (AAP) version 2.4 on RHEL 8. We have a setup with 4 nodes, including 3 HA nodes and 1 database node managed by a controller. This setup was manuall…

---

## [Attach existing disk to proxmox vm](https://forum.ansible.com/t/attach-existing-disk-to-proxmox-vm/4291)

<div class="topic-metadata">

**Author:** [@DengelFred](https://forum.ansible.com/u/DengelFred)\
**Replies:** 5\
**Last updated:** [March 10, 2024, 12:50pm UTC](https://forum.ansible.com/t/attach-existing-disk-to-proxmox-vm/4291 "2024-03-10T12:50:34Z")

</div>

Hello! I created a VM in Proxmox and imported a disk from a image. It is visible as “Unused Disk 0” in Proxmox. How can I attach it as scsi0? I tried: - name: Import root disk (2) delegate\_to: pve1 co…

---

## [Importing OS-specific variables](https://forum.ansible.com/t/importing-os-specific-variables/4285)

<div class="topic-metadata">

**Author:** [@zoliky](https://forum.ansible.com/u/zoliky)\
**Replies:** 4\
**Last updated:** [March 9, 2024, 3:53pm UTC](https://forum.ansible.com/t/importing-os-specific-variables/4285 "2024-03-09T15:53:05Z")

</div>

Hello, I want Ansible to examine the vars folder, and even if it’s empty or doesn’t contain a default.yml file, I don’t want it to fail. I’ve tried the following code, but it doesn’t seem to be working. Do you have any …

---

## [Import\_role and module\_defaults](https://forum.ansible.com/t/import-role-and-module-defaults/4277)

<div class="topic-metadata">

**Author:** [@DengelFred](https://forum.ansible.com/u/DengelFred)\
**Replies:** 10\
**Last updated:** [March 9, 2024, 1:00pm UTC](https://forum.ansible.com/t/import-role-and-module-defaults/4277 "2024-03-09T13:00:06Z")

</div>

Hello, I currently learn ansible and write a few roles for handling a proxmox cluster. Each role uses several proxmox modules and each module needs the login data. therefore I tried to create a role “prox\_common” with…

---

## [Changelogs/fragments chicken-and-egg naming problem](https://forum.ansible.com/t/changelogs-fragments-chicken-and-egg-naming-problem/4282)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 5\
**Last updated:** [March 9, 2024, 12:53pm UTC](https://forum.ansible.com/t/changelogs-fragments-chicken-and-egg-naming-problem/4282 "2024-03-09T12:53:09Z")

</div>

I’m working on a pull request with a minor change to the community.general.ini\_file module. According to Creating a changelog fragment, The file name should include the PR number and a description of the change. The …

---

## [VSCode Ansible extension, Copilot and FQCN's](https://forum.ansible.com/t/vscode-ansible-extension-copilot-and-fqcns/4259)

<div class="topic-metadata">

**Author:** [@skeer](https://forum.ansible.com/u/skeer)\
**Replies:** 0\
**Last updated:** [March 7, 2024, 6:04pm UTC](https://forum.ansible.com/t/vscode-ansible-extension-copilot-and-fqcns/4259 "2024-03-07T18:04:26Z")

</div>

Maybe I don;t fully understand how the Ansible extensions settings for enabling FQCN’s should work. But if I accept a suggestion from Copilot, the resulting code is always using the short collection name. After saving th…

---

## [Win\_command | win\_shell fails on running a powershell script](https://forum.ansible.com/t/win-command-win-shell-fails-on-running-a-powershell-script/4237)

<div class="topic-metadata">

**Author:** [@Fredrik\_T](https://forum.ansible.com/u/Fredrik_T)\
**Replies:** 3\
**Last updated:** [March 7, 2024, 2:25pm UTC](https://forum.ansible.com/t/win-command-win-shell-fails-on-running-a-powershell-script/4237 "2024-03-07T14:25:07Z")

</div>

I’m facing an issue where running a powershell script via Ansible compared to running it locally behaves differently. Initially started out using the win\_powershell and placing a script block in the task. Though I was …

---

## [Handling prompt validation with netcommon.cli](https://forum.ansible.com/t/handling-prompt-validation-with-netcommon-cli/4249)

<div class="topic-metadata">

**Author:** [@motorbass](https://forum.ansible.com/u/motorbass)\
**Replies:** 6\
**Last updated:** [March 7, 2024, 2:12pm UTC](https://forum.ansible.com/t/handling-prompt-validation-with-netcommon-cli/4249 "2024-03-07T14:12:04Z")

</div>

Hi ! I’m currently working (or fighting) with some Aruba switches and Ansible. Aruba Ansible module is quite poor unfortunately not high quality as Cisco’s…anyway I have to deal with that :slight\_smile: I’m working on …

---

## [Copy with elevated privileges questions](https://forum.ansible.com/t/copy-with-elevated-privileges-questions/4217)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 8\
**Last updated:** [March 7, 2024, 8:22am UTC](https://forum.ansible.com/t/copy-with-elevated-privileges-questions/4217 "2024-03-07T08:22:28Z")

</div>

Hello again! I would like to copy a file on a host local fs without having to worry which folder is used. i have a test file which i want to copy from tmp to root which doesnt function. I have read that the permission…

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

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