# Get Help

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

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

**Page:** 87

---

## [How to create a new role on Ansible Galaxy?](https://forum.ansible.com/t/how-to-create-a-new-role-on-ansible-galaxy/3478)

<div class="topic-metadata">

**Author:** [@caboteria](https://forum.ansible.com/u/caboteria)\
**Replies:** 7\
**Last updated:** [March 1, 2024, 12:25am UTC](https://forum.ansible.com/t/how-to-create-a-new-role-on-ansible-galaxy/3478 "2024-03-01T00:25:28Z")

</div>

Hi! I’d like to publish a role on ansible galaxy. I made an account and a “caboteria” namespace (I had a link but I’m a new user so that caused my post to be rejected) The namespace says that roles will appear when I im…

---

## [Advise on how to get documentation PR merged](https://forum.ansible.com/t/advise-on-how-to-get-documentation-pr-merged/4141)

<div class="topic-metadata">

**Author:** [@sschmittsva](https://forum.ansible.com/u/sschmittsva)\
**Replies:** 1\
**Last updated:** [February 29, 2024, 8:04pm UTC](https://forum.ansible.com/t/advise-on-how-to-get-documentation-pr-merged/4141 "2024-02-29T20:04:45Z")

</div>

Hi! I while ago I’ve added some lines to the documentation of the combine filter: Update documentation of the combine filter by sschmittsva · Pull Request #82329 · ansible/ansible · GitHub. There are no open points as f…

---

## [Delete a file, create a backup and mark the task as changed when it is](https://forum.ansible.com/t/delete-a-file-create-a-backup-and-mark-the-task-as-changed-when-it-is/4146)

<div class="topic-metadata">

**Author:** [@chris](https://forum.ansible.com/u/chris)\
**Replies:** 4\
**Last updated:** [February 29, 2024, 7:25pm UTC](https://forum.ansible.com/t/delete-a-file-create-a-backup-and-mark-the-task-as-changed-when-it-is/4146 "2024-02-29T19:25:35Z")

</div>

The ansible.builtin.file module doesn’t have a backup option for when files are set to be of state: absent and the isn’t a move module and I would like a backup to be created when deleting files in a loop, I have the fil…

---

## [Find and replace values in dict](https://forum.ansible.com/t/find-and-replace-values-in-dict/4047)

<div class="topic-metadata">

**Author:** [@brainmue](https://forum.ansible.com/u/brainmue)\
**Replies:** 7\
**Last updated:** [February 29, 2024, 4:48pm UTC](https://forum.ansible.com/t/find-and-replace-values-in-dict/4047 "2024-02-29T16:48:23Z")

</div>

Hello everyone, I have a problem that I just can’t solve. I want to find and replace a value in a dict. I need a task that searches for the elements under Part1 in the dict Starting\_situation and replaces them with th…

---

## [SSH Known Hosts not working with ansible.posix.synchronize?](https://forum.ansible.com/t/ssh-known-hosts-not-working-with-ansible-posix-synchronize/4097)

<div class="topic-metadata">

**Author:** [@kevin\_codey](https://forum.ansible.com/u/kevin_codey)\
**Replies:** 22\
**Last updated:** [February 29, 2024, 3:46pm UTC](https://forum.ansible.com/t/ssh-known-hosts-not-working-with-ansible-posix-synchronize/4097 "2024-02-29T15:46:33Z")

</div>

I need to sync files from a remote source to a remote destination server. I’ve chosen synchronize, but it is not happy, even though passwordless rsync is working correctly for this user. Should I be going a different dir…

---

## [Best practice for managing a large configuration file in a role](https://forum.ansible.com/t/best-practice-for-managing-a-large-configuration-file-in-a-role/4132)

<div class="topic-metadata">

**Author:** [@wzzrd](https://forum.ansible.com/u/wzzrd)\
**Replies:** 1\
**Last updated:** [February 29, 2024, 12:52pm UTC](https://forum.ansible.com/t/best-practice-for-managing-a-large-configuration-file-in-a-role/4132 "2024-02-29T12:52:10Z")

</div>

I’m a bit of a hobbyist, working on a collection to deploy Gitea and related tools. One thing I struggle with, is the astoundingly large set of configuration options for Gitea. It’s 600+ options long in a 2500+ line con…

---

## [Large netbox dynamic inventory ouput doesn't allow sync hosts](https://forum.ansible.com/t/large-netbox-dynamic-inventory-ouput-doesnt-allow-sync-hosts/4137)

<div class="topic-metadata">

**Author:** [@proletariandrift](https://forum.ansible.com/u/proletariandrift)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 12:28pm UTC](https://forum.ansible.com/t/large-netbox-dynamic-inventory-ouput-doesnt-allow-sync-hosts/4137 "2024-02-29T12:28:56Z")

</div>

Bug Summary While using Netbox dynamic inventory script, which outputs inventory just for 1 host, it works fine. But if using more then 1 host awx-dispatcher gets an error: awx-dispatcher stderr | 2024-02-26 14:52:49,5…

---

## [AWX install gets stucked in Redis saving and UI access fails](https://forum.ansible.com/t/awx-install-gets-stucked-in-redis-saving-and-ui-access-fails/4095)

<div class="topic-metadata">

**Author:** [@aj-kyriba](https://forum.ansible.com/u/aj-kyriba)\
**Replies:** 4\
**Last updated:** [February 29, 2024, 10:05am UTC](https://forum.ansible.com/t/awx-install-gets-stucked-in-redis-saving-and-ui-access-fails/4095 "2024-02-29T10:05:32Z")

</div>

SUMMARY While executing “make docker-compose”, the process reports a loop in redis task trying to save changes. ENVIRONMENT AWX version: 23.8.0 /23.8.1 AWX install method: docker AWX deployment target: docker Operatin…

---

## [Semaphore fails ansible-playbook succeeds](https://forum.ansible.com/t/semaphore-fails-ansible-playbook-succeeds/4089)

<div class="topic-metadata">

**Author:** [@tubbs](https://forum.ansible.com/u/tubbs)\
**Replies:** 6\
**Last updated:** [February 29, 2024, 8:55am UTC](https://forum.ansible.com/t/semaphore-fails-ansible-playbook-succeeds/4089 "2024-02-29T08:55:09Z")

</div>

When I run my playbook ansible connects properly to the remote machine and executes all commands just fine. When I run the same playbook from the semaphore UI I get → ssh connection error. It’s obviously an ssh error…

---

## [How to track deployment history of specific playbook](https://forum.ansible.com/t/how-to-track-deployment-history-of-specific-playbook/4127)

<div class="topic-metadata">

**Author:** [@kalaiventhan](https://forum.ansible.com/u/kalaiventhan)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 5:30am UTC](https://forum.ansible.com/t/how-to-track-deployment-history-of-specific-playbook/4127 "2024-02-29T05:30:20Z")

</div>

Is there a way to track the deployment history of specific playbook and get report using ansible command? use case: To get report like, how many servers deployed so far, how many pending on PROD environment? deployment…

---

## [SSH Host disconnects during hostname module](https://forum.ansible.com/t/ssh-host-disconnects-during-hostname-module/4117)

<div class="topic-metadata">

**Author:** [@nbodewitz](https://forum.ansible.com/u/nbodewitz)\
**Replies:** 1\
**Last updated:** [February 28, 2024, 11:32pm UTC](https://forum.ansible.com/t/ssh-host-disconnects-during-hostname-module/4117 "2024-02-28T23:32:57Z")

</div>

I am trying to do simple host renames against Ubuntu 20.04 endpoints and always get ssh disconnect whenever trying to run the module. Connecting with sshagent loaded key. Below is the basic playbook --- - hosts: azag…

---

## [Writing ansible playbooks with vim (and some plugins)](https://forum.ansible.com/t/writing-ansible-playbooks-with-vim-and-some-plugins/4083)

<div class="topic-metadata">

**Author:** [@TheRojam](https://forum.ansible.com/u/TheRojam)\
**Replies:** 3\
**Last updated:** [February 28, 2024, 1:53pm UTC](https://forum.ansible.com/t/writing-ansible-playbooks-with-vim-and-some-plugins/4083 "2024-02-28T13:53:17Z")

</div>

Does anyone use vim to write ansible playbooks/roles or so? What Plugins do you use? Do you have autocompletion or an sidebar with documentation?

---

## [How to get ansible inventory file when tasks are run on localhost](https://forum.ansible.com/t/how-to-get-ansible-inventory-file-when-tasks-are-run-on-localhost/4082)

<div class="topic-metadata">

**Author:** [@JoJo](https://forum.ansible.com/u/JoJo)\
**Replies:** 5\
**Last updated:** [February 28, 2024, 10:11am UTC](https://forum.ansible.com/t/how-to-get-ansible-inventory-file-when-tasks-are-run-on-localhost/4082 "2024-02-28T10:11:05Z")

</div>

Hi, I have a python script, that parses host file given on command line like this: ansible-playbook -i hosts main.yml and in python script I used from ansible.inventory.manager import InventoryManager from ansible.pa…

---

## [Playbook collection](https://forum.ansible.com/t/playbook-collection/3958)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 4\
**Last updated:** [February 28, 2024, 8:48am UTC](https://forum.ansible.com/t/playbook-collection/3958 "2024-02-28T08:48:23Z")

</div>

Hello! I just wanted to know if there is a collection/Git of example playbooks? Thank you!

---

## [Ansible runner 3 build issues (pip config file , permissions of user 1000 in /runner path)](https://forum.ansible.com/t/ansible-runner-3-build-issues-pip-config-file-permissions-of-user-1000-in-runner-path/4091)

<div class="topic-metadata">

**Author:** [@luckyzor](https://forum.ansible.com/u/luckyzor)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 4:03pm UTC](https://forum.ansible.com/t/ansible-runner-3-build-issues-pip-config-file-permissions-of-user-1000-in-runner-path/4091 "2024-02-27T16:03:55Z")

</div>

Hello all, I want to build my custom EE and I’m having issues with ansible-builder 3. First issue: What I need: add custom pip.conf so pip will work with a proxy What I have done: prepend\_builder: | COPY \_bu…

---

## [Seeking Guidance for Offline AWX Installation and Execution Environment Setup](https://forum.ansible.com/t/seeking-guidance-for-offline-awx-installation-and-execution-environment-setup/3995)

<div class="topic-metadata">

**Author:** [@DaneialSingh](https://forum.ansible.com/u/DaneialSingh)\
**Replies:** 16\
**Last updated:** [February 27, 2024, 1:39pm UTC](https://forum.ansible.com/t/seeking-guidance-for-offline-awx-installation-and-execution-environment-setup/3995 "2024-02-27T13:39:01Z")

</div>

Dear Ansible Community, I hope this message finds you well. I am reaching out to request assistance or guidance on setting up the AWX application and its dependencies in an environment without internet access. My goal i…

---

## [How to use docker\_purge with several labels in filter?](https://forum.ansible.com/t/how-to-use-docker-purge-with-several-labels-in-filter/4079)

<div class="topic-metadata">

**Author:** [@bigfootspi](https://forum.ansible.com/u/bigfootspi)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 9:11am UTC](https://forum.ansible.com/t/how-to-use-docker-purge-with-several-labels-in-filter/4079 "2024-02-27T09:11:25Z")

</div>

Hello everybody. I am trying to launch a container purge command by filtering on several labels in my container. my command does not work. filters seem poorly formatted have you an idea ? docker\_prune: contain…

---

## [Install AWX on k8s cluster](https://forum.ansible.com/t/install-awx-on-k8s-cluster/3351)

<div class="topic-metadata">

**Author:** [@dinesh6478](https://forum.ansible.com/u/dinesh6478)\
**Replies:** 11\
**Last updated:** [February 27, 2024, 3:30am UTC](https://forum.ansible.com/t/install-awx-on-k8s-cluster/3351 "2024-02-27T03:30:20Z")

</div>

I am facing the issue to install awx 23.0.0 with operator 2.10. I am getting below error in init-projects container of AWX. however awx-operator pod is running fine. error: chmod: changing permissions of ‘/var/lib/awx/…

---

## [Sudo: /etc/sudo.conf is owned by uid 65534, should be 0\\nsudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set](https://forum.ansible.com/t/sudo-etc-sudo-conf-is-owned-by-uid-65534-should-be-0-nsudo-usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set/4035)

<div class="topic-metadata">

**Author:** [@budiantoip](https://forum.ansible.com/u/budiantoip)\
**Replies:** 11\
**Last updated:** [February 27, 2024, 12:32am UTC](https://forum.ansible.com/t/sudo-etc-sudo-conf-is-owned-by-uid-65534-should-be-0-nsudo-usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set/4035 "2024-02-27T00:32:56Z")

</div>

Hi everyone, I have the latest Ansible Tower installed on a RHEL 8.9 When I run specific ansible tasks, I always get this error message: { "module\_stdout": "", "module\_stderr": "sudo: /etc/sudo.conf is owned b…

---

## [Cannot access AWX API using OAuth 2 token](https://forum.ansible.com/t/cannot-access-awx-api-using-oauth-2-token/3708)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 3\
**Last updated:** [February 26, 2024, 5:34pm UTC](https://forum.ansible.com/t/cannot-access-awx-api-using-oauth-2-token/3708 "2024-02-26T17:34:05Z")

</div>

With AWX 23.5.2, I can authenticate and access the API using a browser without any issue. However, trying to automate it with the CLI in a different matter… Getting an OAuth 2 token: curl -u awx\_user:password -k -X PO…

---

## [Service\_facts doesn't gather facts on systemd timers](https://forum.ansible.com/t/service-facts-doesnt-gather-facts-on-systemd-timers/4052)

<div class="topic-metadata">

**Author:** [@dstubq](https://forum.ansible.com/u/dstubq)\
**Replies:** 3\
**Last updated:** [February 26, 2024, 5:27pm UTC](https://forum.ansible.com/t/service-facts-doesnt-gather-facts-on-systemd-timers/4052 "2024-02-26T17:27:30Z")

</div>

I want to disable a systemd timer So i see there is an example on enabling a timer: - name: enable a timer for dnf-automatic systemd: name: dnf-automatic.timer state: started enabled: yes But i would lik…

---

## [The community.windows.win\_iis\_webapplication module shows as changed every time](https://forum.ansible.com/t/the-community-windows-win-iis-webapplication-module-shows-as-changed-every-time/4008)

<div class="topic-metadata">

**Author:** [@tompurl](https://forum.ansible.com/u/tompurl)\
**Replies:** 5\
**Last updated:** [February 26, 2024, 5:08pm UTC](https://forum.ansible.com/t/the-community-windows-win-iis-webapplication-module-shows-as-changed-every-time/4008 "2024-02-26T17:08:09Z")

</div>

Hello! I am creating a bunch of IIS web sites under a web application and for some reason the community.windows.win\_iis\_webapplication module shows that it changes the web apps every time it is executed. Here is my play…

---

## [AWX 23.6 install fails when using docker-compose](https://forum.ansible.com/t/awx-23-6-install-fails-when-using-docker-compose/4063)

<div class="topic-metadata">

**Author:** [@aj-kyriba](https://forum.ansible.com/u/aj-kyriba)\
**Replies:** 0\
**Last updated:** [February 26, 2024, 2:49pm UTC](https://forum.ansible.com/t/awx-23-6-install-fails-when-using-docker-compose/4063 "2024-02-26T14:49:33Z")

</div>

\*\*AWX 23.6 install fails when using docker-compose \*\*. Hello Team I am trying to install AWX 23.6, 22.0 and few other using docker-compose tools My Env Docker version 20.10.25 docker-compose version 1.29.2 ansible \[…

---

## [Does Ansible Runner allow user-friendly \`job\_events\` JSON file Names?](https://forum.ansible.com/t/does-ansible-runner-allow-user-friendly-job-events-json-file-names/4060)

<div class="topic-metadata">

**Author:** [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 2:19pm UTC](https://forum.ansible.com/t/does-ansible-runner-allow-user-friendly-job-events-json-file-names/4060 "2024-02-26T14:19:34Z")

</div>

I am creating a Simple REST API based on the https://github/com/ansible/ansible-runner-service that suits my needs as opposed to AWX for the moment. As I am experimenting with ansible-runner CLI at the moment, I generate…

---

## [AWX on Docker minikube / Ansible-Vault question](https://forum.ansible.com/t/awx-on-docker-minikube-ansible-vault-question/4023)

<div class="topic-metadata">

**Author:** [@feed-jake](https://forum.ansible.com/u/feed-jake)\
**Replies:** 3\
**Last updated:** [February 25, 2024, 8:30pm UTC](https://forum.ansible.com/t/awx-on-docker-minikube-ansible-vault-question/4023 "2024-02-25T20:30:12Z")

</div>

Complete “Noob” warning: I’ve got my AWX running on a VMWare server in our test env. Installed and deployed with a docker/minikube instance. I’m running test playbooks from inside of AWX, and learning as I go. My noob q…

---

## [Is it safe to use Ansible to run playbooks on untrusted hosts?](https://forum.ansible.com/t/is-it-safe-to-use-ansible-to-run-playbooks-on-untrusted-hosts/4043)

<div class="topic-metadata">

**Author:** [@AlexA](https://forum.ansible.com/u/AlexA)\
**Replies:** 1\
**Last updated:** [February 25, 2024, 3:58pm UTC](https://forum.ansible.com/t/is-it-safe-to-use-ansible-to-run-playbooks-on-untrusted-hosts/4043 "2024-02-25T15:58:52Z")

</div>

Hi guys! I’m considering creating a simple service that helps users set up some software on servers. I’d like to use Ansible for this, but I’m not very familiar with Ansible. The plan is to load the inventory and SSH key…

---

## [Ansible Controller - accessing files outside of EE](https://forum.ansible.com/t/ansible-controller-accessing-files-outside-of-ee/4031)

<div class="topic-metadata">

**Author:** [@walk](https://forum.ansible.com/u/walk)\
**Replies:** 3\
**Last updated:** [February 25, 2024, 2:33pm UTC](https://forum.ansible.com/t/ansible-controller-accessing-files-outside-of-ee/4031 "2024-02-25T14:33:49Z")

</div>

I am needing to create a playbook ran from our Ansible Controller (Tower) that creates a file (it is a variable list) and have it stored on our controller so that it can be loaded by a different playbook. I tested all of…

---

## [Realizar acciones desde Linux (Windows - Linux)](https://forum.ansible.com/t/realizar-acciones-desde-linux-windows-linux/4020)

<div class="topic-metadata">

**Author:** [@Douglas](https://forum.ansible.com/u/Douglas)\
**Replies:** 1\
**Last updated:** [February 25, 2024, 10:53am UTC](https://forum.ansible.com/t/realizar-acciones-desde-linux-windows-linux/4020 "2024-02-25T10:53:36Z")

</div>

Estimados buenos días, Estoy trabajando con ansible recientemente, he realizado tareas desde mi Fedora de Linux a Linux de Windows a Windows y no he presentado inconvenientes, pero no he encontrado la manera de realizar …

---

## [AWX collections/requirements.yml](https://forum.ansible.com/t/awx-collections-requirements-yml/4029)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 3\
**Last updated:** [February 25, 2024, 1:29am UTC](https://forum.ansible.com/t/awx-collections-requirements-yml/4029 "2024-02-25T01:29:28Z")

</div>

Hello all, in one of my AWX projects I have the normal collections directory and the requirements.yml underneath. In the requirements.yml I’m listing a single ansible-galaxy requirement needed. I now need not only forti…

---

## [Separate Ips Dinamically by Groups AWS](https://forum.ansible.com/t/separate-ips-dinamically-by-groups-aws/4016)

<div class="topic-metadata">

**Author:** [@dedeboy](https://forum.ansible.com/u/dedeboy)\
**Replies:** 2\
**Last updated:** [February 24, 2024, 4:22pm UTC](https://forum.ansible.com/t/separate-ips-dinamically-by-groups-aws/4016 "2024-02-24T16:22:09Z")

</div>

I need a help about a problem about creation groups. I created a playbook AWS in which I create the instances and I have a file called host. My objective is when AWS creates the instances I want, separate the IPs for gro…

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

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