# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=21

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

**Page:** 22

---

## [handling error codes](https://forum.ansible.com/t/handling-error-codes/38279)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 2\
**Last updated:** [July 31, 2023, 3:53pm UTC](https://forum.ansible.com/t/handling-error-codes/38279 "2023-07-31T15:53:35Z")

</div>

Hi , I have a playbook with the below lines . $ cat double\_check.yml

---

## [Pause task taking more](https://forum.ansible.com/t/pause-task-taking-more/38281)

<div class="topic-metadata">

**Author:** [@Dhirender\_Yadav](https://forum.ansible.com/u/Dhirender_Yadav)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 3:33pm UTC](https://forum.ansible.com/t/pause-task-taking-more/38281 "2023-07-31T15:33:46Z")

</div>

Hi Team, We have observed that sometimes simple pause tasks take more time. 2023-07-31 02:57:46,826 p=103684 u=test n=ansible | TASK \[apache\_cassandra : Pause for 2 minutes for the cluster to form (test)\] \*\*\* 2023-07-…

---

## [Issue with Ruby version on target system](https://forum.ansible.com/t/issue-with-ruby-version-on-target-system/38274)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 3\
**Last updated:** [July 31, 2023, 2:49pm UTC](https://forum.ansible.com/t/issue-with-ruby-version-on-target-system/38274 "2023-07-31T14:49:02Z")

</div>

I have a role that will install Redmine onto a RHEL 8 system. When I run the playbook and it tries to install “bundler”, I get the following error: ERROR: Error installing bundler: bundler requires Ruby version \>= 2.6.…

---

## [\[Ansible Project\] how to get the logged in username](https://forum.ansible.com/t/ansible-project-how-to-get-the-logged-in-username/38276)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 6\
**Last updated:** [July 31, 2023, 2:27pm UTC](https://forum.ansible.com/t/ansible-project-how-to-get-the-logged-in-username/38276 "2023-07-31T14:27:25Z")

</div>

Hi All, I searched a quite but could able to find what I wanted Could any pls suggest me how to get the Username in the host machine. In Linux if I run the below command I get what I suppose to get but don’t know how t…

---

## [builtin.expect question](https://forum.ansible.com/t/builtin-expect-question/38254)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Reis](https://forum.ansible.com/u/Rodrigo_Reis)\
**Replies:** 4\
**Last updated:** [July 30, 2023, 6:55pm UTC](https://forum.ansible.com/t/builtin-expect-question/38254 "2023-07-30T18:55:45Z")

</div>

Hello Everyone! I trying to install ohmyzsh using ansible inside of a bigger yml file with a bunch of other sutff. in hte ansible.builtin.expect block the goal is to anwser one installation question but it waits for th…

---

## [Creating my first Action plugin and have a few questions](https://forum.ansible.com/t/creating-my-first-action-plugin-and-have-a-few-questions/38275)

<div class="topic-metadata">

**Author:** [@Kent\_Larsson](https://forum.ansible.com/u/Kent_Larsson)\
**Replies:** 1\
**Last updated:** [July 29, 2023, 4:41am UTC](https://forum.ansible.com/t/creating-my-first-action-plugin-and-have-a-few-questions/38275 "2023-07-29T04:41:07Z")

</div>

Hello folks! I’m creating an Action plugin to query a file for contents. I aim to publish it at Ansible Galaxy for myself to use, and perhaps it will be useful for someone else as well. It’s my first Ansible plugin, an…

---

## [Https access 'Unauthorized' AWX operator on k3s](https://forum.ansible.com/t/https-access-unauthorized-awx-operator-on-k3s/38267)

<div class="topic-metadata">

**Author:** [@Mark\_Orrell\_Dendroas](https://forum.ansible.com/u/Mark_Orrell_Dendroas)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 8:31pm UTC](https://forum.ansible.com/t/https-access-unauthorized-awx-operator-on-k3s/38267 "2023-07-28T20:31:13Z")

</div>

Hi there, Really sorry I’m a bit of a noob and trying to get stuck into CI CD. I’ve managed a k3s cluster and have a few bits and pieces running successfully. But when I’ve deployed awx operator, I’m unable to access …

---

## [Can't use sudo with AWX](https://forum.ansible.com/t/cant-use-sudo-with-awx/38273)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 5:50pm UTC](https://forum.ansible.com/t/cant-use-sudo-with-awx/38273 "2023-07-28T17:50:28Z")

</div>

sudo: command not found you need to make sure sudo is installed on whatever hosts this playbook targets AWX Team

---

## [\[Ansible Project\] Not able to process the shell command in control node](https://forum.ansible.com/t/ansible-project-not-able-to-process-the-shell-command-in-control-node/38272)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 6\
**Last updated:** [July 28, 2023, 3:37pm UTC](https://forum.ansible.com/t/ansible-project-not-able-to-process-the-shell-command-in-control-node/38272 "2023-07-28T15:37:47Z")

</div>

Hi Experts, Need your suggestion pls. The below one is ansible file which calls an python file in the control node(localhost) and process an excel file which is also present in control node based on hostnames. There is…

---

## [Questions regarding #12815 issue: redirecting the user after auth](https://forum.ansible.com/t/questions-regarding-12815-issue-redirecting-the-user-after-auth/38206)

<div class="topic-metadata">

**Author:** [@Sasa\_Jovicic](https://forum.ansible.com/u/Sasa_Jovicic)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 2:55pm UTC](https://forum.ansible.com/t/questions-regarding-12815-issue-redirecting-the-user-after-auth/38206 "2023-07-28T14:55:13Z")

</div>

I would like to work on this issue, but I am total newbie with AWX, so I have some questions. @marshmalien pointed out some things I should pay attention to while working on this (PR: https://github.com/ansible/awx/pull/…

---

## [deferred evaluation (?)](https://forum.ansible.com/t/deferred-evaluation/38270)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 3:27am UTC](https://forum.ansible.com/t/deferred-evaluation/38270 "2023-07-28T03:27:31Z")

</div>

I’m trying to loop over a set of strings with ansible.builtin.debug, and I want to produce a three-part message for each string, like this: name: Demo expressions ansible.builtin.debug: msg: ‘{{ item }}’ ‘evaluate it…

---

## [edit string in a multi-line file](https://forum.ansible.com/t/edit-string-in-a-multi-line-file/38266)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 5\
**Last updated:** [July 27, 2023, 7:42pm UTC](https://forum.ansible.com/t/edit-string-in-a-multi-line-file/38266 "2023-07-27T19:42:33Z")

</div>

I am trying to edit a string in a multi-line file. For instance, if I had this string: This is a file and I am editing it I want to add the string “new” in front of file if it does not exist already. I’ve tried linein…

---

## [Automation node start up time tracking](https://forum.ansible.com/t/automation-node-start-up-time-tracking/38214)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 5\
**Last updated:** [July 27, 2023, 4:55pm UTC](https://forum.ansible.com/t/automation-node-start-up-time-tracking/38214 "2023-07-27T16:55:21Z")

</div>

What can delay automation node start-up time? I have 2 instances of AWX up and running. When I run the same play in each instance the one completes the job in 7 seconds and the other in 14. In both instances, from the m…

---

## [Ansible Tower error of Deploying Dynatrace Oneagent on Windows Host | "unexpected rc from install C:\\Temp\\dynatrace-oneagent-windows-latest.exe: see rc, stdout and stderr for more details", "rc": 1602, "reboot\_required"](https://forum.ansible.com/t/ansible-tower-error-of-deploying-dynatrace-oneagent-on-windows-host-unexpected-rc-from-install-c-temp-dynatrace-oneagent-windows-latest-exe-see-rc-stdout-and-stderr-for-more-details-rc-1602-reboot-required/32636)

<div class="topic-metadata">

**Author:** [@Richard\_Jusay](https://forum.ansible.com/u/Richard_Jusay)\
**Replies:** 2\
**Last updated:** [July 27, 2023, 3:35pm UTC](https://forum.ansible.com/t/ansible-tower-error-of-deploying-dynatrace-oneagent-on-windows-host-unexpected-rc-from-install-c-temp-dynatrace-oneagent-windows-latest-exe-see-rc-stdout-and-stderr-for-more-details-rc-1602-reboot-required/32636 "2023-07-27T15:35:17Z")

</div>

Hi, I’m installing Dynatrace oneagent on Windows server, successfully downloaded the installer but it wont continue the installation because of this error. Ansible Tower Play: dynatrace oneagent install on windows Ta…

---

## [escalation problem with 'copy' TASK](https://forum.ansible.com/t/escalation-problem-with-copy-task/38263)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [July 27, 2023, 7:22am UTC](https://forum.ansible.com/t/escalation-problem-with-copy-task/38263 "2023-07-27T07:22:48Z")

</div>

I have a copy TASK

---

## [Operator for configuring AWX](https://forum.ansible.com/t/operator-for-configuring-awx/38213)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 6\
**Last updated:** [July 26, 2023, 10:37pm UTC](https://forum.ansible.com/t/operator-for-configuring-awx/38213 "2023-07-26T22:37:34Z")

</div>

Would an operator to maintain the projects, credentials, job templates etc in AWX be feasible? Is there an effort ongoing to create one?

---

## [Date Time Conversion](https://forum.ansible.com/t/date-time-conversion/38261)

<div class="topic-metadata">

**Author:** [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Replies:** 3\
**Last updated:** [July 26, 2023, 7:25pm UTC](https://forum.ansible.com/t/date-time-conversion/38261 "2023-07-26T19:25:38Z")

</div>

Hi All, I want to convert the below time to human readable format, i tried some of the jinza formatter but it is failing . Failed {{ iso\_date|iso8601\_to\_time|datetimeformat(‘%a, %B %d’) }} requirement 2023-07-20 16:3…

---

## [Unable to deploy the AWX tower on Kubernetes(EKS)](https://forum.ansible.com/t/unable-to-deploy-the-awx-tower-on-kubernetes-eks/38124)

<div class="topic-metadata">

**Author:** [@RAVI1](https://forum.ansible.com/u/RAVI1)\
**Replies:** 8\
**Last updated:** [July 26, 2023, 6:48pm UTC](https://forum.ansible.com/t/unable-to-deploy-the-awx-tower-on-kubernetes-eks/38124 "2023-07-26T18:48:37Z")

</div>

Hello, We have been using AWX1.0.0 on EKS with external Postgress DB(AWS RDS postgress), which is up and running now on our clusters. I was trying to deploy the same thing on different clusters, which is not getting up …

---

## [Complex variables in the survey.](https://forum.ansible.com/t/complex-variables-in-the-survey/38241)

<div class="topic-metadata">

**Author:** [@Lyon\_Alves\_do\_Carmo](https://forum.ansible.com/u/Lyon_Alves_do_Carmo)\
**Replies:** 1\
**Last updated:** [July 26, 2023, 6:39pm UTC](https://forum.ansible.com/t/complex-variables-in-the-survey/38241 "2023-07-26T18:39:17Z")

</div>

Hey guys ! I’m new to AWX Tower here in the community! I have these variables in a json file: “#Musers”: groupKey: “email@01” role: “MEMBER” “Time Produto”: groupKey: “email@02” role: “MEMBER” How do I write it in th…

---

## [TASK \[Check DB connection\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[localhost\]: FAILED! =\> {"changed": false, "msg": "unable to connect, chec](https://forum.ansible.com/t/task-check-db-connection-fatal-localhost-failed-changed-false-msg-unable-to-connect-chec/38183)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 7\
**Last updated:** [July 26, 2023, 5:03pm UTC](https://forum.ansible.com/t/task-check-db-connection-fatal-localhost-failed-changed-false-msg-unable-to-connect-chec/38183 "2023-07-26T17:03:54Z")

</div>

Any idea about this error, the username and password are correct those are dbo creds. I am able to connect through ssms with the same creds but not working through ansible also I don’t see @sysconfdir@/freetds.conf / ${…

---

## [Variable to be selected from the options](https://forum.ansible.com/t/variable-to-be-selected-from-the-options/38262)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 2:44pm UTC](https://forum.ansible.com/t/variable-to-be-selected-from-the-options/38262 "2023-07-26T14:44:35Z")

</div>

Hi, I have the below variable defined in my playbook. reboot\_option: IfRequired Never Always while calling the same variable from the playbook , the value "IfRequired’ must be the default. “rebootSetting”: “{{ rebo…

---

## [Is there a way to get job running Start/Finish time from tower .](https://forum.ansible.com/t/is-there-a-way-to-get-job-running-start-finish-time-from-tower/38257)

<div class="topic-metadata">

**Author:** [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 12:07pm UTC](https://forum.ansible.com/t/is-there-a-way-to-get-job-running-start-finish-time-from-tower/38257 "2023-07-26T12:07:02Z")

</div>

Hi All Is there a way to get job running Start/Finish time from tower .

---

## [inventory works ad-hoc but not for playbooks](https://forum.ansible.com/t/inventory-works-ad-hoc-but-not-for-playbooks/38260)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 9:09am UTC](https://forum.ansible.com/t/inventory-works-ad-hoc-but-not-for-playbooks/38260 "2023-07-26T09:09:06Z")

</div>

i have an inventory vm-414001-0315.ini that looks like this \[vm-414001-0315\] vm-414001-0315.step.zrz.dvz.cn-mv.de this works wit ad-hoc commands but throws an error with ansible-playbook #######################…

---

## [High availability AWX](https://forum.ansible.com/t/high-availability-awx/38203)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 6:48am UTC](https://forum.ansible.com/t/high-availability-awx/38203 "2023-07-26T06:48:15Z")

</div>

Hi All, AWX can be deployed on K8s which can provide a measure of high availability by increasing the pod replica count above 1 and spreading pods across multiple K8s nodes. Is there a higher order way of creating AWX r…

---

## [debconf multiselect is converted to string](https://forum.ansible.com/t/debconf-multiselect-is-converted-to-string/38259)

<div class="topic-metadata">

**Author:** [@Ann\_Elliott](https://forum.ansible.com/u/Ann_Elliott)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 4:02pm UTC](https://forum.ansible.com/t/debconf-multiselect-is-converted-to-string/38259 "2023-07-25T16:02:46Z")

</div>

While debconf is working for me just fine when setting string values, when I try to use vtype: multiselect, my list is converted into a string and only the last item gets selected. The relevant section of the yaml file: …

---

## [how to install window patches on Multiple Servers thru Ansible](https://forum.ansible.com/t/how-to-install-window-patches-on-multiple-servers-thru-ansible/38258)

<div class="topic-metadata">

**Author:** [@DushYant\_Parmar](https://forum.ansible.com/u/DushYant_Parmar)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 2:41pm UTC](https://forum.ansible.com/t/how-to-install-window-patches-on-multiple-servers-thru-ansible/38258 "2023-07-25T14:41:13Z")

</div>

How to install window patches on multiple servers parallel Flow is Copy the patch file from the central server to the destination server Installation start parallel on multiple servers once the installation is complet…

---

## [azure.azcollection azure\_rm.yml inventory plugin failing to use az login credentials in execution environment](https://forum.ansible.com/t/azure-azcollection-azure-rm-yml-inventory-plugin-failing-to-use-az-login-credentials-in-execution-environment/38255)

<div class="topic-metadata">

**Author:** [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Replies:** 2\
**Last updated:** [July 25, 2023, 11:45am UTC](https://forum.ansible.com/t/azure-azcollection-azure-rm-yml-inventory-plugin-failing-to-use-az-login-credentials-in-execution-environment/38255 "2023-07-25T11:45:24Z")

</div>

Hi all, I was looking for some help debugging an unusual issue I’m seeing with azure.azcollection and the azure-cli in an Ansible execution environment. TL;DR, if I manually build a container, pip install ansible-core,…

---

## [Using Ansible how to connect Oracle DB on Linux & run command "show pdb" to display oracle pluggable DB, "shutdown immediate" to stop DB and start DB](https://forum.ansible.com/t/using-ansible-how-to-connect-oracle-db-on-linux-run-command-show-pdb-to-display-oracle-pluggable-db-shutdown-immediate-to-stop-db-and-start-db/38252)

<div class="topic-metadata">

**Author:** [@Learner](https://forum.ansible.com/u/Learner)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 6:55am UTC](https://forum.ansible.com/t/using-ansible-how-to-connect-oracle-db-on-linux-run-command-show-pdb-to-display-oracle-pluggable-db-shutdown-immediate-to-stop-db-and-start-db/38252 "2023-07-25T06:55:07Z")

</div>

Hi All, Using Ansible how to connect Oracle DB on Linux & run command “show pdb” to display oracle pluggable DB, “shutdown immediate” to stop DB and start DB. Code: - name: Run show pdbs shell: | {{ oracle\_home }}/bi…

---

## [issue while runing script](https://forum.ansible.com/t/issue-while-runing-script/38248)

<div class="topic-metadata">

**Author:** [@Saillesh\_Satam](https://forum.ansible.com/u/Saillesh_Satam)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 7:29pm UTC](https://forum.ansible.com/t/issue-while-runing-script/38248 "2023-07-24T19:29:48Z")

</div>

I am getting below error FAILED! =\> {“changed”: false, “msg”: “The Python 2 yum module is needed for this module. If you require Python 3 support use the dnf Ansible module instead.”} Please help

---

## [AWX 22.5 upgrade on 2 K8S cluster - facing issue with Load balancer - Urgent business is down](https://forum.ansible.com/t/awx-22-5-upgrade-on-2-k8s-cluster-facing-issue-with-load-balancer-urgent-business-is-down/38256)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 0\
**Last updated:** [July 24, 2023, 2:11pm UTC](https://forum.ansible.com/t/awx-22-5-upgrade-on-2-k8s-cluster-facing-issue-with-load-balancer-urgent-business-is-down/38256 "2023-07-24T14:11:19Z")

</div>

We have an AWX with 2 cluster K8S configuration (common external postgress db), with container instances as execution envs. When we fire up only 1 cluster, all works fine. When we bring up the second cluster, the “awx.…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=20)

[Next page](https://forum.ansible.com/c/archives/31.md?page=22)
