# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=19

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

**Page:** 20

---

## [ERROR! A worker was found in a dead state](https://forum.ansible.com/t/error-a-worker-was-found-in-a-dead-state/38084)

<div class="topic-metadata">

**Author:** [@avinash\_avinash](https://forum.ansible.com/u/avinash_avinash)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 1:32pm UTC](https://forum.ansible.com/t/error-a-worker-was-found-in-a-dead-state/38084 "2023-06-12T13:32:40Z")

</div>

I am getting this error, can anyone help on me this please.

---

## [ansible cannot log into server, yet I can ssh in manually](https://forum.ansible.com/t/ansible-cannot-log-into-server-yet-i-can-ssh-in-manually/38083)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 5\
**Last updated:** [June 12, 2023, 1:31pm UTC](https://forum.ansible.com/t/ansible-cannot-log-into-server-yet-i-can-ssh-in-manually/38083 "2023-06-12T13:31:33Z")

</div>

As the title says, I am trying to run an ansible playbook against 10 hosts. All 10 fail stating they cannot connect to the host via ssh. The error sent back from ansible is: “Failed to connect to the host va ssh… Receiv…

---

## [installing ansible-galaxy](https://forum.ansible.com/t/installing-ansible-galaxy/38066)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 3\
**Last updated:** [June 12, 2023, 8:38am UTC](https://forum.ansible.com/t/installing-ansible-galaxy/38066 "2023-06-12T08:38:05Z")

</div>

Hi All, I have an ansible control node, which is the version 2.10.17 i need to install fortigate collection by the command: ansible-galaxy collection install fortinet.fortios but i receive the error message (regardle…

---

## [Ansible Playbook for Gathering and Verifying Access Lists on Cisco Switches](https://forum.ansible.com/t/ansible-playbook-for-gathering-and-verifying-access-lists-on-cisco-switches/38081)

<div class="topic-metadata">

**Author:** [@Alex5](https://forum.ansible.com/u/Alex5)\
**Replies:** 1\
**Last updated:** [June 12, 2023, 5:21am UTC](https://forum.ansible.com/t/ansible-playbook-for-gathering-and-verifying-access-lists-on-cisco-switches/38081 "2023-06-12T05:21:32Z")

</div>

Hi, I need assistance with writing an Ansible playbook. The playbook should be able to gather the access lists available on a Cisco switches and then display which access list is applied to each interface or line vty. I…

---

## [Download Multiple files from same location but with different names](https://forum.ansible.com/t/download-multiple-files-from-same-location-but-with-different-names/38079)

<div class="topic-metadata">

**Author:** [@Amit\_Kulkarni](https://forum.ansible.com/u/Amit_Kulkarni)\
**Replies:** 9\
**Last updated:** [June 11, 2023, 1:52am UTC](https://forum.ansible.com/t/download-multiple-files-from-same-location-but-with-different-names/38079 "2023-06-11T01:52:23Z")

</div>

Hello All, I have the below playbook, I wanted to download the files from gitlab on same path with different names. I have below playbook, As can seen below source path is same but file name is different, I need to hav…

---

## [Ansible-vault is not asking for password when creating a new vault key](https://forum.ansible.com/t/ansible-vault-is-not-asking-for-password-when-creating-a-new-vault-key/38078)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 9:24pm UTC](https://forum.ansible.com/t/ansible-vault-is-not-asking-for-password-when-creating-a-new-vault-key/38078 "2023-06-09T21:24:22Z")

</div>

Ansible-vault is not asking for password when creating a new vault key What does this mean? What commands did you use? What are you trying to achieve?

---

## [Ansible-vault is not asking for password when creating a new vault key](https://forum.ansible.com/t/ansible-vault-is-not-asking-for-password-when-creating-a-new-vault-key/38077)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 5:44pm UTC](https://forum.ansible.com/t/ansible-vault-is-not-asking-for-password-when-creating-a-new-vault-key/38077 "2023-06-09T17:44:37Z")

</div>

Ansible-vault is not asking for password when creating a new vault key ansible \[core 2.11.12\] config file = /etc/ansible/ansible.cfg configured module search path = \[‘/home/user/.ansible/plugins/modules’, ‘/usr/share/…

---

## [ansible python interpreter discovery failing with what appears to be a SIGPIPE return code](https://forum.ansible.com/t/ansible-python-interpreter-discovery-failing-with-what-appears-to-be-a-sigpipe-return-code/38075)

<div class="topic-metadata">

**Author:** [@Joanne\_Martel](https://forum.ansible.com/u/Joanne_Martel)\
**Replies:** 0\
**Last updated:** [June 8, 2023, 9:45pm UTC](https://forum.ansible.com/t/ansible-python-interpreter-discovery-failing-with-what-appears-to-be-a-sigpipe-return-code/38075 "2023-06-08T21:45:00Z")

</div>

I am seeing occasional problems where ansible-playbook fails during python interpreter discovery, and would appreciate any and all advice. The only diagnostics I can find in ansible debug output is what appears to be a …

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [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 …

---

## [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

---

## [Ansible 8.0.0 has been released!](https://forum.ansible.com/t/ansible-8-0-0-has-been-released/38037)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 10:44am UTC](https://forum.ansible.com/t/ansible-8-0-0-has-been-released/38037 "2023-05-31T10:44:44Z")

</div>

Hello everyone, We’re happy to announce the release of the Ansible 8.0.0 package! Ansible 8.0.0 includes ansible-core 2.15.0 as well as a curated set of Ansible collections that provide a vast number of modules and pl…

---

## [Need help in using amazon.aws collection on RHEL 6](https://forum.ansible.com/t/need-help-in-using-amazon-aws-collection-on-rhel-6/38040)

<div class="topic-metadata">

**Author:** [@amentee](https://forum.ansible.com/u/amentee)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 10:36am UTC](https://forum.ansible.com/t/need-help-in-using-amazon-aws-collection-on-rhel-6/38040 "2023-05-31T10:36:05Z")

</div>

Hi Team, I am writing a playbook in which I need to use amazon.aws collection to fetch the instance metadata. I am interested in particularly this module (amazon.aws.ec2\_metadata\_facts). As per the documentation , this …

---

## [New release: ansible-core 2.14.6](https://forum.ansible.com/t/new-release-ansible-core-2-14-6/38017)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 10:26pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-14-6/38017 "2023-05-29T22:26:24Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.6 How to get it

---

## [Getting No such file or directory in Ansible](https://forum.ansible.com/t/getting-no-such-file-or-directory-in-ansible/38030)

<div class="topic-metadata">

**Author:** [@ankit\_daruka](https://forum.ansible.com/u/ankit_daruka)\
**Replies:** 6\
**Last updated:** [May 29, 2023, 9:54pm UTC](https://forum.ansible.com/t/getting-no-such-file-or-directory-in-ansible/38030 "2023-05-29T21:54:16Z")

</div>

Hi Team, I am getting “No such file or directory” in ansible tasks when actually the file is present . Below is the complete error log. FAILED! =\> {“changed”: true, “cmd”: “cd /opt/app;\\n HYBRIS\_HOME=/opt/ecomm/hybris;…

---

## [Organize my playbooks, inventories and roles](https://forum.ansible.com/t/organize-my-playbooks-inventories-and-roles/38034)

<div class="topic-metadata">

**Author:** [@Niki\_Kovacs](https://forum.ansible.com/u/Niki_Kovacs)\
**Replies:** 0\
**Last updated:** [May 27, 2023, 6:57am UTC](https://forum.ansible.com/t/organize-my-playbooks-inventories-and-roles/38034 "2023-05-27T06:57:51Z")

</div>

Hi, I’ve spent this last couple of months experimenting extensively with Ansible. So far I’ve only worked on a series of VMs using Vagrant and KVM on my workstation. I’ve become reasonably proficient with ansible.cfg, i…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=18)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=20)
