# Archives

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

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

**Page:** 29

---

## [Question about source files in an Ansible Collection](https://forum.ansible.com/t/question-about-source-files-in-an-ansible-collection/38071)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 5:29pm UTC](https://forum.ansible.com/t/question-about-source-files-in-an-ansible-collection/38071 "2023-06-08T17:29:51Z")

</div>

I have a collection that I’ve built with numerous roles in it. Under one of the roles, I have a files folder with some files in it used during the role execution. However, I have a situation where 2 of these files keep e…

---

## [ansible upgrade](https://forum.ansible.com/t/ansible-upgrade/38073)

<div class="topic-metadata">

**Author:** [@dbs34](https://forum.ansible.com/u/dbs34)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 5:05pm UTC](https://forum.ansible.com/t/ansible-upgrade/38073 "2023-06-08T17:05:57Z")

</div>

Has anyone had issues with their playbooks running after upgrading from 2.13 to 2.14 of ansible? I kept getting run error from my cisco.\* playbooks. My linux playbooks worked fine however. I backed out the upgrade and no…

---

## [Slack triggered playbook](https://forum.ansible.com/t/slack-triggered-playbook/38074)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 0\
**Last updated:** [June 8, 2023, 4:27pm UTC](https://forum.ansible.com/t/slack-triggered-playbook/38074 "2023-06-08T16:27:51Z")

</div>

Looking for help, I have awx installed and work with a few templates that prompts for a host input for limit. I also have a slack installation that I would like to use to launch the template and use the input of host fr…

---

## [register output of shell command](https://forum.ansible.com/t/register-output-of-shell-command/38072)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 2:41pm UTC](https://forum.ansible.com/t/register-output-of-shell-command/38072 "2023-06-08T14:41:59Z")

</div>

I have what I thought was an easy problem to solve. A client has several different set ups of Debian 10 hosts. We are using ansible to install osqueryd and need to install the osqueryd.service file. I am trying to regist…

---

## [Making the production and development/test UIs different.](https://forum.ansible.com/t/making-the-production-and-development-test-uis-different/38059)

<div class="topic-metadata">

**Author:** [@mjksohonet](https://forum.ansible.com/u/mjksohonet)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 7:04pm UTC](https://forum.ansible.com/t/making-the-production-and-development-test-uis-different/38059 "2023-06-07T19:04:39Z")

</div>

Hi, is there any way to differentiate the UI so that it is easy to tell which server I’m connected to, without having to check the URL? Maybe changing the black background to a different colour? I know that there is a…

---

## [SECRET\_KEY Recovery Options](https://forum.ansible.com/t/secret-key-recovery-options/38055)

<div class="topic-metadata">

**Author:** [@ponnurangam\_h](https://forum.ansible.com/u/ponnurangam_h)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 6:53pm UTC](https://forum.ansible.com/t/secret-key-recovery-options/38055 "2023-06-07T18:53:51Z")

</div>

Hi, One of our AWX cluster which was using an external RDS was accidentally destroyed, Now we are unable to decrypt. Is it really possible to get the key from the DB or any other possible way? thanks in advance

---

## [How to retrieve Credentials stored in AWX with API](https://forum.ansible.com/t/how-to-retrieve-credentials-stored-in-awx-with-api/37996)

<div class="topic-metadata">

**Author:** [@abhijeetJanwalkar](https://forum.ansible.com/u/abhijeetJanwalkar)\
**Replies:** 2\
**Last updated:** [June 7, 2023, 6:45pm UTC](https://forum.ansible.com/t/how-to-retrieve-credentials-stored-in-awx-with-api/37996 "2023-06-07T18:45:28Z")

</div>

Hi All, I am looking to fetch credentials stored in AWX/AAP with API. The reason behind this is, we cant use 2 credentials of same type. To overcome this problem, I was thinking if I could use some lookup in the ansib…

---

## [Use SSH Machine credential as ansible\_ssh\_private\_key\_file](https://forum.ansible.com/t/use-ssh-machine-credential-as-ansible-ssh-private-key-file/38046)

<div class="topic-metadata">

**Author:** [@Isiah](https://forum.ansible.com/u/Isiah)\
**Replies:** 3\
**Last updated:** [June 7, 2023, 6:43pm UTC](https://forum.ansible.com/t/use-ssh-machine-credential-as-ansible-ssh-private-key-file/38046 "2023-06-07T18:43:46Z")

</div>

Is it possible to use an SSH private key stored as a credential as the ansible\_ssh\_private\_key\_file value? Im attempting to rotate SSH keys across many and want to store the new SSH keys in AWX and use it on subsequent r…

---

## [terminate the whole play if any fatal errors on any host occurs](https://forum.ansible.com/t/terminate-the-whole-play-if-any-fatal-errors-on-any-host-occurs/38062)

<div class="topic-metadata">

**Author:** [@Edvinas](https://forum.ansible.com/u/Edvinas)\
**Replies:** 7\
**Last updated:** [June 7, 2023, 2:16pm UTC](https://forum.ansible.com/t/terminate-the-whole-play-if-any-fatal-errors-on-any-host-occurs/38062 "2023-06-07T14:16:11Z")

</div>

Hello, My playbook has several hosts, and I have some tasks with assert and fail modules. How to do that if the task gets any fatal error in the play within particular host - the whole play should is terminated ? I tho…

---

## [File system monitoring](https://forum.ansible.com/t/file-system-monitoring/38070)

<div class="topic-metadata">

**Author:** [@Ebrahim\_Kutty](https://forum.ansible.com/u/Ebrahim_Kutty)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 9:17am UTC](https://forum.ansible.com/t/file-system-monitoring/38070 "2023-06-07T09:17:39Z")

</div>

Hi, I want to configure to check the file system free space available everyday and send mail if it is more than 80% . I tried with the below YAML code, but didn’t work.

---

## [creating a csv for a package existing or not existing on remotes](https://forum.ansible.com/t/creating-a-csv-for-a-package-existing-or-not-existing-on-remotes/38067)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [June 6, 2023, 2:43pm UTC](https://forum.ansible.com/t/creating-a-csv-for-a-package-existing-or-not-existing-on-remotes/38067 "2023-06-06T14:43:36Z")

</div>

I want to check whether a certain package is installed on a coupld of servers and create a csv-file from it sub1-rd1533.agrar.portal.local, python3-psycopg2 is missing sub1-rd5194.prod.eakte.rz-abc.local, python3…

---

## [File system status](https://forum.ansible.com/t/file-system-status/38063)

<div class="topic-metadata">

**Author:** [@Ebrahim\_Kutty](https://forum.ansible.com/u/Ebrahim_Kutty)\
**Replies:** 1\
**Last updated:** [June 6, 2023, 12:54pm UTC](https://forum.ansible.com/t/file-system-status/38063 "2023-06-06T12:54:07Z")

</div>

Hi, I want to configure to check the file system free space available everyday and send mail if it is more than 80% . I tried with the below YAML code, but didn’t work.

---

## [AKS architecture design to implement Ansible AWX](https://forum.ansible.com/t/aks-architecture-design-to-implement-ansible-awx/38065)

<div class="topic-metadata">

**Author:** [@nowshada](https://forum.ansible.com/u/nowshada)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 10:46am UTC](https://forum.ansible.com/t/aks-architecture-design-to-implement-ansible-awx/38065 "2023-06-06T10:46:04Z")

</div>

Hi All, We are looking for a architecture design in AKS(Azure Kubernetes Service) perspective of how the AWX containers will be placed in AKS clustering to have HA and DR setup. Kindly help if anyone has done this.

---

## [unarchive for bulk of servers fails](https://forum.ansible.com/t/unarchive-for-bulk-of-servers-fails/38048)

<div class="topic-metadata">

**Author:** [@Swordfish\_Binary](https://forum.ansible.com/u/Swordfish_Binary)\
**Replies:** 4\
**Last updated:** [June 6, 2023, 10:44am UTC](https://forum.ansible.com/t/unarchive-for-bulk-of-servers-fails/38048 "2023-06-06T10:44:03Z")

</div>

Hi, I have an issue where my playbook is able to push the tar.gz files to the central servers without any issues, but when it comes to large inventories it fails to upload the files to the central servers, I get an error…

---

## [JOB | Linux Sysadmin (London, UK)](https://forum.ansible.com/t/job-linux-sysadmin-london-uk/38051)

<div class="topic-metadata">

**Author:** [@ghost\_advocate](https://forum.ansible.com/u/ghost_advocate)\
**Replies:** 4\
**Last updated:** [June 5, 2023, 4:45pm UTC](https://forum.ansible.com/t/job-linux-sysadmin-london-uk/38051 "2023-06-05T16:45:40Z")

</div>

Hello, I'm working with an employer that is looking to hire a Linux sysadmin with terraform, ansible and python experience for an infrastructure position in London. I had hoped some members of this group may like to …

---

## [get\_url ... donlwoading html, nt raw content](https://forum.ansible.com/t/get-url-donlwoading-html-nt-raw-content/38058)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 1\
**Last updated:** [June 5, 2023, 1:36pm UTC](https://forum.ansible.com/t/get-url-donlwoading-html-nt-raw-content/38058 "2023-06-05T13:36:46Z")

</div>

I want to download a .j2 file from a local bitbucket repository to a local folder.

---

## [check connectivity (telnet \<ip\_address\> \<port\>](https://forum.ansible.com/t/check-connectivity-telnet-ip-address-port/38054)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 5\
**Last updated:** [June 5, 2023, 11:37am UTC](https://forum.ansible.com/t/check-connectivity-telnet-ip-address-port/38054 "2023-06-05T11:37:09Z")

</div>

hi, I am running a playbook og a couple of postgres-remotes who play different roles in a complex server landscape. Now I want to check to check whether i.e. postgres1 has a connection via port 5432 to a specific IP ad…

---

## [item variable not defined loop does not work well with stdout\_lines](https://forum.ansible.com/t/item-variable-not-defined-loop-does-not-work-well-with-stdout-lines/38057)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 0\
**Last updated:** [June 4, 2023, 8:02pm UTC](https://forum.ansible.com/t/item-variable-not-defined-loop-does-not-work-well-with-stdout-lines/38057 "2023-06-04T20:02:04Z")

</div>

The inconsistencies in your indentation lead me to suspect you are withholding evidence. :slight\_smile: Assuming your code is this: \<b\>- name: check previous kafka broker server.properties shell: "ps -ef | grep -i kaf…

---

## [item undefined when try to use through loop 2nd time](https://forum.ansible.com/t/item-undefined-when-try-to-use-through-loop-2nd-time/38056)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 0\
**Last updated:** [June 4, 2023, 7:39pm UTC](https://forum.ansible.com/t/item-undefined-when-try-to-use-through-loop-2nd-time/38056 "2023-06-04T19:39:37Z")

</div>

Code: name: check previous kafka broker server.properties shell: “ps -ef | grep -i kafka | grep -i server.properties | awk ‘{print $NF}’” register: serverfile tags: upgrade upgrade12 name: debug grepout s…

---

## [Recovering from catastrophic failures](https://forum.ansible.com/t/recovering-from-catastrophic-failures/36649)

<div class="topic-metadata">

**Author:** [@tin](https://forum.ansible.com/u/tin)\
**Replies:** 2\
**Last updated:** [June 4, 2023, 4:59pm UTC](https://forum.ansible.com/t/recovering-from-catastrophic-failures/36649 "2023-06-04T16:59:42Z")

</div>

We are running 19.3.0 with awx-operator 0.14.0 on k8s. We suffered catastrophic failures and lost the cluster. The only thing we have is the external pair of postgresql. The data is fine. How do we recover from this? Lo…

---

## [role with in a role](https://forum.ansible.com/t/role-with-in-a-role/38033)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 12\
**Last updated:** [June 2, 2023, 8:46pm UTC](https://forum.ansible.com/t/role-with-in-a-role/38033 "2023-06-02T20:46:09Z")

</div>

I am trying a playbook for a role and calling another role with in it. role1 where i am running playbook need to be executed on windows hosts, role 2 which is being called in role1 needs to be executed on localhost(linu…

---

## [ansible\_become\_pass](https://forum.ansible.com/t/ansible-become-pass/38052)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [June 2, 2023, 8:19pm UTC](https://forum.ansible.com/t/ansible-become-pass/38052 "2023-06-02T20:19:13Z")

</div>

I am trying to run a pb that requires me to enter vault credentials as well as specifying -k for the become pass Is there a way to put the become pass (root) in my vault file? in my host file I have \[esxi\] hostname …

---

## [AWX Syntax error](https://forum.ansible.com/t/awx-syntax-error/38053)

<div class="topic-metadata">

**Author:** [@Jayson\_Paul](https://forum.ansible.com/u/Jayson_Paul)\
**Replies:** 4\
**Last updated:** [June 2, 2023, 6:02pm UTC](https://forum.ansible.com/t/awx-syntax-error/38053 "2023-06-02T18:02:21Z")

</div>

Hey all, I’ve been debugging this weird issue with awx recently. It looks related to these issues but they contain no resolution and one pointed me here: https://github.com/ansible/ansible/issues/56543 https://github.…

---

## [Container/EE Size per Playbook](https://forum.ansible.com/t/container-ee-size-per-playbook/38047)

<div class="topic-metadata">

**Author:** [@abhijeetJanwalkar](https://forum.ansible.com/u/abhijeetJanwalkar)\
**Replies:** 1\
**Last updated:** [June 2, 2023, 5:56pm UTC](https://forum.ansible.com/t/container-ee-size-per-playbook/38047 "2023-06-02T17:56:11Z")

</div>

Hi All, Is there a way to define container/EE size for templates. For example I want one playbook to use a EE/container with say 1 vcpu 512 MB RAM and for another it could be 2 vcpu and 1 GB RAM. The reason I am askin…

---

## [Relationship between awx git tags and awx\_devel container versions?](https://forum.ansible.com/t/relationship-between-awx-git-tags-and-awx-devel-container-versions/38043)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [June 2, 2023, 5:26pm UTC](https://forum.ansible.com/t/relationship-between-awx-git-tags-and-awx-devel-container-versions/38043 "2023-06-02T17:26:39Z")

</div>

I’m trying to build our own docker container image with: su - awx git clone -b 22.3.0 https://github.com/ansible/awx.git cd awx git switch -c release\_4.4 make docker-compose-build I cannot grasp the rational behind…

---

## [AWX error](https://forum.ansible.com/t/awx-error/38041)

<div class="topic-metadata">

**Author:** [@Jayson\_Paul](https://forum.ansible.com/u/Jayson_Paul)\
**Replies:** 2\
**Last updated:** [June 2, 2023, 3:48pm UTC](https://forum.ansible.com/t/awx-error/38041 "2023-06-02T15:48:17Z")

</div>

Hey all, I’ve been debugging this weird issue with awx recently. It looks related to these issues but they contain no resolution and one pointed me here: https://github.com/ansible/ansible/issues/56543 https://github.…

---

## [Gather Facts failed due resolve hostname inventory\_hostname](https://forum.ansible.com/t/gather-facts-failed-due-resolve-hostname-inventory-hostname/38045)

<div class="topic-metadata">

**Author:** [@Bikram](https://forum.ansible.com/u/Bikram)\
**Replies:** 14\
**Last updated:** [June 2, 2023, 3:41pm UTC](https://forum.ansible.com/t/gather-facts-failed-due-resolve-hostname-inventory-hostname/38045 "2023-06-02T15:41:26Z")

</div>

Hello Team, I am trying to run a playbook to gather facts from a nexus switch but playbook run throws an error: ‘Failed to resolve hostname inventory\_hostname’ However, in the debug message, I can see the inventory\_hos…

---

## [create VM from template with customiation spec](https://forum.ansible.com/t/create-vm-from-template-with-customiation-spec/38042)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [June 2, 2023, 11:11am UTC](https://forum.ansible.com/t/create-vm-from-template-with-customiation-spec/38042 "2023-06-02T11:11:48Z")

</div>

I want to create vm in vsphere from template and customize OS with customization spec I am not sure how to apply a customization spec in ansible. any idea? will something like this work

---

## [unable to run esxcli command with ansible](https://forum.ansible.com/t/unable-to-run-esxcli-command-with-ansible/38044)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [June 1, 2023, 6:29pm UTC](https://forum.ansible.com/t/unable-to-run-esxcli-command-with-ansible/38044 "2023-06-01T18:29:17Z")

</div>

i got below pb name: test hosts: all gather\_facts: no vars\_files: vcenter\_creds.yml vars.yml tasks: name: Enable SSH service vmware\_host\_service\_manager: hostname: “{{ vcenter\_hostname }}” username: “{…

---

## [Systemd service status check](https://forum.ansible.com/t/systemd-service-status-check/38039)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 10\
**Last updated:** [May 31, 2023, 5:59pm UTC](https://forum.ansible.com/t/systemd-service-status-check/38039 "2023-05-31T17:59:51Z")

</div>

I am trying to run my playbook to check/restart/stop kestrel service on given node. I am able to ping that node using ansible but when running the task its is failing with connection timeout error. here is the playbook

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

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