# Get Help

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

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

**Page:** 49

---

## [Retrieve a certificate using vault\_pki\_generate\_certificate](https://forum.ansible.com/t/retrieve-a-certificate-using-vault-pki-generate-certificate/39144)

<div class="topic-metadata">

**Author:** [@abdellahbrahimi](https://forum.ansible.com/u/abdellahbrahimi)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 10:49am UTC](https://forum.ansible.com/t/retrieve-a-certificate-using-vault-pki-generate-certificate/39144 "2024-12-16T10:49:15Z")

</div>

I try to retrieve a certificate from Vault server. So, my playbook look like this: - name: Get Certificate from Vault, using Vault Module hosts: localhost tasks: - name: Issue cert from Vault community.…

---

## [I am seeing an inventory hosts limit, what is the solution?](https://forum.ansible.com/t/i-am-seeing-an-inventory-hosts-limit-what-is-the-solution/39100)

<div class="topic-metadata">

**Author:** [@elicro](https://forum.ansible.com/u/elicro)\
**Replies:** 3\
**Last updated:** [December 15, 2024, 9:43pm UTC](https://forum.ansible.com/t/i-am-seeing-an-inventory-hosts-limit-what-is-the-solution/39100 "2024-12-15T21:43:36Z")

</div>

I have an inventory of about 3k+ devices which I am running a playbook with a serial of 10. I do not know exactly where the playbook stops running but it’s less then 1k. Is it known issue? feature? What are the soluti…

---

## [Deployment of AWX-OPERATOR fails](https://forum.ansible.com/t/deployment-of-awx-operator-fails/39121)

<div class="topic-metadata">

**Author:** [@moomin893](https://forum.ansible.com/u/moomin893)\
**Replies:** 4\
**Last updated:** [December 13, 2024, 11:51pm UTC](https://forum.ansible.com/t/deployment-of-awx-operator-fails/39121 "2024-12-13T23:51:54Z")

</div>

AWX-OPERATOR version: 0.20 AWX web service will not start. NAME READY STATUS RESTARTS AGE pod/awx-demo-postgres-0 1/1 Running …

---

## [Ansible.builtin.apt module does not work with installed Python 3.12 on target machine](https://forum.ansible.com/t/ansible-builtin-apt-module-does-not-work-with-installed-python-3-12-on-target-machine/39046)

<div class="topic-metadata">

**Author:** [@a531ac0edd70bcea93ad](https://forum.ansible.com/u/a531ac0edd70bcea93ad)\
**Replies:** 3\
**Last updated:** [December 13, 2024, 12:16pm UTC](https://forum.ansible.com/t/ansible-builtin-apt-module-does-not-work-with-installed-python-3-12-on-target-machine/39046 "2024-12-13T12:16:21Z")

</div>

I have an older Debian machine running Debian 10. This machine has installed Python 3.7.3. I cannot upgrade this machine to a newer version, need to wait for the company to release an upgrade. I upgraded my ansible inst…

---

## [Community.mysql sets password as literal string instead of hash](https://forum.ansible.com/t/community-mysql-sets-password-as-literal-string-instead-of-hash/39061)

<div class="topic-metadata">

**Author:** [@kkplein](https://forum.ansible.com/u/kkplein)\
**Replies:** 8\
**Last updated:** [December 13, 2024, 8:03am UTC](https://forum.ansible.com/t/community-mysql-sets-password-as-literal-string-instead-of-hash/39061 "2024-12-13T08:03:26Z")

</div>

We are trying to create users with a pre-created hashed password. Ansible playbook logs this: changed: \[db29-acc\] =\> (item=\[{'name': 'ACC-clustercheck\_user', 'password': '\*96491C5DA6D86E34E644E89BC8B09A5B8C6D5D28', 'en…

---

## [Failed to authenticate: Authentication failed](https://forum.ansible.com/t/failed-to-authenticate-authentication-failed/39117)

<div class="topic-metadata">

**Author:** [@cvandong](https://forum.ansible.com/u/cvandong)\
**Replies:** 0\
**Last updated:** [December 13, 2024, 12:44am UTC](https://forum.ansible.com/t/failed-to-authenticate-authentication-failed/39117 "2024-12-13T00:44:57Z")

</div>

I am getting authentication errors, I can ping and ssh from my vm but ansible won’t run, I did put on a github repo so not sure if that has anything to do with it wondering if anyone has any iedas. let me know if you nee…

---

## [Need help for getting a root shell on my custom network appliance](https://forum.ansible.com/t/need-help-for-getting-a-root-shell-on-my-custom-network-appliance/39086)

<div class="topic-metadata">

**Author:** [@smeda](https://forum.ansible.com/u/smeda)\
**Replies:** 3\
**Last updated:** [December 12, 2024, 6:49pm UTC](https://forum.ansible.com/t/need-help-for-getting-a-root-shell-on-my-custom-network-appliance/39086 "2024-12-12T18:49:29Z")

</div>

My network appliance needs a non\_root ssh login, followed by an “enable” command, followed by an “su” command, followed by the root password. Here’s the sequence for my root login: $ ssh admin@10.0.34.210 admin@10.0.34.…

---

## [Writing a custom become plugin](https://forum.ansible.com/t/writing-a-custom-become-plugin/38990)

<div class="topic-metadata">

**Author:** [@bvx54](https://forum.ansible.com/u/bvx54)\
**Replies:** 7\
**Last updated:** [December 12, 2024, 6:36pm UTC](https://forum.ansible.com/t/writing-a-custom-become-plugin/38990 "2024-12-12T18:36:16Z")

</div>

where do i get assistance on writing become plugins? There’s very little info on how to get started, debug, what all the stuff means etc. I had to end up reading the entire SSH/su/init/become code to work it all out fo…

---

## [AWX manual SCM not working](https://forum.ansible.com/t/awx-manual-scm-not-working/39094)

<div class="topic-metadata">

**Author:** [@K111](https://forum.ansible.com/u/K111)\
**Replies:** 0\
**Last updated:** [December 12, 2024, 11:44am UTC](https://forum.ansible.com/t/awx-manual-scm-not-working/39094 "2024-12-12T11:44:21Z")

</div>

Hi, I am new to AWX and ansible in general, but interested in automation so decided to start out. I have deployed AWX using operator and it is up and running. Creating projects using Git as SCM work fine, and I can see …

---

## [How to use ansible\_become for a root shell that needs an "enable" followed by a "su"?](https://forum.ansible.com/t/how-to-use-ansible-become-for-a-root-shell-that-needs-an-enable-followed-by-a-su/39021)

<div class="topic-metadata">

**Author:** [@smeda](https://forum.ansible.com/u/smeda)\
**Replies:** 0\
**Last updated:** [December 10, 2024, 1:04pm UTC](https://forum.ansible.com/t/how-to-use-ansible-become-for-a-root-shell-that-needs-an-enable-followed-by-a-su/39021 "2024-12-10T13:04:19Z")

</div>

Here’s the sequence for my root login: $ ssh admin@10.0.34.210 admin@10.0.34.210’s password: … ABC\_XYZ\>enable ABC\_XYZ#su Password: … \[root@voe\_210:/tmp\]$ \[root@voe\_210:/tmp\]$ exit logout ABC\_XYZ#exit ABC\_XYZ\>lo…

---

## [Ansible\_os\_family not defined](https://forum.ansible.com/t/ansible-os-family-not-defined/38907)

<div class="topic-metadata">

**Author:** [@vibhor\_agarwalin](https://forum.ansible.com/u/vibhor_agarwalin)\
**Replies:** 10\
**Last updated:** [December 12, 2024, 4:17am UTC](https://forum.ansible.com/t/ansible-os-family-not-defined/38907 "2024-12-12T04:17:24Z")

</div>

Hello Folks, My AWX jobs are failing with “ansible\_os\_family” not defined for a particular host. Have the gather\_facts = true. Triaged further via cli tells only this particular host doesn’t have it defined. All rest …

---

## [How do I create a VM in a cloud and then in the same playbook configure it?](https://forum.ansible.com/t/how-do-i-create-a-vm-in-a-cloud-and-then-in-the-same-playbook-configure-it/39033)

<div class="topic-metadata">

**Author:** [@mpeckov](https://forum.ansible.com/u/mpeckov)\
**Replies:** 5\
**Last updated:** [December 11, 2024, 11:28pm UTC](https://forum.ansible.com/t/how-do-i-create-a-vm-in-a-cloud-and-then-in-the-same-playbook-configure-it/39033 "2024-12-11T23:28:51Z")

</div>

I am trying to create a playbook that will create a new vm based on debian in Azure, and then install some packages on that vm. My plan for doing this, is target localhost (a Mac) so that I can do the infrastructure stu…

---

## [When i run my playbook then below error happens](https://forum.ansible.com/t/when-i-run-my-playbook-then-below-error-happens/39037)

<div class="topic-metadata">

**Author:** [@ravindrakal](https://forum.ansible.com/u/ravindrakal)\
**Replies:** 3\
**Last updated:** [December 11, 2024, 8:38pm UTC](https://forum.ansible.com/t/when-i-run-my-playbook-then-below-error-happens/39037 "2024-12-11T20:38:01Z")

</div>

\[Gathering facts\] fatal \[localhost\]: FAILED! =\>(“ansible\_facts”: {}, “changed”: false, “failed\_modules”: {“ansible.legacy.setup”:… “msg”: “MODULE FAILURE\\n see stdout/stderr for the exact error”, “rc”:1} }, “msg”: “Th…

---

## [Zuul Build Issues](https://forum.ansible.com/t/zuul-build-issues/39000)

<div class="topic-metadata">

**Author:** [@mikemorency](https://forum.ansible.com/u/mikemorency)\
**Replies:** 4\
**Last updated:** [December 11, 2024, 5:16pm UTC](https://forum.ansible.com/t/zuul-build-issues/39000 "2024-12-11T17:16:04Z")

</div>

Hi all, We’re seeing some new Zuul build failures in vmware.vmware\_rest. The failures seem unrelated to any changes, and when I try to list the available datastores in the (vcenter) cluster, none are found. Heres an exa…

---

## [Ansible Collection dependencies from internal git server?](https://forum.ansible.com/t/ansible-collection-dependencies-from-internal-git-server/39053)

<div class="topic-metadata">

**Author:** [@eace](https://forum.ansible.com/u/eace)\
**Replies:** 15\
**Last updated:** [December 11, 2024, 4:08pm UTC](https://forum.ansible.com/t/ansible-collection-dependencies-from-internal-git-server/39053 "2024-12-11T16:08:16Z")

</div>

All, We would like to host internally-developed Ansible collections from our internal GitLab server. So when our internal integrators do this: ansible-galaxy collection install\\ git@our.gitlab.server:foo/collection-a.…

---

## [NXOS "Failed to authenticate: Authentication failed."](https://forum.ansible.com/t/nxos-failed-to-authenticate-authentication-failed/39023)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 3:31pm UTC](https://forum.ansible.com/t/nxos-failed-to-authenticate-authentication-failed/39023 "2024-12-11T15:31:11Z")

</div>

Over the last few days I’ve been troubleshooting a malfunctioning series of playbooks. I’ve gone from a set of functional NXOS playbooks, our app team updated Rundeck//Ansible and many underlying modules, and whammo her…

---

## [Upgrade ruby from 2.7.4 - 3.3.5 using Ansible](https://forum.ansible.com/t/upgrade-ruby-from-2-7-4-3-3-5-using-ansible/11172)

<div class="topic-metadata">

**Author:** [@Renzo](https://forum.ansible.com/u/Renzo)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 11:31am UTC](https://forum.ansible.com/t/upgrade-ruby-from-2-7-4-3-3-5-using-ansible/11172 "2024-12-11T11:31:01Z")

</div>

Hi all, im new to ansible and Ruby but Ive been tasked with creating a new AWS AMI using Packer and Ansible. I have updated the following application.yml from version 2.7.4 to 3.3.5 and the build fails. Heres the relev…

---

## [Configure AWX Database using external secret(store in AWS Secrete manager)](https://forum.ansible.com/t/configure-awx-database-using-external-secret-store-in-aws-secrete-manager/39045)

<div class="topic-metadata">

**Author:** [@sachinjagtap](https://forum.ansible.com/u/sachinjagtap)\
**Replies:** 0\
**Last updated:** [December 11, 2024, 9:35am UTC](https://forum.ansible.com/t/configure-awx-database-using-external-secret-store-in-aws-secrete-manager/39045 "2024-12-11T09:35:26Z")

</div>

Hello Folks I am trying to set up awx environments with respective external database. I have added postgres\_configuration\_secret: awx-configuration-secret in Values.yaml file. awx-deploy.yaml has below code in it. {{-…

---

## [Authentication to GCP with Ansible using federated credentials without gcloud CLI](https://forum.ansible.com/t/authentication-to-gcp-with-ansible-using-federated-credentials-without-gcloud-cli/39036)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 7:58am UTC](https://forum.ansible.com/t/authentication-to-gcp-with-ansible-using-federated-credentials-without-gcloud-cli/39036 "2024-12-11T07:58:42Z")

</div>

I have created a Kubernetes pod manifest in a cluster which I have integrated with GCP using Workload Identity Federation following this procedure Configure Workload Identity Federation with Kubernetes | IAM Documentat…

---

## [Bidirectional or Unidirectional Connectivity is required for below ports in Ansible AWX ( 24.6.1 )?](https://forum.ansible.com/t/bidirectional-or-unidirectional-connectivity-is-required-for-below-ports-in-ansible-awx-24-6-1/39018)

<div class="topic-metadata">

**Author:** [@Gowthu](https://forum.ansible.com/u/Gowthu)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 1:50pm UTC](https://forum.ansible.com/t/bidirectional-or-unidirectional-connectivity-is-required-for-below-ports-in-ansible-awx-24-6-1/39018 "2024-12-10T13:50:16Z")

</div>

Hi Ansible community, I am working with Ansible AWX (24.6.1), and I need to understand the connectivity requirements for ports mentioned below. Specifically, I want to know if these ports need to be enabled bidirectiona…

---

## [Advice on converting complex ansible project to Ansible Automation Platform](https://forum.ansible.com/t/advice-on-converting-complex-ansible-project-to-ansible-automation-platform/38989)

<div class="topic-metadata">

**Author:** [@bvx54](https://forum.ansible.com/u/bvx54)\
**Replies:** 2\
**Last updated:** [December 10, 2024, 8:15am UTC](https://forum.ansible.com/t/advice-on-converting-complex-ansible-project-to-ansible-automation-platform/38989 "2024-12-10T08:15:31Z")

</div>

Hi I have a large and complex ansible project that i need to convert to Ansible Automation Platform and it’s not clear how this should be done. I literally cannot find any resources - blogs/books/documentation on how th…

---

## [AWX Container Group Job Queuing](https://forum.ansible.com/t/awx-container-group-job-queuing/39011)

<div class="topic-metadata">

**Author:** [@AnsibleAndChill](https://forum.ansible.com/u/AnsibleAndChill)\
**Replies:** 2\
**Last updated:** [December 10, 2024, 1:25am UTC](https://forum.ansible.com/t/awx-container-group-job-queuing/39011 "2024-12-10T01:25:18Z")

</div>

AWX 24.6.1 Two separate k8s clusters, one for my AWX instance group and one for my container group. Currently running 1 web and 1 task container for testing. Container group is 10 on-prem k8s nodes with tons of dedicate…

---

## [Ansible-test the --requirements argument](https://forum.ansible.com/t/ansible-test-the-requirements-argument/39009)

<div class="topic-metadata">

**Author:** [@instantleves](https://forum.ansible.com/u/instantleves)\
**Replies:** 0\
**Last updated:** [December 9, 2024, 9:43pm UTC](https://forum.ansible.com/t/ansible-test-the-requirements-argument/39009 "2024-12-09T21:43:26Z")

</div>

Hello, Does the --requirements argument in the ansible-test integration command install python dependencies or collection and role dependencies? And which file does this argument read to install the dependencies?

---

## [Ansible Playbook Through Proxy with Interactive Login](https://forum.ansible.com/t/ansible-playbook-through-proxy-with-interactive-login/11076)

<div class="topic-metadata">

**Author:** [@daviddzxy](https://forum.ansible.com/u/daviddzxy)\
**Replies:** 5\
**Last updated:** [December 9, 2024, 8:48pm UTC](https://forum.ansible.com/t/ansible-playbook-through-proxy-with-interactive-login/11076 "2024-12-09T20:48:37Z")

</div>

Hello, I am trying to run an Ansible playbook from my host machine to a target server, with traffic routed through a proxy: HOST -\> PROXY -\> TARGET The challenge is that the proxy server requires an interactive login …

---

## [How to run plays with conditionals based on network os](https://forum.ansible.com/t/how-to-run-plays-with-conditionals-based-on-network-os/38974)

<div class="topic-metadata">

**Author:** [@jimmychanga](https://forum.ansible.com/u/jimmychanga)\
**Replies:** 6\
**Last updated:** [December 9, 2024, 4:27pm UTC](https://forum.ansible.com/t/how-to-run-plays-with-conditionals-based-on-network-os/38974 "2024-12-09T16:27:44Z")

</div>

Hello, I created a playbook that has 3 plays. I want to run the playbook against an inventory file containing a mix of EOS, IOS, and NXOS-based devices. The plays are just gathering facts for the particular OS. I’m usin…

---

## [Environment variable](https://forum.ansible.com/t/environment-variable/38977)

<div class="topic-metadata">

**Author:** [@alexb81](https://forum.ansible.com/u/alexb81)\
**Replies:** 3\
**Last updated:** [December 9, 2024, 4:17pm UTC](https://forum.ansible.com/t/environment-variable/38977 "2024-12-09T16:17:46Z")

</div>

Hello, I’m trying to reset the ANSIBLE\_LOG\_PATH environment variable. To do this, I’ve written the following code: play.yml - name: test la genration de fichier de log hosts: all #gather\_facts: no connection: lo…

---

## [Can AWX 24.6.1 run on external PostgreSQL version 16?](https://forum.ansible.com/t/can-awx-24-6-1-run-on-external-postgresql-version-16/10918)

<div class="topic-metadata">

**Author:** [@oziel](https://forum.ansible.com/u/oziel)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 3:58pm UTC](https://forum.ansible.com/t/can-awx-24-6-1-run-on-external-postgresql-version-16/10918 "2024-12-09T15:58:46Z")

</div>

Hello all, Does anyone know if the latest AWX version 24.6.1 can run on an external PostgreSQL version 16.x ? Thank you!

---

## [Task to enable dnf repos only if they are not enabled](https://forum.ansible.com/t/task-to-enable-dnf-repos-only-if-they-are-not-enabled/38905)

<div class="topic-metadata">

**Author:** [@halloleo](https://forum.ansible.com/u/halloleo)\
**Replies:** 11\
**Last updated:** [December 9, 2024, 3:27pm UTC](https://forum.ansible.com/t/task-to-enable-dnf-repos-only-if-they-are-not-enabled/38905 "2024-12-09T15:27:49Z")

</div>

I have a task like this: - name: Enable repos ansible.builtin.command: cmd: "dnf config-manager --enable {{ item }}" loop: - codeready-builder-for-rhel-9-x86\_64-rpms - ansible-automat…

---

## [How to include a variable vault in inventory.ini or ansible.cfg](https://forum.ansible.com/t/how-to-include-a-variable-vault-in-inventory-ini-or-ansible-cfg/38906)

<div class="topic-metadata">

**Author:** [@halloleo](https://forum.ansible.com/u/halloleo)\
**Replies:** 6\
**Last updated:** [December 9, 2024, 12:32am UTC](https://forum.ansible.com/t/how-to-include-a-variable-vault-in-inventory-ini-or-ansible-cfg/38906 "2024-12-09T00:32:33Z")

</div>

I have a vault file in vault/secrets.enc with some credential definitions. When I add the file on the command line like this: ansible-playbook myplay.yml -e '@vault/secrets.enc' --ask-vault-pass it works perfectly. B…

---

## [Log management with ansible](https://forum.ansible.com/t/log-management-with-ansible/38930)

<div class="topic-metadata">

**Author:** [@alexb81](https://forum.ansible.com/u/alexb81)\
**Replies:** 3\
**Last updated:** [December 8, 2024, 9:15am UTC](https://forum.ansible.com/t/log-management-with-ansible/38930 "2024-12-08T09:15:02Z")

</div>

Hello, At the moment, we’re running a small ansible project, using its native log file. However, since we use a lot of roles, this execution log becomes particularly difficult to read. So we came up with an idea, good …

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

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