# Get Help

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

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

**Page:** 61

---

## [How to convert this to ansible?](https://forum.ansible.com/t/how-to-convert-this-to-ansible/8618)

<div class="topic-metadata">

**Author:** [@mk123](https://forum.ansible.com/u/mk123)\
**Replies:** 1\
**Last updated:** [September 19, 2024, 2:35pm UTC](https://forum.ansible.com/t/how-to-convert-this-to-ansible/8618 "2024-09-19T14:35:30Z")

</div>

Download from: \\…COM\\C\_CFG\_Users\\ittshare\\UCD\\ibm-ucd-agent6.2.7.3.zip to the local machine Copy file in step 1 to the Unix Server Place the ucd agent install package ibm-ucd-agent6.2.7.3.zip in the directory /apps/ude…

---

## [Windows Certificates are not working from AWX](https://forum.ansible.com/t/windows-certificates-are-not-working-from-awx/8586)

<div class="topic-metadata">

**Author:** [@aamir-mansoori](https://forum.ansible.com/u/aamir-mansoori)\
**Replies:** 6\
**Last updated:** [September 19, 2024, 8:04am UTC](https://forum.ansible.com/t/windows-certificates-are-not-working-from-awx/8586 "2024-09-19T08:04:33Z")

</div>

I am trying to ping windows host from AWX Tower with Certificates.: Basically, I created certificates and deployed on all the windows host. When I try to ping the server it is working fine But the same when I…

---

## [Switching to hostnames leads to "Could not match supplied host pattern"](https://forum.ansible.com/t/switching-to-hostnames-leads-to-could-not-match-supplied-host-pattern/8582)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 7\
**Last updated:** [September 19, 2024, 6:13am UTC](https://forum.ansible.com/t/switching-to-hostnames-leads-to-could-not-match-supplied-host-pattern/8582 "2024-09-19T06:13:04Z")

</div>

Hello! after switching to hostnames in awx inventory and added ip via ansible\_host var, the playbook cannot match them anymore. There is an survey for the two hosts Playbook: --- - name: Generate SSH keypair on remot…

---

## [What is recommended path for molecule scenarios? under role or test](https://forum.ansible.com/t/what-is-recommended-path-for-molecule-scenarios-under-role-or-test/8109)

<div class="topic-metadata">

**Author:** [@Abhishek\_Sinha10](https://forum.ansible.com/u/Abhishek_Sinha10)\
**Replies:** 1\
**Last updated:** [September 19, 2024, 2:34am UTC](https://forum.ansible.com/t/what-is-recommended-path-for-molecule-scenarios-under-role-or-test/8109 "2024-09-19T02:34:48Z")

</div>

We normally keep our molecule scenario in our respective role, now we are moving all the molecule scenarios under test/molecule? is there any recommended path for molecule scenarios from Ansible?

---

## [Seeking advice on converting bash oneliners into ansible](https://forum.ansible.com/t/seeking-advice-on-converting-bash-oneliners-into-ansible/8600)

<div class="topic-metadata">

**Author:** [@jringoot](https://forum.ansible.com/u/jringoot)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 10:47pm UTC](https://forum.ansible.com/t/seeking-advice-on-converting-bash-oneliners-into-ansible/8600 "2024-09-18T22:47:30Z")

</div>

Seeking advice on converting bash oneliners into ansible Trying to install the latest glpi-agent on workstations This the code in bash that works, when run as root #!/bin/bash # ensure that perl en curl are installed …

---

## [Iterate over nested list inside a dict](https://forum.ansible.com/t/iterate-over-nested-list-inside-a-dict/8608)

<div class="topic-metadata">

**Author:** [@HexaOrko](https://forum.ansible.com/u/HexaOrko)\
**Replies:** 1\
**Last updated:** [September 18, 2024, 8:59pm UTC](https://forum.ansible.com/t/iterate-over-nested-list-inside-a-dict/8608 "2024-09-18T20:59:15Z")

</div>

hey, i have a little problem maybe someone can help. I want to generate lets encrypt certs with ansible.builtin.acme\_certificate which seems to work, but i need to place the dns records, for this i use community.genera…

---

## [Loop over dictionary when condition met](https://forum.ansible.com/t/loop-over-dictionary-when-condition-met/8601)

<div class="topic-metadata">

**Author:** [@Dexrva](https://forum.ansible.com/u/Dexrva)\
**Replies:** 1\
**Last updated:** [September 18, 2024, 7:57pm UTC](https://forum.ansible.com/t/loop-over-dictionary-when-condition-met/8601 "2024-09-18T19:57:37Z")

</div>

Hi all, I have a problem when I try to loop over dictionary. I need the execution of loop only occurs when the conditional is met but I can’t get it. This is my dictionary: --- remediation\_scripts: - name: "Configure…

---

## [Merging multiple (more than 2) dicts, the correct way](https://forum.ansible.com/t/merging-multiple-more-than-2-dicts-the-correct-way/8592)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 1\
**Last updated:** [September 18, 2024, 4:55pm UTC](https://forum.ansible.com/t/merging-multiple-more-than-2-dicts-the-correct-way/8592 "2024-09-18T16:55:21Z")

</div>

So I know that we’re doing this incorrectly. The question is, how can I do this the correct way? I have a windows.yml group variable file that contains a dict that lists the basic software that machines will need: def…

---

## [I can't get win\_package to install any msi from a samba share](https://forum.ansible.com/t/i-cant-get-win-package-to-install-any-msi-from-a-samba-share/8577)

<div class="topic-metadata">

**Author:** [@Gabriel](https://forum.ansible.com/u/Gabriel)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 2:02pm UTC](https://forum.ansible.com/t/i-cant-get-win-package-to-install-any-msi-from-a-samba-share/8577 "2024-09-18T14:02:19Z")

</div>

I have a samba share that has read and execute permissions to everybody. I can use win\_package to install .exe installers from there, but MSIs just hang forever. Calling the same MSI from a https URL works, and running w…

---

## [Awx- Restore db from external dump file](https://forum.ansible.com/t/awx-restore-db-from-external-dump-file/8584)

<div class="topic-metadata">

**Author:** [@amE\_168](https://forum.ansible.com/u/amE_168)\
**Replies:** 0\
**Last updated:** [September 18, 2024, 8:41am UTC](https://forum.ansible.com/t/awx-restore-db-from-external-dump-file/8584 "2024-09-18T08:41:28Z")

</div>

Hi guys, I have a question regarding possible AWX configuration scenarios, I installed an RPM version of ansible , and then the k3s clustered version using minikube. After dumping the DB on the RPM version I would like …

---

## [Ansible python interpreter](https://forum.ansible.com/t/ansible-python-interpreter/8500)

<div class="topic-metadata">

**Author:** [@Chandra\_Mukherjee](https://forum.ansible.com/u/Chandra_Mukherjee)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 7:17am UTC](https://forum.ansible.com/t/ansible-python-interpreter/8500 "2024-09-18T07:17:09Z")

</div>

Hi All, I am trying to execute an ansible playbook using github actions but it is failing with the below error: “Failed to import the required Python library (psycopg2) on fv-az1811-354’s Python /opt/pipx/venvs/ansible…

---

## [Case or if/else logic in 'when'](https://forum.ansible.com/t/case-or-if-else-logic-in-when/8320)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 6\
**Last updated:** [September 18, 2024, 3:43am UTC](https://forum.ansible.com/t/case-or-if-else-logic-in-when/8320 "2024-09-18T03:43:47Z")

</div>

I want to install packages on several hosts. 1.mydomain.org 2.mydomain.org 3.mydomain.org now I have 3 lists in a defaults-file packages\_1: - vim - git packages\_2: - nano - less packages\_3: - zsh - go m…

---

## [Constructed Inventory does not get passed extra vars - AWX](https://forum.ansible.com/t/constructed-inventory-does-not-get-passed-extra-vars-awx/3848)

<div class="topic-metadata">

**Author:** [@j-oss2023](https://forum.ansible.com/u/j-oss2023)\
**Replies:** 1\
**Last updated:** [September 17, 2024, 8:32pm UTC](https://forum.ansible.com/t/constructed-inventory-does-not-get-passed-extra-vars-awx/3848 "2024-09-17T20:32:06Z")

</div>

I will start by stating that I already have an issue with GitHub, just adding here for more exposure and hopefully a solution… Installation method docker development environment Modifications no Ansible version 2.15…

---

## [Collections on AAP running on ARO](https://forum.ansible.com/t/collections-on-aap-running-on-aro/6635)

<div class="topic-metadata">

**Author:** [@dpearso2](https://forum.ansible.com/u/dpearso2)\
**Replies:** 1\
**Last updated:** [September 17, 2024, 4:10pm UTC](https://forum.ansible.com/t/collections-on-aap-running-on-aro/6635 "2024-09-17T16:10:22Z")

</div>

\*I’ve installed AAP on a managed Openshift cluster in Azure (ARO). How do I get collections to work when I don’t have access to edit requirements.yml file.

---

## [How to run install script on Ansible?](https://forum.ansible.com/t/how-to-run-install-script-on-ansible/8548)

<div class="topic-metadata">

**Author:** [@mk123](https://forum.ansible.com/u/mk123)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 2:56pm UTC](https://forum.ansible.com/t/how-to-run-install-script-on-ansible/8548 "2024-09-17T14:56:52Z")

</div>

I have a shell script ./install-agent.sh and wish to run it on Ansible; how do I run it?

---

## [Job tag list? (have cluster servers failing patching run)](https://forum.ansible.com/t/job-tag-list-have-cluster-servers-failing-patching-run/8551)

<div class="topic-metadata">

**Author:** [@that\_it\_girl](https://forum.ansible.com/u/that_it_girl)\
**Replies:** 1\
**Last updated:** [September 17, 2024, 2:42pm UTC](https://forum.ansible.com/t/job-tag-list-have-cluster-servers-failing-patching-run/8551 "2024-09-17T14:42:00Z")

</div>

hey everyone. i’m fairly new to ansible and only have experience with the web console. i have a group of servers and 2 of them are part of a cluster. the job fails on trying to snapshot said servers. I’m wondering if it…

---

## [Could not match supplied host pattern, ignoring:](https://forum.ansible.com/t/could-not-match-supplied-host-pattern-ignoring/8463)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 3\
**Last updated:** [September 17, 2024, 1:24pm UTC](https://forum.ansible.com/t/could-not-match-supplied-host-pattern-ignoring/8463 "2024-09-17T13:24:59Z")

</div>

Hello! Id like to use fron anther project what functioned for a diffrent cause: move db from servers wih survey, bbut i get this message and tomehow the host gets the wrong ip from the dest var. my hosts i edited …

---

## [AWX dashboard job graph into Grafana](https://forum.ansible.com/t/awx-dashboard-job-graph-into-grafana/6777)

<div class="topic-metadata">

**Author:** [@amvj](https://forum.ansible.com/u/amvj)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 6:39am UTC](https://forum.ansible.com/t/awx-dashboard-job-graph-into-grafana/6777 "2024-09-17T06:39:23Z")

</div>

I am trying to display the AWX dashboard job status graph in Grafana. We are sending the AWX metrics to Prometheus. So we are trying to display with the Prometheus data. While I try to add query in the Grafana, the data …

---

## [Ansible-runner run, User SSH key / SSH agent not mounting inside EE](https://forum.ansible.com/t/ansible-runner-run-user-ssh-key-ssh-agent-not-mounting-inside-ee/8470)

<div class="topic-metadata">

**Author:** [@jreenberg](https://forum.ansible.com/u/jreenberg)\
**Replies:** 3\
**Last updated:** [September 16, 2024, 10:34pm UTC](https://forum.ansible.com/t/ansible-runner-run-user-ssh-key-ssh-agent-not-mounting-inside-ee/8470 "2024-09-16T22:34:30Z")

</div>

I have build an EE, and I am now trying to use it through ansible-runner, but it seriously seems like ansible-runner is not ment to be used manually. I am currently using version 2.4.0 of ansible runner in on a RHEL8 bo…

---

## [Need help with task template Args and Survey sections](https://forum.ansible.com/t/need-help-with-task-template-args-and-survey-sections/8302)

<div class="topic-metadata">

**Author:** [@jg1000c](https://forum.ansible.com/u/jg1000c)\
**Replies:** 9\
**Last updated:** [September 16, 2024, 8:45pm UTC](https://forum.ansible.com/t/need-help-with-task-template-args-and-survey-sections/8302 "2024-09-16T20:45:28Z")

</div>

Hi, It looks like the documentation for Semaphore UI needs to be updated for the Args section when creating a new task tempate. I’m not clear on what a valid value should be. For example force\_reboot=yes, force\_reboot:y…

---

## [Ansible-lint name\[template\] with multiple vars](https://forum.ansible.com/t/ansible-lint-name-template-with-multiple-vars/8530)

<div class="topic-metadata">

**Author:** [@falon](https://forum.ansible.com/u/falon)\
**Replies:** 5\
**Last updated:** [September 16, 2024, 6:35pm UTC](https://forum.ansible.com/t/ansible-lint-name-template-with-multiple-vars/8530 "2024-09-16T18:35:17Z")

</div>

Hello, I ask an help to avoid this error: name\[template\]: Jinja templates should only be at the end of 'name' roles/role\_name/tasks/main.yml:39 Task/Handler: Copy file in {{ role\_name\_conf.dest }} of {{ role\_name\_serve…

---

## [Ansible-lint --fix and comparison operators](https://forum.ansible.com/t/ansible-lint-fix-and-comparison-operators/8529)

<div class="topic-metadata">

**Author:** [@falon](https://forum.ansible.com/u/falon)\
**Replies:** 1\
**Last updated:** [September 16, 2024, 6:09pm UTC](https://forum.ansible.com/t/ansible-lint-fix-and-comparison-operators/8529 "2024-09-16T18:09:01Z")

</div>

Hello, just an annoying note… I see that ansible-lint --fix provides this change: when: - - ansible\_os\_family == 'RedHat' or - ansible\_os\_family == 'Debian' or - ansible\_os\_family == 'Windows' + - an…

---

## [Vmware\_drs\_group\_manager module issue](https://forum.ansible.com/t/vmware-drs-group-manager-module-issue/8536)

<div class="topic-metadata">

**Author:** [@Utku\_Ozcan](https://forum.ansible.com/u/Utku_Ozcan)\
**Replies:** 1\
**Last updated:** [September 16, 2024, 5:34pm UTC](https://forum.ansible.com/t/vmware-drs-group-manager-module-issue/8536 "2024-09-16T17:34:25Z")

</div>

Hello, We have an PROD Ansible Automation Platform which is version 2.3. So, we can use community.vmware.vmware\_drs\_group\_manager module with using correct execution environment without facing any issue for adding VM to…

---

## [Running a local container registry for Execution Environments](https://forum.ansible.com/t/running-a-local-container-registry-for-execution-environments/206)

<div class="topic-metadata">

**Author:** [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Replies:** 8\
**Last updated:** [September 16, 2024, 8:30am UTC](https://forum.ansible.com/t/running-a-local-container-registry-for-execution-environments/206 "2024-09-16T08:30:33Z")

</div>

Running a local container registry for Execution Environments After building an execution environment container image, you can push it to a registry and use on your other machines with ansible-navigator or in Ansible AWX…

---

## [Privilege escalation - sudo error ansible.posix.sysctl](https://forum.ansible.com/t/privilege-escalation-sudo-error-ansible-posix-sysctl/8482)

<div class="topic-metadata">

**Author:** [@pepite](https://forum.ansible.com/u/pepite)\
**Replies:** 6\
**Last updated:** [September 16, 2024, 7:26am UTC](https://forum.ansible.com/t/privilege-escalation-sudo-error-ansible-posix-sysctl/8482 "2024-09-16T07:26:07Z")

</div>

Hi everybody, i need help please :wink: about escalation with sudo and the module ansible.posix.sysctl In host\_vars file : ansible\_user : admabord ansible\_password : xxxxx ansible\_become\_user: admtech ansible\_becom…

---

## [Gcloud auth login inside playbook](https://forum.ansible.com/t/gcloud-auth-login-inside-playbook/8508)

<div class="topic-metadata">

**Author:** [@Chandra\_Mukherjee](https://forum.ansible.com/u/Chandra_Mukherjee)\
**Replies:** 0\
**Last updated:** [September 14, 2024, 4:34pm UTC](https://forum.ansible.com/t/gcloud-auth-login-inside-playbook/8508 "2024-09-14T16:34:42Z")

</div>

Hi All, I am trying to run a ansible playbook inside a github workflows, the playbook needs cloud sql proxy to connect to private google cloud sql instance. Below is the snippet of my github workflows pipeline: name: A…

---

## [Ansible playbook profiling](https://forum.ansible.com/t/ansible-playbook-profiling/8487)

<div class="topic-metadata">

**Author:** [@lilian-granqvist](https://forum.ansible.com/u/lilian-granqvist)\
**Replies:** 1\
**Last updated:** [September 13, 2024, 11:22am UTC](https://forum.ansible.com/t/ansible-playbook-profiling/8487 "2024-09-13T11:22:03Z")

</div>

I’ve tried to enable the following setting in the ansible.cfg, but i’m not getting in play recap any task durations. Am I missing something still ? \[defaults\] callback\_enabled = ansible.posix.profile\_tasks, ansible.pos…

---

## [Template variable and host file](https://forum.ansible.com/t/template-variable-and-host-file/8454)

<div class="topic-metadata">

**Author:** [@luca219](https://forum.ansible.com/u/luca219)\
**Replies:** 2\
**Last updated:** [September 13, 2024, 9:38am UTC](https://forum.ansible.com/t/template-variable-and-host-file/8454 "2024-09-13T09:38:23Z")

</div>

I use ansible to send update command in my devices. To complete this task I might specific serial number. I would set or ansible\_host in my template.yml or set serial\_number in my ansible\_host in host file. I can’t fi…

---

## [Include default variables based on conditions](https://forum.ansible.com/t/include-default-variables-based-on-conditions/8433)

<div class="topic-metadata">

**Author:** [@guenther](https://forum.ansible.com/u/guenther)\
**Replies:** 2\
**Last updated:** [September 13, 2024, 9:22am UTC](https://forum.ansible.com/t/include-default-variables-based-on-conditions/8433 "2024-09-13T09:22:47Z")

</div>

Hi, I’m using and help maintaining the role GitHub - riemers/ansible-gitlab-runner: Ansible role to install gitlab-runner In this role, there in one defaults/main.yml which defines a few good general default values. Ad…

---

## [How to target hosts in event driven ansible rulebook?](https://forum.ansible.com/t/how-to-target-hosts-in-event-driven-ansible-rulebook/8468)

<div class="topic-metadata">

**Author:** [@misch42](https://forum.ansible.com/u/misch42)\
**Replies:** 1\
**Last updated:** [September 13, 2024, 8:07am UTC](https://forum.ansible.com/t/how-to-target-hosts-in-event-driven-ansible-rulebook/8468 "2024-09-13T08:07:51Z")

</div>

Hi, I have seen the documentation of EDA. All describe a rulebook that executes a playbook that is running on the localhost. I did not find an example for a rulebook that executes a playbook on a remote host. Any ideas…

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

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