# Get Help

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

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

**Page:** 37

---

## [Ansible-doc on Ubuntu: Keywords are not visible](https://forum.ansible.com/t/ansible-doc-on-ubuntu-keywords-are-not-visible/41020)

<div class="topic-metadata">

**Author:** [@Granjow](https://forum.ansible.com/u/Granjow)\
**Replies:** 7\
**Last updated:** [March 14, 2025, 7:25am UTC](https://forum.ansible.com/t/ansible-doc-on-ubuntu-keywords-are-not-visible/41020 "2025-03-14T07:25:48Z")

</div>

With the default Gnome colour schema, keywords are completely invisible in the ansible docs. Is this a configuration issue on my side, or can you reproduce? To me it looks like a different colour would make sense.

---

## [/usr/sbin/visudo - : No such file or directory error](https://forum.ansible.com/t/usr-sbin-visudo-no-such-file-or-directory-error/40939)

<div class="topic-metadata">

**Author:** [@vinothravindhran](https://forum.ansible.com/u/vinothravindhran)\
**Replies:** 13\
**Last updated:** [March 14, 2025, 4:23am UTC](https://forum.ansible.com/t/usr-sbin-visudo-no-such-file-or-directory-error/40939 "2025-03-14T04:23:32Z")

</div>

\*\*/usr/sbin/visudo - : No such file or directory error \*\*. While execute AWX template, we are getting above error, this template will validate list of sudoers files stored in project files path then move it to server …

---

## [Posix.mount error with ansible-navigator exclusively](https://forum.ansible.com/t/posix-mount-error-with-ansible-navigator-exclusively/41041)

<div class="topic-metadata">

**Author:** [@pierrickf](https://forum.ansible.com/u/pierrickf)\
**Replies:** 0\
**Last updated:** [March 14, 2025, 12:04am UTC](https://forum.ansible.com/t/posix-mount-error-with-ansible-navigator-exclusively/41041 "2025-03-14T00:04:32Z")

</div>

Hi, End goal I am studying for the RHCE exam, and am trying to make sure my playbooks can run with both ansible-playbook and ansible-navigator, just in case. Issue I currently have two playbooks (see below), and one of…

---

## [Is it possible permanent execution environment node to running job](https://forum.ansible.com/t/is-it-possible-permanent-execution-environment-node-to-running-job/41022)

<div class="topic-metadata">

**Author:** [@Jaejeon\_Lim](https://forum.ansible.com/u/Jaejeon_Lim)\
**Replies:** 2\
**Last updated:** [March 14, 2025, 12:39am UTC](https://forum.ansible.com/t/is-it-possible-permanent-execution-environment-node-to-running-job/41022 "2025-03-14T00:39:47Z")

</div>

Hello. I am currently using AWX in the k8s environment. However, since the workflow job configuration is in 4 steps, the automation job pod is created 4 times, which has the disadvantage of a long lead time. So I woul…

---

## [Why do variables for a template need top be defined 'above' the template task?](https://forum.ansible.com/t/why-do-variables-for-a-template-need-top-be-defined-above-the-template-task/41007)

<div class="topic-metadata">

**Author:** [@halloleo](https://forum.ansible.com/u/halloleo)\
**Replies:** 4\
**Last updated:** [March 13, 2025, 11:18pm UTC](https://forum.ansible.com/t/why-do-variables-for-a-template-need-top-be-defined-above-the-template-task/41007 "2025-03-13T23:18:00Z")

</div>

I want to use ansible.builtin.template. So I tried as a task: - name: Create cfg file ansible.builtin.template: src: path/to/my/template.j2 dest: /path/to/output/file.conf vars: my\_port: 1234 with t…

---

## [Using ssl in community.mysql when ssl is required](https://forum.ansible.com/t/using-ssl-in-community-mysql-when-ssl-is-required/41032)

<div class="topic-metadata">

**Author:** [@jdanilson1](https://forum.ansible.com/u/jdanilson1)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 7:29pm UTC](https://forum.ansible.com/t/using-ssl-in-community-mysql-when-ssl-is-required/41032 "2025-03-13T19:29:35Z")

</div>

Our mysql complex requires ssl connection, e.g., the mysql instance specifies require\_secure\_transport=ON using this ansible script (not all is shown) name: query for variable settings community.mysql.mysql\_info: lo…

---

## [How to execute AWS CLI command which is stored in variable from ansible playbook](https://forum.ansible.com/t/how-to-execute-aws-cli-command-which-is-stored-in-variable-from-ansible-playbook/41031)

<div class="topic-metadata">

**Author:** [@Madan\_Kumar\_Dusarlap](https://forum.ansible.com/u/Madan_Kumar_Dusarlap)\
**Replies:** 1\
**Last updated:** [March 13, 2025, 6:00pm UTC](https://forum.ansible.com/t/how-to-execute-aws-cli-command-which-is-stored-in-variable-from-ansible-playbook/41031 "2025-03-13T18:00:19Z")

</div>

How to execute AWS CLI command dynamically that is stored in variable of ansible playbook. Please share respective ansible script. Server has AWS CLI utility that is in below path path: /usr/local/bin/aws ansibledba i…

---

## [Wrapping and commenting a block of text for a config file](https://forum.ansible.com/t/wrapping-and-commenting-a-block-of-text-for-a-config-file/41035)

<div class="topic-metadata">

**Author:** [@chris](https://forum.ansible.com/u/chris)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 5:39pm UTC](https://forum.ansible.com/t/wrapping-and-commenting-a-block-of-text-for-a-config-file/41035 "2025-03-13T17:39:39Z")

</div>

I’m working on a valkey role and using a template to generate the configuration file(s) and using the description from the argument specification to generate a comment for each variable using this: {{ valkey\_argument\_sp…

---

## [AAP playbook review - how to schedule reporting software inventory compliance and email](https://forum.ansible.com/t/aap-playbook-review-how-to-schedule-reporting-software-inventory-compliance-and-email/40994)

<div class="topic-metadata">

**Author:** [@ansnewbie](https://forum.ansible.com/u/ansnewbie)\
**Replies:** 4\
**Last updated:** [March 13, 2025, 5:17pm UTC](https://forum.ansible.com/t/aap-playbook-review-how-to-schedule-reporting-software-inventory-compliance-and-email/40994 "2025-03-13T17:17:21Z")

</div>

I am learning to write playbooks and trying to write a playbook that runs in different release of RHEL servers and report 3 different software installation and send a compliance report in email. Here is the condition. S…

---

## [Creating proper (constructed) inventory](https://forum.ansible.com/t/creating-proper-constructed-inventory/40988)

<div class="topic-metadata">

**Author:** [@iamnealm](https://forum.ansible.com/u/iamnealm)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 7:02am UTC](https://forum.ansible.com/t/creating-proper-constructed-inventory/40988 "2025-03-13T07:02:05Z")

</div>

Hi guys, I want to start and say that I’m really new to Ansible. Lately I’ve started working with inventories to manage my hosts on different platforms (on-prem, cloud etc.). I’ve explored group\_vars and host\_vars and a…

---

## [Generating a token with JWT authod from Hashicorp Vault (enterprise)](https://forum.ansible.com/t/generating-a-token-with-jwt-authod-from-hashicorp-vault-enterprise/40984)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 4:29am UTC](https://forum.ansible.com/t/generating-a-token-with-jwt-authod-from-hashicorp-vault-enterprise/40984 "2025-03-13T04:29:34Z")

</div>

Hi All, I’m struggling with using the module community.hashi\_vault.vault\_token\_create with a JW to generate a Hashicorp Vault token. I’m able to use the ansible.builtin.uri successfully with the same input values to gen…

---

## [Overload builtin action plugin](https://forum.ansible.com/t/overload-builtin-action-plugin/40920)

<div class="topic-metadata">

**Author:** [@audacity363](https://forum.ansible.com/u/audacity363)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 2:57am UTC](https://forum.ansible.com/t/overload-builtin-action-plugin/40920 "2025-03-13T02:57:31Z")

</div>

Hi there, i have a playbook which creates virtual machines via vmware and provisioned the OS by setting the IP, register to a foreman instance, installs basic packages and so one. One step of this process is to join a …

---

## [How to use AWS CLI command in ansible playbook](https://forum.ansible.com/t/how-to-use-aws-cli-command-in-ansible-playbook/40997)

<div class="topic-metadata">

**Author:** [@Madan\_Kumar\_Dusarlap](https://forum.ansible.com/u/Madan_Kumar_Dusarlap)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 6:11pm UTC](https://forum.ansible.com/t/how-to-use-aws-cli-command-in-ansible-playbook/40997 "2025-03-12T18:11:09Z")

</div>

When I try to use AWS CLI command in ansible playbook, getting error even added the AWS account access key id, secret key and session token but no use. Script: name: Change DBSNMP User Password in Oracle database an…

---

## [When statement giving error argument of type 'NoneType' is not iterable](https://forum.ansible.com/t/when-statement-giving-error-argument-of-type-nonetype-is-not-iterable/40974)

<div class="topic-metadata">

**Author:** [@kaminis85](https://forum.ansible.com/u/kaminis85)\
**Replies:** 3\
**Last updated:** [March 12, 2025, 2:49pm UTC](https://forum.ansible.com/t/when-statement-giving-error-argument-of-type-nonetype-is-not-iterable/40974 "2025-03-12T14:49:55Z")

</div>

I am trying to execute few tasks with “when” conditional statement. The vars are defined as below: ontap\_license\_key\_format: #Options are "legacy" and "NLF" # - legacy # - NLF When both the values are commented, the…

---

## [ERROR! Attempting to decrypt but no vault secrets found](https://forum.ansible.com/t/error-attempting-to-decrypt-but-no-vault-secrets-found/3826)

<div class="topic-metadata">

**Author:** [@Noctis81](https://forum.ansible.com/u/Noctis81)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 11:19am UTC](https://forum.ansible.com/t/error-attempting-to-decrypt-but-no-vault-secrets-found/3826 "2025-03-12T11:19:34Z")

</div>

ERROR! Attempting to decrypt but no vault secrets found. Hello, I installed AWX 23.5.1 on openshift v4.14 through Openshift Operator Installation is fine. I try to import an inventory from a github repository. In my r…

---

## [How to get ansible to use virtual environment on remote side with a role and local connection](https://forum.ansible.com/t/how-to-get-ansible-to-use-virtual-environment-on-remote-side-with-a-role-and-local-connection/40953)

<div class="topic-metadata">

**Author:** [@Spacerulerwill](https://forum.ansible.com/u/Spacerulerwill)\
**Replies:** 3\
**Last updated:** [March 12, 2025, 9:54am UTC](https://forum.ansible.com/t/how-to-get-ansible-to-use-virtual-environment-on-remote-side-with-a-role-and-local-connection/40953 "2025-03-12T09:54:28Z")

</div>

I am using a role which should in theory install psycopg2 into my python (3.12.9) virtual environment (among other things), but after running it is installed into my system python (3.9.21). I am installing ansible 11.3 v…

---

## [Migrating Ansible Automation Platform Controller 2.4 (RPM) to AAP 2.5 (Containerized)](https://forum.ansible.com/t/migrating-ansible-automation-platform-controller-2-4-rpm-to-aap-2-5-containerized/40248)

<div class="topic-metadata">

**Author:** [@JVM-Steel1970](https://forum.ansible.com/u/JVM-Steel1970)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 6:32pm UTC](https://forum.ansible.com/t/migrating-ansible-automation-platform-controller-2-4-rpm-to-aap-2-5-containerized/40248 "2025-03-11T18:32:39Z")

</div>

I am trying to get from Ansible Automation Platform 2.4 to Ansible Automation Platform 2.5. I’ve built a new RHEL 9.5 Virtual server, and I’ve installed ansible-automation-platform-containerized-setup-bundle-2.5-9-x86\_64…

---

## [Work with custom module failed after upgrade ansible core 2.15 -\> 2.17](https://forum.ansible.com/t/work-with-custom-module-failed-after-upgrade-ansible-core-2-15-2-17/40944)

<div class="topic-metadata">

**Author:** [@makar112233](https://forum.ansible.com/u/makar112233)\
**Replies:** 4\
**Last updated:** [March 11, 2025, 3:27pm UTC](https://forum.ansible.com/t/work-with-custom-module-failed-after-upgrade-ansible-core-2-15-2-17/40944 "2025-03-11T15:27:58Z")

</div>

Hello. I have a custom module, called “cloudninja” which can works with our private cloud and make some tasks. When I upgraded in requirements.yml version of ansible-core 2.15 to 2.17, I got an error ModuleNotFoundErr…

---

## [Hostvars or role vars?](https://forum.ansible.com/t/hostvars-or-role-vars/40938)

<div class="topic-metadata">

**Author:** [@it-pappa](https://forum.ansible.com/u/it-pappa)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 11:33am UTC](https://forum.ansible.com/t/hostvars-or-role-vars/40938 "2025-03-11T11:33:57Z")

</div>

So i need to pick your brain about something. I have automated alot of tasks on a few servers regarding applications running on them. I have generated alot of var files for each application, license etc. Is it best to …

---

## [Looking for an AWX + AKS howto for dummies](https://forum.ansible.com/t/looking-for-an-awx-aks-howto-for-dummies/39665)

<div class="topic-metadata">

**Author:** [@ildjarn](https://forum.ansible.com/u/ildjarn)\
**Replies:** 7\
**Last updated:** [March 11, 2025, 9:29am UTC](https://forum.ansible.com/t/looking-for-an-awx-aks-howto-for-dummies/39665 "2025-03-11T09:29:19Z")

</div>

Hello, I am looking for an AWX on AKS howto for dummies. At the moment my test lab is running on K3S and that’s running fine, but the production environment should run on AKS and I can t get things working. I have zero…

---

## [AWX: Is it possible to run "refresh inventory source" jobs on controller node instead of instance group referenced by inventory?](https://forum.ansible.com/t/awx-is-it-possible-to-run-refresh-inventory-source-jobs-on-controller-node-instead-of-instance-group-referenced-by-inventory/40850)

<div class="topic-metadata">

**Author:** [@nak](https://forum.ansible.com/u/nak)\
**Replies:** 6\
**Last updated:** [March 11, 2025, 7:54am UTC](https://forum.ansible.com/t/awx-is-it-possible-to-run-refresh-inventory-source-jobs-on-controller-node-instead-of-instance-group-referenced-by-inventory/40850 "2025-03-11T07:54:12Z")

</div>

Hi there, given the following setup: AWX main site (controller and hopnodes) is up&running on premises. Many remote execution nodes provide distributed job execution at remote sites. Remote execution nodes connect to …

---

## [Proxmox inventory plugin: get secrets from vault.yml](https://forum.ansible.com/t/proxmox-inventory-plugin-get-secrets-from-vault-yml/40868)

<div class="topic-metadata">

**Author:** [@DengelFred](https://forum.ansible.com/u/DengelFred)\
**Replies:** 7\
**Last updated:** [March 10, 2025, 6:34pm UTC](https://forum.ansible.com/t/proxmox-inventory-plugin-get-secrets-from-vault-yml/40868 "2025-03-10T18:34:43Z")

</div>

Hello, I use the proxmox inventory plugin and would like to use the secrets from group\_vars/all for the api secret. I use the follwing folder structure: inventory/ ├── group\_vars │ └── all │ ├── vars.yml │ …

---

## [Inconsistent expression evaluation](https://forum.ansible.com/t/inconsistent-expression-evaluation/40816)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 6\
**Last updated:** [March 10, 2025, 5:20pm UTC](https://forum.ansible.com/t/inconsistent-expression-evaluation/40816 "2025-03-10T17:20:10Z")

</div>

The below expressions are valid YAML dictionaries {"socket": "test"} {socket: "test"} They become valid YAML strings if you quote them '{"socket": "test"}' '{socket: "test"}' When you put a substitution into the e…

---

## [AAP 2.5-10 install creates Podman volumes then complains they exist](https://forum.ansible.com/t/aap-2-5-10-install-creates-podman-volumes-then-complains-they-exist/40436)

<div class="topic-metadata">

**Author:** [@verxion](https://forum.ansible.com/u/verxion)\
**Replies:** 2\
**Last updated:** [March 10, 2025, 1:49pm UTC](https://forum.ansible.com/t/aap-2-5-10-install-creates-podman-volumes-then-complains-they-exist/40436 "2025-03-10T13:49:50Z")

</div>

Trying to do my first containerized AAP install (using 2.5-10). I’m running almost everything on a single node other than one execution node that is a distinct VM host. I got a series of errors from “TASK \[ansible.cont…

---

## [Environment Variable as Vault Key](https://forum.ansible.com/t/environment-variable-as-vault-key/40837)

<div class="topic-metadata">

**Author:** [@AquaMCU](https://forum.ansible.com/u/AquaMCU)\
**Replies:** 4\
**Last updated:** [March 10, 2025, 11:27am UTC](https://forum.ansible.com/t/environment-variable-as-vault-key/40837 "2025-03-10T11:27:48Z")

</div>

Hi Ansible community. I want to use ansible vault. Since I do not want to store my vault key in a file and I do not want to type it in every time I run a playbook, I wonder, if I can do this: Store the vault key in an …

---

## [Creating a play-level variable from ouput of a task](https://forum.ansible.com/t/creating-a-play-level-variable-from-ouput-of-a-task/40853)

<div class="topic-metadata">

**Author:** [@jack\_a](https://forum.ansible.com/u/jack_a)\
**Replies:** 4\
**Last updated:** [March 9, 2025, 5:54am UTC](https://forum.ansible.com/t/creating-a-play-level-variable-from-ouput-of-a-task/40853 "2025-03-09T05:54:49Z")

</div>

Is there a way to create a play-level variable (not a host-specific variable) from output of a task. Let me first clarify on what i mean by play-level and host-specific . Consider the following example: inv.yml ungrou…

---

## [AAP execution container sizing](https://forum.ansible.com/t/aap-execution-container-sizing/3689)

<div class="topic-metadata">

**Author:** [@abhijeetJanwalkar](https://forum.ansible.com/u/abhijeetJanwalkar)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 6:34pm UTC](https://forum.ansible.com/t/aap-execution-container-sizing/3689 "2025-03-07T18:34:52Z")

</div>

Hello Everyone, I am currently utilizing Ansible Automation Platform (AAP) along with a custom Execution Environment (EE). During the execution of my code, I have observed that the container is consuming an average of 1…

---

## [Ansible VSFTPD Issue - Cannot get repository working](https://forum.ansible.com/t/ansible-vsftpd-issue-cannot-get-repository-working/40756)

<div class="topic-metadata">

**Author:** [@shanemhartley](https://forum.ansible.com/u/shanemhartley)\
**Replies:** 9\
**Last updated:** [March 7, 2025, 12:10pm UTC](https://forum.ansible.com/t/ansible-vsftpd-issue-cannot-get-repository-working/40756 "2025-03-07T12:10:40Z")

</div>

I am configuring a vsftpd repository on a server, and pointing my clients to it. This is from the Sander Van Vugt RHEL study exam and I cannot get the vsftpd part working. I can do the HTTP one, but for some reason VSFTP…

---

## [Installing collections from on-premise Galaxy NG - Development](https://forum.ansible.com/t/installing-collections-from-on-premise-galaxy-ng-development/40826)

<div class="topic-metadata">

**Author:** [@Marketa\_Muzikova](https://forum.ansible.com/u/Marketa_Muzikova)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 3:24pm UTC](https://forum.ansible.com/t/installing-collections-from-on-premise-galaxy-ng-development/40826 "2025-03-06T15:24:52Z")

</div>

Hi, tl;dr - What variable to change in a config file for Galaxy NG to be able to download collections? Long read: I installed this: Development - Galaxy NG which is now running on my Debian GCP machine. On my machine…

---

## [Delegation issues](https://forum.ansible.com/t/delegation-issues/40382)

<div class="topic-metadata">

**Author:** [@vibhor\_agarwalin](https://forum.ansible.com/u/vibhor_agarwalin)\
**Replies:** 35\
**Last updated:** [March 7, 2025, 3:39am UTC](https://forum.ansible.com/t/delegation-issues/40382 "2025-03-07T03:39:51Z")

</div>

Hello Folks, We were using AWX 15.x for quite a time & used “delegate\_to: 127.0.0.1 or localhost” quite effectively to run tasks on controller node. Recently on upgrade to AWX 23.x, we found issues with delegation. de…

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

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