# Get Help

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

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

**Page:** 19

---

## [Manual SSH connection works, via Ansible fails (used to work)](https://forum.ansible.com/t/manual-ssh-connection-works-via-ansible-fails-used-to-work/44476)

<div class="topic-metadata">

**Author:** [@toasttheft](https://forum.ansible.com/u/toasttheft)\
**Replies:** 6\
**Last updated:** [September 18, 2025, 7:27am UTC](https://forum.ansible.com/t/manual-ssh-connection-works-via-ansible-fails-used-to-work/44476 "2025-09-18T07:27:49Z")

</div>

I’ve been using ansible to configure a catalyst 1000 switch for the last few months. Tday I’ve attempted to --check --diff the switch config, only for ansible to return an error about the kex algorithms. This was an issu…

---

## [Replacing a block with another block](https://forum.ansible.com/t/replacing-a-block-with-another-block/44500)

<div class="topic-metadata">

**Author:** [@aerochaz](https://forum.ansible.com/u/aerochaz)\
**Replies:** 2\
**Last updated:** [September 17, 2025, 2:25pm UTC](https://forum.ansible.com/t/replacing-a-block-with-another-block/44500 "2025-09-17T14:25:54Z")

</div>

I’m trying to add the following lines after redirectPort=“8443”: proxyName=“mywebsitename.com” proxyPort=“443” scheme=“https”\> However, there are multiple lines of redirectPort=“8443” in the document, so if I use the…

---

## [Recommended way to shrink a logical volume?](https://forum.ansible.com/t/recommended-way-to-shrink-a-logical-volume/44508)

<div class="topic-metadata">

**Author:** [@mrP](https://forum.ansible.com/u/mrP)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 1:44pm UTC](https://forum.ansible.com/t/recommended-way-to-shrink-a-logical-volume/44508 "2025-09-17T13:44:36Z")

</div>

I have an ext4 path that is mounted on a logical volume. How do I shrink this without damaging the ext4 filesystem? I’m using community.general.lvol and noticed it has parameters shrink, resizefs and force. Can I just cr…

---

## [Ansible-galaxy command missing](https://forum.ansible.com/t/ansible-galaxy-command-missing/44507)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 2\
**Last updated:** [September 17, 2025, 11:01am UTC](https://forum.ansible.com/t/ansible-galaxy-command-missing/44507 "2025-09-17T11:01:10Z")

</div>

Hi! I have the following packages installed with pip in a python 3.13 pyenv: (py313) \[anslisa@kuberadm ~\]$ pip3 freeze | grep ansible ansible==12.0.0 ansible-compat==25.8.1 ansible-core==2.19.2 ansible-inventory==0.6.4 …

---

## [TFS PAT is not working in AWX project sync](https://forum.ansible.com/t/tfs-pat-is-not-working-in-awx-project-sync/44504)

<div class="topic-metadata">

**Author:** [@pdin](https://forum.ansible.com/u/pdin)\
**Replies:** 0\
**Last updated:** [September 16, 2025, 7:08pm UTC](https://forum.ansible.com/t/tfs-pat-is-not-working-in-awx-project-sync/44504 "2025-09-16T19:08:01Z")

</div>

I am running AWX-EE 24.6.1 in Kubernetes and setting up with a PAT for the TFS repo. The Project Sync always fails with authentication error. If I run the same command in the CLI of the container and it fails too. Then…

---

## [Error During building the Execution Environment for the AWX](https://forum.ansible.com/t/error-during-building-the-execution-environment-for-the-awx/44492)

<div class="topic-metadata">

**Author:** [@Suhas\_Chandrashekar](https://forum.ansible.com/u/Suhas_Chandrashekar)\
**Replies:** 6\
**Last updated:** [September 16, 2025, 5:22pm UTC](https://forum.ansible.com/t/error-during-building-the-execution-environment-for-the-awx/44492 "2025-09-16T17:22:50Z")

</div>

\*\*Error During building the Execution Environment for the AWX Below are my code: execution-environment.yml version: 3 images: base\_image: name: quay.io/ansible/ansible-runner:stable-2.12-latest dependencies: …

---

## [How a custom list can be created a using templates with ansible 12?](https://forum.ansible.com/t/how-a-custom-list-can-be-created-a-using-templates-with-ansible-12/44497)

<div class="topic-metadata">

**Author:** [@Roberto\_Majadas](https://forum.ansible.com/u/Roberto_Majadas)\
**Replies:** 3\
**Last updated:** [September 16, 2025, 4:11pm UTC](https://forum.ansible.com/t/how-a-custom-list-can-be-created-a-using-templates-with-ansible-12/44497 "2025-09-16T16:11:07Z")

</div>

In my playbooks I sometimes render a list of dicts in order to be used in a variable or in a loop. Something like this: - name: Configure repository's git\_config git\_config: name: "{{ item.config\_name }}" val…

---

## [Anybody got win\_package to install something from a network share?](https://forum.ansible.com/t/anybody-got-win-package-to-install-something-from-a-network-share/44493)

<div class="topic-metadata">

**Author:** [@ghowell64](https://forum.ansible.com/u/ghowell64)\
**Replies:** 4\
**Last updated:** [September 16, 2025, 3:01pm UTC](https://forum.ansible.com/t/anybody-got-win-package-to-install-something-from-a-network-share/44493 "2025-09-16T15:01:57Z")

</div>

I’m attempting to use win\_package to install some software on windows managed hosts and I can’t get it to work if I specify the .exe from a network share. My ansible version is 2.18.9. The documentation is confusing be…

---

## [API Call output via Ansible URI Module Not running on browser in normal mode but works in incognito.](https://forum.ansible.com/t/api-call-output-via-ansible-uri-module-not-running-on-browser-in-normal-mode-but-works-in-incognito/44496)

<div class="topic-metadata">

**Author:** [@sdawra](https://forum.ansible.com/u/sdawra)\
**Replies:** 0\
**Last updated:** [September 16, 2025, 10:36am UTC](https://forum.ansible.com/t/api-call-output-via-ansible-uri-module-not-running-on-browser-in-normal-mode-but-works-in-incognito/44496 "2025-09-16T10:36:22Z")

</div>

\- name: Wait for capture task to complete uri: method: GET url: "{{ selected\_map.target\_country\_url }}/{{ selected\_map.onecloud\_agent\_token }}/task/{{ oc\_macaddress }}" return\_content: y…

---

## [PyMutex error in lxc module when using lxc\_container (Debian Trixie)](https://forum.ansible.com/t/pymutex-error-in-lxc-module-when-using-lxc-container-debian-trixie/44304)

<div class="topic-metadata">

**Author:** [@scherer](https://forum.ansible.com/u/scherer)\
**Replies:** 1\
**Last updated:** [September 15, 2025, 5:08pm UTC](https://forum.ansible.com/t/pymutex-error-in-lxc-module-when-using-lxc-container-debian-trixie/44304 "2025-09-15T17:08:31Z")

</div>

Issue When I execute and Ansible lxc\_container task, I get no error in Ansible but the tasks fails on the remote end with “Fatal Python error: PyMutex\_Unlock: unlocking mutex that is not locked“ Pre-requisites: I’ve …

---

## [AWX taking ~\>15 mins to reconnect after DB failover (multi-region PG cluster with pgpool)](https://forum.ansible.com/t/awx-taking-15-mins-to-reconnect-after-db-failover-multi-region-pg-cluster-with-pgpool/44490)

<div class="topic-metadata">

**Author:** [@fareedsk330](https://forum.ansible.com/u/fareedsk330)\
**Replies:** 0\
**Last updated:** [September 15, 2025, 4:04pm UTC](https://forum.ansible.com/t/awx-taking-15-mins-to-reconnect-after-db-failover-multi-region-pg-cluster-with-pgpool/44490 "2025-09-15T16:04:03Z")

</div>

Setup: AWX deployed in Kubernetes using awx-operator (in Region1 and Region2). Both AWX deployments use a shared PostgreSQL cluster deployed across both regions. Database cluster details: DB1 (Region1) DB2 (Region1) D…

---

## [AWX - AWS SSM Connectivity to Windows Servers](https://forum.ansible.com/t/awx-aws-ssm-connectivity-to-windows-servers/44489)

<div class="topic-metadata">

**Author:** [@prateektl](https://forum.ansible.com/u/prateektl)\
**Replies:** 0\
**Last updated:** [September 15, 2025, 3:07pm UTC](https://forum.ansible.com/t/awx-aws-ssm-connectivity-to-windows-servers/44489 "2025-09-15T15:07:01Z")

</div>

Overview of the issue: In AWX, i have a job template and inventory(windows hosts) when executed we observer an intermittent issue with the task response from the server. Explanation: we have created a custom container…

---

## [How to install Ansible GalaxyNG in docker](https://forum.ansible.com/t/how-to-install-ansible-galaxyng-in-docker/44484)

<div class="topic-metadata">

**Author:** [@AndrewDi](https://forum.ansible.com/u/AndrewDi)\
**Replies:** 0\
**Last updated:** [September 14, 2025, 2:59pm UTC](https://forum.ansible.com/t/how-to-install-ansible-galaxyng-in-docker/44484 "2025-09-14T14:59:49Z")

</div>

I found galaxy-ui:latest and galaxy-ng:latest image build on query.io, Is there are any readme document to explain how to it locally in single docker?

---

## [AWX 23.8.1 : getting error "Invalid linkname for tarfile member"](https://forum.ansible.com/t/awx-23-8-1-getting-error-invalid-linkname-for-tarfile-member/6242)

<div class="topic-metadata">

**Author:** [@SaravanaSelvaraj](https://forum.ansible.com/u/SaravanaSelvaraj)\
**Replies:** 1\
**Last updated:** [September 12, 2025, 10:00pm UTC](https://forum.ansible.com/t/awx-23-8-1-getting-error-invalid-linkname-for-tarfile-member/6242 "2025-09-12T22:00:25Z")

</div>

Getting Invalid linkname for tarfile member while running a shared role job. Hello Community, We are using shared role concept to run the jobs in AWX and we are getting a below error while synching the project. The pro…

---

## [AWX extra\_var for datetimes exhibiting different behavior between Ansible 2.18 and 2.19](https://forum.ansible.com/t/awx-extra-var-for-datetimes-exhibiting-different-behavior-between-ansible-2-18-and-2-19/44466)

<div class="topic-metadata">

**Author:** [@anon81884396](https://forum.ansible.com/u/anon81884396)\
**Replies:** 3\
**Last updated:** [September 11, 2025, 3:31pm UTC](https://forum.ansible.com/t/awx-extra-var-for-datetimes-exhibiting-different-behavior-between-ansible-2-18-and-2-19/44466 "2025-09-11T15:31:03Z")

</div>

I’ve been making my way through converting my playbooks from 2.18 to 2.19 and I’ve noticed odd (to me) behavior when supplying extra\_vars via a job template in AWX between the two. Here’s the playbook: --- - name: Show…

---

## [How to bulk add hosts in Ansible AWX using API?](https://forum.ansible.com/t/how-to-bulk-add-hosts-in-ansible-awx-using-api/4481)

<div class="topic-metadata">

**Author:** [@zgong](https://forum.ansible.com/u/zgong)\
**Replies:** 19\
**Last updated:** [September 11, 2025, 1:59pm UTC](https://forum.ansible.com/t/how-to-bulk-add-hosts-in-ansible-awx-using-api/4481 "2025-09-11T13:59:35Z")

</div>

Hi, I have installed the latest Ansible AWX in K3s, following GitHub - kurokobo/awx-on-k3s: An example implementation of AWX on single node K3s using AWX Operator, with easy-to-use simplified configuration with ownershi…

---

## [Get awx operator to run on OpenShift](https://forum.ansible.com/t/get-awx-operator-to-run-on-openshift/44465)

<div class="topic-metadata">

**Author:** [@jeremytourville](https://forum.ansible.com/u/jeremytourville)\
**Replies:** 0\
**Last updated:** [September 11, 2025, 1:38pm UTC](https://forum.ansible.com/t/get-awx-operator-to-run-on-openshift/44465 "2025-09-11T13:38:44Z")

</div>

I am troubleshooting awx-operator deployment using helm on OpenShift 4.18 I almost have everything working but have one image that is giving me problems. Can anyone suggest solutions to getting awx-web to run ? All of…

---

## [Use pixi (in-repo conda envs) as a light execution environment](https://forum.ansible.com/t/use-pixi-in-repo-conda-envs-as-a-light-execution-environment/44463)

<div class="topic-metadata">

**Author:** [@gzm55](https://forum.ansible.com/u/gzm55)\
**Replies:** 0\
**Last updated:** [September 11, 2025, 11:00am UTC](https://forum.ansible.com/t/use-pixi-in-repo-conda-envs-as-a-light-execution-environment/44463 "2025-09-11T11:00:21Z")

</div>

Recently, i found the pixi tool, which is a in-repo conda environments management tool. The pixi.toml work like a light dockerfile with all the controller dependencies pinned in the pixi.lock file. The tool can install…

---

## [Best practices for using Ansible Vault: SSH keys and pushing Vault to Git?](https://forum.ansible.com/t/best-practices-for-using-ansible-vault-ssh-keys-and-pushing-vault-to-git/44445)

<div class="topic-metadata">

**Author:** [@Narfyx](https://forum.ansible.com/u/Narfyx)\
**Replies:** 2\
**Last updated:** [September 10, 2025, 5:57pm UTC](https://forum.ansible.com/t/best-practices-for-using-ansible-vault-ssh-keys-and-pushing-vault-to-git/44445 "2025-09-10T17:57:41Z")

</div>

Hello everyone :slightly\_smiling\_face: I’m a French student working on a school project where we migrate an on-premises application to AWS using Ansible. The infrastructure is deployed on AWS (EC2, RDS, etc.) and Ansib…

---

## [Ansible log user & group ownership](https://forum.ansible.com/t/ansible-log-user-group-ownership/44456)

<div class="topic-metadata">

**Author:** [@mtwest](https://forum.ansible.com/u/mtwest)\
**Replies:** 3\
**Last updated:** [September 10, 2025, 5:39pm UTC](https://forum.ansible.com/t/ansible-log-user-group-ownership/44456 "2025-09-10T17:39:42Z")

</div>

I am trying to make the Ansible logs writable by more than one unix user, as we have multiple users who are running playbooks against our machines. log\_path=/var/log/ansible/ is set in the ansible.cfg With chmod and ch…

---

## [How to retrieve fact with a dynamic fact name?](https://forum.ansible.com/t/how-to-retrieve-fact-with-a-dynamic-fact-name/44431)

<div class="topic-metadata">

**Author:** [@matthew\_exon](https://forum.ansible.com/u/matthew_exon)\
**Replies:** 10\
**Last updated:** [September 10, 2025, 2:29pm UTC](https://forum.ansible.com/t/how-to-retrieve-fact-with-a-dynamic-fact-name/44431 "2025-09-10T14:29:53Z")

</div>

I’m trying to call out to a task list with include\_tasks where I want the task list to set a particular named fact, passed as a variable to the task list. I can set the fact, but it’s not appearing in ansible\_facts as I…

---

## [Troubleshooting Dynamic Inventory in vmware.vmware.vms](https://forum.ansible.com/t/troubleshooting-dynamic-inventory-in-vmware-vmware-vms/44453)

<div class="topic-metadata">

**Author:** [@bzaks1424](https://forum.ansible.com/u/bzaks1424)\
**Replies:** 4\
**Last updated:** [September 10, 2025, 2:01pm UTC](https://forum.ansible.com/t/troubleshooting-dynamic-inventory-in-vmware-vmware-vms/44453 "2025-09-10T14:01:41Z")

</div>

Troubleshooting Dynamic Inventory in vmware.vmware.vms. My goal is simply to configure ansible against my vcenter for dynamic inventory to start. When I run the script - even with a bad vcenter hostname - it runs instan…

---

## [Task/playbook overwriting of vars](https://forum.ansible.com/t/task-playbook-overwriting-of-vars/44454)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 1\
**Last updated:** [September 10, 2025, 9:22am UTC](https://forum.ansible.com/t/task-playbook-overwriting-of-vars/44454 "2025-09-10T09:22:24Z")

</div>

Hi! I have a situation that requires to have some default vars defined in the actual task definition. Can i count of these to be overwritten if in the playbook (that includes the said task) i define some other values fo…

---

## [Segmentation Fault Python 3.13 venv](https://forum.ansible.com/t/segmentation-fault-python-3-13-venv/44436)

<div class="topic-metadata">

**Author:** [@LeamHall](https://forum.ansible.com/u/LeamHall)\
**Replies:** 6\
**Last updated:** [September 9, 2025, 12:40am UTC](https://forum.ansible.com/t/segmentation-fault-python-3-13-venv/44436 "2025-09-09T00:40:34Z")

</div>

Created a fresh Python 3.13 (3.13.0a2) venv, used pip to install ansible, and then tried to use ansible-galaxy: (venv\_313) \[me@here tmp\]$ ansible-galaxy collection list Segmentation fault (core dumped) Tried the same w…

---

## [boto3/botocore errors with aws\_ec2 plugin](https://forum.ansible.com/t/boto3-botocore-errors-with-aws-ec2-plugin/44427)

<div class="topic-metadata">

**Author:** [@jasmartin](https://forum.ansible.com/u/jasmartin)\
**Replies:** 10\
**Last updated:** [September 8, 2025, 1:39pm UTC](https://forum.ansible.com/t/boto3-botocore-errors-with-aws-ec2-plugin/44427 "2025-09-08T13:39:14Z")

</div>

Hello, I’m pretty new to ansible. Our group has been using 2.10.17 which has been running fine. I was looking to get the latest version working, but I keep running into an issue with the aws\_ec2 plugin. When I check a pl…

---

## [If Statement 1 Or Statement 2 In Jinja2 Template](https://forum.ansible.com/t/if-statement-1-or-statement-2-in-jinja2-template/44395)

<div class="topic-metadata">

**Author:** [@Dulux-Oz](https://forum.ansible.com/u/Dulux-Oz)\
**Replies:** 12\
**Last updated:** [September 5, 2025, 8:41pm UTC](https://forum.ansible.com/t/if-statement-1-or-statement-2-in-jinja2-template/44395 "2025-09-05T20:41:57Z")

</div>

Hi All, (I hope this is the correct place to post this.) I’ve got the following statements in a Template (.j2) file, but it is obviously wrong. Could someone please point out where I am wrong and what the correct synta…

---

## [Dynamic Inventory with ansible-vault in AWX](https://forum.ansible.com/t/dynamic-inventory-with-ansible-vault-in-awx/44428)

<div class="topic-metadata">

**Author:** [@aurora\_rivera](https://forum.ansible.com/u/aurora_rivera)\
**Replies:** 0\
**Last updated:** [September 5, 2025, 4:11pm UTC](https://forum.ansible.com/t/dynamic-inventory-with-ansible-vault-in-awx/44428 "2025-09-05T16:11:52Z")

</div>

Hi, I have a dynamic inventory in my Ansible project, and some of the files it uses are encrypted with Ansible Vault. I want to use this inventory in AWX. The issue is not in the playbooks, but in the inventory itself — …

---

## [awx container group , jobs are in pending state](https://forum.ansible.com/t/awx-container-group-jobs-are-in-pending-state/44424)

<div class="topic-metadata">

**Author:** [@nchawla](https://forum.ansible.com/u/nchawla)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 10:23pm UTC](https://forum.ansible.com/t/awx-container-group-jobs-are-in-pending-state/44424 "2025-09-04T22:23:05Z")

</div>

HI, I have default container group. when ever job starts on awx, it created new pod and job run. When multiple jobs started at the same time. only one execute and other remain in pending state until the previous complet…

---

## [TSS Lookup and AWX](https://forum.ansible.com/t/tss-lookup-and-awx/44416)

<div class="topic-metadata">

**Author:** [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Replies:** 5\
**Last updated:** [September 4, 2025, 6:15pm UTC](https://forum.ansible.com/t/tss-lookup-and-awx/44416 "2025-09-04T18:15:38Z")

</div>

I’m following the docs: community.general.tss lookup – Get secrets from Thycotic Secret Server — Ansible Community Documentation and my code is: --- # tasks file for tw.tss - hosts: localhost connection: local gat…

---

## [Question about YML inventory structure](https://forum.ansible.com/t/question-about-yml-inventory-structure/44418)

<div class="topic-metadata">

**Author:** [@Lyle\_McKarns](https://forum.ansible.com/u/Lyle_McKarns)\
**Replies:** 14\
**Last updated:** [September 4, 2025, 3:55pm UTC](https://forum.ansible.com/t/question-about-yml-inventory-structure/44418 "2025-09-04T15:55:08Z")

</div>

I’m having trouble wrapping my head around how to accomplish something with an inventory. I have multiple datacetners that internally have similar structures that I want to represent. What I’d like to be able to do is b…

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

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