# Get Help

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

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

**Page:** 103

---

## [Build EE with ansible-builder on Mac ARM CPU](https://forum.ansible.com/t/build-ee-with-ansible-builder-on-mac-arm-cpu/1667)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 2:47am UTC](https://forum.ansible.com/t/build-ee-with-ansible-builder-on-mac-arm-cpu/1667 "2023-10-27T02:47:22Z")

</div>

AFAIK using Docker to build an image for AMD64 on ARM64-based hardware (such as Mac M1/2) requires setting a few different CLI options docker buildx build instead of docker build adding the switch --platform linux/amd6…

---

## [Parse the status code and update response](https://forum.ansible.com/t/parse-the-status-code-and-update-response/1979)

<div class="topic-metadata">

**Author:** [@Manjunath7](https://forum.ansible.com/u/Manjunath7)\
**Replies:** 4\
**Last updated:** [October 26, 2023, 7:54pm UTC](https://forum.ansible.com/t/parse-the-status-code-and-update-response/1979 "2023-10-26T19:54:07Z")

</div>

this is the code I created and the response we are getting is something like this --- - name: Get media\_server response hosts: localhost gather\_facts: no tasks: - name: Pushing the generated configuration file to M…

---

## [Unexpected failure during module execution during Windows build](https://forum.ansible.com/t/unexpected-failure-during-module-execution-during-windows-build/1947)

<div class="topic-metadata">

**Author:** [@72clg](https://forum.ansible.com/u/72clg)\
**Replies:** 4\
**Last updated:** [October 26, 2023, 7:05pm UTC](https://forum.ansible.com/t/unexpected-failure-during-module-execution-during-windows-build/1947 "2023-10-26T19:05:09Z")

</div>

I’m trying to build a Windows Server (2016, 2019 and 2022) using Packer and Ansible within AWS and reusing code where I can. As part of the AMI creation it builds the image and sysprep it all OK, but then it creates an …

---

## [Best way to publish a new module](https://forum.ansible.com/t/best-way-to-publish-a-new-module/1953)

<div class="topic-metadata">

**Author:** [@melauer](https://forum.ansible.com/u/melauer)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 3:19pm UTC](https://forum.ansible.com/t/best-way-to-publish-a-new-module/1953 "2023-10-26T15:19:52Z")

</div>

I recently put the code for an Ansible module which I developed on GitHub. It is called zypper\_lock and can be found at GitHub - melauer/zypper\_lock: Ansible modules for managing zypper locklists . This module is based o…

---

## [What is the purpose of the --branch on galaxy role import](https://forum.ansible.com/t/what-is-the-purpose-of-the-branch-on-galaxy-role-import/1974)

<div class="topic-metadata">

**Author:** [@L3D](https://forum.ansible.com/u/L3D)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 10:35am UTC](https://forum.ansible.com/t/what-is-the-purpose-of-the-branch-on-galaxy-role-import/1974 "2023-10-26T10:35:07Z")

</div>

Hello all, Now that showing the version on galaxy-ng is working again, I am a bit confused. Because my imported roles suddenly have the option “main” several times. This can be seen, for example, in the test role roles…

---

## [Properly generate random ports](https://forum.ansible.com/t/properly-generate-random-ports/1872)

<div class="topic-metadata">

**Author:** [@su8319](https://forum.ansible.com/u/su8319)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 9:56am UTC](https://forum.ansible.com/t/properly-generate-random-ports/1872 "2023-10-26T09:56:30Z")

</div>

Hello everyone :slight\_smile: I would like to implement a way to generate multiple random and unique ports that will be registered as facts, and then used in the next playbooks to setup some services. This is currently…

---

## [Urgent Ansible 2.13+ Support Needed](https://forum.ansible.com/t/urgent-ansible-2-13-support-needed/1957)

<div class="topic-metadata">

**Author:** [@Kaiehlig](https://forum.ansible.com/u/Kaiehlig)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 8:17am UTC](https://forum.ansible.com/t/urgent-ansible-2-13-support-needed/1957 "2023-10-26T08:17:26Z")

</div>

HELP WANTED Urgent Ansible 2.13+ Support Needed Dear Bubble, I urgently need your help with an issue I’m currently struggling with in Ansible: In version 2.11.3, I heavily relied on the functionality of Collections. …

---

## [Missing variable in installation process for own galaxy server](https://forum.ansible.com/t/missing-variable-in-installation-process-for-own-galaxy-server/1970)

<div class="topic-metadata">

**Author:** [@sundrys1](https://forum.ansible.com/u/sundrys1)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 8:17am UTC](https://forum.ansible.com/t/missing-variable-in-installation-process-for-own-galaxy-server/1970 "2023-10-26T08:17:12Z")

</div>

Hello all, Can you please help me. I tried install my own ansible galaxy server , Try to follow official way First guestion was which linux dist. I have to use ? I have use ubuntu 22 but I have problem with pytho…

---

## [AWX cli project modify - Bad Request](https://forum.ansible.com/t/awx-cli-project-modify-bad-request/1934)

<div class="topic-metadata">

**Author:** [@lbrigman124](https://forum.ansible.com/u/lbrigman124)\
**Replies:** 3\
**Last updated:** [October 25, 2023, 8:21pm UTC](https://forum.ansible.com/t/awx-cli-project-modify-bad-request/1934 "2023-10-25T20:21:14Z")

</div>

Using AWX 23.1.0 trying to configure awx with the awxkit of the same version. I try the following awx -f human -v project modify --organization=mdc --credential=mdc --scm\_type=git --scm\_url=http://git.gsm.svc.cluster.l…

---

## [Many tasks for a single loop?](https://forum.ansible.com/t/many-tasks-for-a-single-loop/1878)

<div class="topic-metadata">

**Author:** [@bern](https://forum.ansible.com/u/bern)\
**Replies:** 13\
**Last updated:** [October 25, 2023, 7:23pm UTC](https://forum.ansible.com/t/many-tasks-for-a-single-loop/1878 "2023-10-25T19:23:09Z")

</div>

I want to write a playbook which check if a file exist for all users including root and if this file exists make some changes to this file. I have a script getUsers.fact which will get all users with uid 1000 and above. …

---

## [Newbie question: how to organize Python files when developing module with some complex logic?](https://forum.ansible.com/t/newbie-question-how-to-organize-python-files-when-developing-module-with-some-complex-logic/1940)

<div class="topic-metadata">

**Author:** [@martin.huber](https://forum.ansible.com/u/martin.huber)\
**Replies:** 1\
**Last updated:** [October 25, 2023, 5:17pm UTC](https://forum.ansible.com/t/newbie-question-how-to-organize-python-files-when-developing-module-with-some-complex-logic/1940 "2023-10-25T17:17:29Z")

</div>

Hi, I am currently developing an Ansible role, that allows me to sync some configuration by the means of the REST API of a 3rd party product to configure this product. This involves some complex analysis and quite a co…

---

## [Need help on writing a task](https://forum.ansible.com/t/need-help-on-writing-a-task/1939)

<div class="topic-metadata">

**Author:** [@Manjunath7](https://forum.ansible.com/u/Manjunath7)\
**Replies:** 3\
**Last updated:** [October 25, 2023, 4:26pm UTC](https://forum.ansible.com/t/need-help-on-writing-a-task/1939 "2023-10-25T16:26:22Z")

</div>

name: Get media\_server response hosts: localhost gather\_facts: no tasks: name: Pushing the generated configuration file to Media Server (sfconnect) shell: “curl -X PUT -H ‘Username: AWSSUsername1’ -H ‘Password:…

---

## [Zuul cannot upload a collection release saying that it already exists but it doesn't](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898)

<div class="topic-metadata">

**Author:** [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Replies:** 4\
**Last updated:** [October 25, 2023, 9:08am UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898 "2023-10-25T09:08:15Z")

</div>

When I was trying to publish 5.0.1 of community.network, Zuul failed because Galaxy returns that release 5.0.1 already exists but it doesn’t. The collection page shows the latest release as 5.0.0. Before that attempt, …

---

## [Fails to upload a collection new version tarball with no permission but I'm a namespace owner](https://forum.ansible.com/t/fails-to-upload-a-collection-new-version-tarball-with-no-permission-but-im-a-namespace-owner/1899)

<div class="topic-metadata">

**Author:** [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Replies:** 1\
**Last updated:** [October 25, 2023, 8:25am UTC](https://forum.ansible.com/t/fails-to-upload-a-collection-new-version-tarball-with-no-permission-but-im-a-namespace-owner/1899 "2023-10-25T08:25:45Z")

</div>

I (logged in as Andersson007 and being an galaxy.collection\_namespace\_owner for the community namespace) tried to upload a community.network tarball and failed with “You do not have permission to perform this action” …

---

## [Deploy \*.war to wildfly with ansible](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348)

<div class="topic-metadata">

**Author:** [@jose\_manuel](https://forum.ansible.com/u/jose_manuel)\
**Replies:** 23\
**Last updated:** [October 25, 2023, 6:14am UTC](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348 "2023-10-25T06:14:35Z")

</div>

Hello everyone I have a gitlab repository and I copile with maven using jenkins, the war I want to deploy to wildfly using ansible, wildfly server is a docker container in other machine, gitlab and jenkins are in the s…

---

## [Is an AWXRestore with PVC only possible? (without the AWXBackup resource)](https://forum.ansible.com/t/is-an-awxrestore-with-pvc-only-possible-without-the-awxbackup-resource/1828)

<div class="topic-metadata">

**Author:** [@fuggla](https://forum.ansible.com/u/fuggla)\
**Replies:** 5\
**Last updated:** [October 25, 2023, 5:39am UTC](https://forum.ansible.com/t/is-an-awxrestore-with-pvc-only-possible-without-the-awxbackup-resource/1828 "2023-10-25T05:39:59Z")

</div>

Hi, We backup AWX using AWXBackup. This results in a PVC and an AWXBackup. All PVCs are backed up to another site. The AWXBackup resource is not, and will be lost if complete dataloss/disaster occurs. Can I run a AWXR…

---

## [Could not upload a new collection version to Ansible Galaxy](https://forum.ansible.com/t/could-not-upload-a-new-collection-version-to-ansible-galaxy/1816)

<div class="topic-metadata">

**Author:** [@Torie-Coding](https://forum.ansible.com/u/Torie-Coding)\
**Replies:** 11\
**Last updated:** [October 25, 2023, 3:22am UTC](https://forum.ansible.com/t/could-not-upload-a-new-collection-version-to-ansible-galaxy/1816 "2023-10-25T03:22:49Z")

</div>

Hey there, i have tried to upload a new version of my Ansible Collection but iam getting the following error message: Status: Failed Approval status: waiting for import to finish Version: 1.1.0 Error message: duplicat…

---

## [Improvements to new galaxy’s 404 error pages and redirects](https://forum.ansible.com/t/improvements-to-new-galaxy-s-404-error-pages-and-redirects/1888)

<div class="topic-metadata">

**Author:** [@stdevel](https://forum.ansible.com/u/stdevel)\
**Replies:** 7\
**Last updated:** [November 5, 2026, 4:13pm UTC](https://forum.ansible.com/t/improvements-to-new-galaxy-s-404-error-pages-and-redirects/1888 "2026-11-05T16:13:58Z")

</div>

Hello everybody, thanks for the efforts on the new Galaxy - but redirects from old URLs are suboptimal in my opinion. I have a lot of references in all my project documentations where I link to the appropriate content,…

---

## [AWX Skipping Scheduled Jobs](https://forum.ansible.com/t/awx-skipping-scheduled-jobs/1890)

<div class="topic-metadata">

**Author:** [@fhomess](https://forum.ansible.com/u/fhomess)\
**Replies:** 3\
**Last updated:** [October 24, 2023, 10:00pm UTC](https://forum.ansible.com/t/awx-skipping-scheduled-jobs/1890 "2023-10-24T22:00:22Z")

</div>

We’ve been running into a regular issue with our AWX environment where jobs get hung in a pending state. The fix has been to bounce the AKS pods, but so far we haven’t had luck getting to a root cause. In the meantime,…

---

## [Lineinfile: muti-line, idempotency, regexp](https://forum.ansible.com/t/lineinfile-muti-line-idempotency-regexp/1626)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 5\
**Last updated:** [October 24, 2023, 9:28pm UTC](https://forum.ansible.com/t/lineinfile-muti-line-idempotency-regexp/1626 "2023-10-24T21:28:32Z")

</div>

I am playing with lineinfile target file before 1 line 1 2 line 2 3 line 3 4 line 4 5 line 5 6 byebye My playboook --- - name: insert multi-line something hosts: "{{ targets | defa…

---

## [Updates Windows Winrm, search function but no updates are installed](https://forum.ansible.com/t/updates-windows-winrm-search-function-but-no-updates-are-installed/1624)

<div class="topic-metadata">

**Author:** [@felix1234](https://forum.ansible.com/u/felix1234)\
**Replies:** 1\
**Last updated:** [October 24, 2023, 9:24pm UTC](https://forum.ansible.com/t/updates-windows-winrm-search-function-but-no-updates-are-installed/1624 "2023-10-24T21:24:00Z")

</div>

Hello i want use ansibel for patch my windows server, but its not working. No Updates are installed and no logfile was created. I used different examples, same not function ansible-playbook -vvvv test.yaml -i /etc/ansib…

---

## [Avoid use of debug module](https://forum.ansible.com/t/avoid-use-of-debug-module/1920)

<div class="topic-metadata">

**Author:** [@Kevinwincott](https://forum.ansible.com/u/Kevinwincott)\
**Replies:** 4\
**Last updated:** [October 24, 2023, 9:14pm UTC](https://forum.ansible.com/t/avoid-use-of-debug-module/1920 "2023-10-24T21:14:18Z")

</div>

Is there a way to avoid the use of ansible.builtin.debug when requiring output to be displayed? An example would be: - name: print ssh key ansible.builtin.debug: msg: "{{ ssh\_key }}" As it stands th…

---

## [Python-interpreter failing](https://forum.ansible.com/t/python-interpreter-failing/1909)

<div class="topic-metadata">

**Author:** [@valkiriaaquatica](https://forum.ansible.com/u/valkiriaaquatica)\
**Replies:** 7\
**Last updated:** [October 24, 2023, 9:08pm UTC](https://forum.ansible.com/t/python-interpreter-failing/1909 "2023-10-24T21:08:01Z")

</div>

Hi, I am executing ansible against a red hat 6.1 machine which I have installed a parallel version of python3.8 which is in /usr/local/bin/python3.8. The problem comes when I try to run any role. or independet playboo…

---

## [Getting Started with Ansible - Resources](https://forum.ansible.com/t/getting-started-with-ansible-resources/1926)

<div class="topic-metadata">

**Author:** [@Leo](https://forum.ansible.com/u/Leo)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 7:30pm UTC](https://forum.ansible.com/t/getting-started-with-ansible-resources/1926 "2023-10-24T19:30:29Z")

</div>

This is a small list of resources to get started using Ansible. Below you will find some links to documentation, free interactive labs (web based) and YouTube media content. Getting Started with a user journey. The @D…

---

## [EC2 Dynamic Inventory For Keyed Group Help](https://forum.ansible.com/t/ec2-dynamic-inventory-for-keyed-group-help/1862)

<div class="topic-metadata">

**Author:** [@ku1918](https://forum.ansible.com/u/ku1918)\
**Replies:** 1\
**Last updated:** [October 24, 2023, 2:18pm UTC](https://forum.ansible.com/t/ec2-dynamic-inventory-for-keyed-group-help/1862 "2023-10-24T14:18:57Z")

</div>

Hi, I would to ask if anyone know how to escape colon? --- assume\_role\_arn: arn:aws:iam::xxx:role/role keyed\_groups: - key: tags.environment separator: "" - key: platform\_details separator: "" - key: stat…

---

## [Unable to copy IOS Image from ansbile to aruba Swtich](https://forum.ansible.com/t/unable-to-copy-ios-image-from-ansbile-to-aruba-swtich/1864)

<div class="topic-metadata">

**Author:** [@G24joshi](https://forum.ansible.com/u/G24joshi)\
**Replies:** 8\
**Last updated:** [October 24, 2023, 2:01pm UTC](https://forum.ansible.com/t/unable-to-copy-ios-image-from-ansbile-to-aruba-swtich/1864 "2023-10-24T14:01:42Z")

</div>

Hi, I am trying to copy an IOS Image from ansible server (my ansible Server is working as TFTP server) to aruba switch, but I am getting below Error. I am trying to achieve this using module “community.network.aruba\_com…

---

## [Microsoft.ad.computer - adding spn results in "New-ADComputer failed: The specified account already exists"](https://forum.ansible.com/t/microsoft-ad-computer-adding-spn-results-in-new-adcomputer-failed-the-specified-account-already-exists/1910)

<div class="topic-metadata">

**Author:** [@LDW](https://forum.ansible.com/u/LDW)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 11:56am UTC](https://forum.ansible.com/t/microsoft-ad-computer-adding-spn-results-in-new-adcomputer-failed-the-specified-account-already-exists/1910 "2023-10-24T11:56:16Z")

</div>

Hi! I’m using ansible core 2.14.2 on a RedHat 8 virtual machine. When I install a server with vRealize Automation, it will start a playbook that will do some basic stuff on the new vm like creating folders, adding the …

---

## [Missing feature to update roles from the UI](https://forum.ansible.com/t/missing-feature-to-update-roles-from-the-ui/1893)

<div class="topic-metadata">

**Author:** [@BrainStone](https://forum.ansible.com/u/BrainStone)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 2:07am UTC](https://forum.ansible.com/t/missing-feature-to-update-roles-from-the-ui/1893 "2023-10-24T02:07:47Z")

</div>

Ignoring the fact that currently you can’t even update stuff at all, I’m missing the feature to update roles via the UI. I am very much missing that feature.

---

## [New Galaxy - duplicated namespace?](https://forum.ansible.com/t/new-galaxy-duplicated-namespace/1591)

<div class="topic-metadata">

**Author:** [@arek](https://forum.ansible.com/u/arek)\
**Replies:** 1\
**Last updated:** [October 24, 2023, 1:59am UTC](https://forum.ansible.com/t/new-galaxy-duplicated-namespace/1591 "2023-10-24T01:59:49Z")

</div>

Hello, We have a couple of Ansible roles under GitHub organization Appsilon On older Galaxy we had namespace called appsilon, and it was possible to import roles with the following command: ansible-galaxy role import …

---

## [How to Import ansible role on galaxy.ansible.com](https://forum.ansible.com/t/how-to-import-ansible-role-on-galaxy-ansible-com/1248)

<div class="topic-metadata">

**Author:** [@L3D](https://forum.ansible.com/u/L3D)\
**Replies:** 17\
**Last updated:** [October 22, 2023, 8:35pm UTC](https://forum.ansible.com/t/how-to-import-ansible-role-on-galaxy-ansible-com/1248 "2023-10-22T20:35:47Z")

</div>

Hi everyone. Since ansible galaxy somehow morphed into galaxy-ng, I can’t figure out how to update my ansible content there or upload new roles. It feels like ansible roles are no longer wanted or supported. Most of th…

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

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