# Archives

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

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

**Page:** 28

---

## [Tags as variable inside of playbook](https://forum.ansible.com/t/tags-as-variable-inside-of-playbook/20871)

<div class="topic-metadata">

**Author:** [@azaghal](https://forum.ansible.com/u/azaghal)\
**Replies:** 7\
**Last updated:** [June 14, 2023, 6:11pm UTC](https://forum.ansible.com/t/tags-as-variable-inside-of-playbook/20871 "2023-06-14T18:11:06Z")

</div>

Hello folks, Is it possible to use tags as a variable inside of playbook? Specifically, I would like to have a condition to execute certain task only if a tag has been defined. I am aware this can be done with an --e…

---

## [Could not resolve host: mirrors.centos.org during the build of the docker container image](https://forum.ansible.com/t/could-not-resolve-host-mirrors-centos-org-during-the-build-of-the-docker-container-image/38050)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 8\
**Last updated:** [June 14, 2023, 3:57pm UTC](https://forum.ansible.com/t/could-not-resolve-host-mirrors-centos-org-during-the-build-of-the-docker-container-image/38050 "2023-06-14T15:57:14Z")

</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 . /opt/awx/venv/bin/activate make docker-compose-build whic…

---

## [Calling the inventory created by  first task to the second one](https://forum.ansible.com/t/calling-the-inventory-created-by-first-task-to-the-second-one/38103)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 2\
**Last updated:** [June 14, 2023, 3:56pm UTC](https://forum.ansible.com/t/calling-the-inventory-created-by-first-task-to-the-second-one/38103 "2023-06-14T15:56:54Z")

</div>

Hi, I have a playbook book with 2 tasks in it . In the first tasks, I have playbooks to create a VM and build OS on it and able to login to the VM manually (for testing) , and the final play creates a temporary invento…

---

## [firewalld not found](https://forum.ansible.com/t/firewalld-not-found/38104)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 0\
**Last updated:** [June 14, 2023, 2:04pm UTC](https://forum.ansible.com/t/firewalld-not-found/38104 "2023-06-14T14:04:19Z")

</div>

This is regarding firewalld collection I installed Rhel-system-roles now I copied firewalld.yml to my local collection(./collections) folder and when I am executing ansible-doc firewalld it cannot be found. Though if I…

---

## [Install wazuh agent deb file for linux target hosts](https://forum.ansible.com/t/install-wazuh-agent-deb-file-for-linux-target-hosts/38101)

<div class="topic-metadata">

**Author:** [@malek\_sakir](https://forum.ansible.com/u/malek_sakir)\
**Replies:** 3\
**Last updated:** [June 14, 2023, 1:21pm UTC](https://forum.ansible.com/t/install-wazuh-agent-deb-file-for-linux-target-hosts/38101 "2023-06-14T13:21:01Z")

</div>

any one help me to write playbook for wazuh agent(.deb file) installation in linux target hosts.

---

## [Restart Windows services on 2 hosts 1 min apart](https://forum.ansible.com/t/restart-windows-services-on-2-hosts-1-min-apart/38061)

<div class="topic-metadata">

**Author:** [@Amit\_Kulkarni](https://forum.ansible.com/u/Amit_Kulkarni)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 1:12am UTC](https://forum.ansible.com/t/restart-windows-services-on-2-hosts-1-min-apart/38061 "2023-06-14T01:12:49Z")

</div>

Hello All, I wanted to restart 1 windows service on 2 hosts 1 min apart, is there any way we can achieve this. Here is the my playbook Let me know in case of anything

---

## [Unable to create jenkins job using anisble](https://forum.ansible.com/t/unable-to-create-jenkins-job-using-anisble/38092)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 10\
**Last updated:** [June 13, 2023, 10:16pm UTC](https://forum.ansible.com/t/unable-to-create-jenkins-job-using-anisble/38092 "2023-06-13T22:16:12Z")

</div>

I am trying to create a jenkins job using ansible “community.general.jenkins\_job”, but I am getting below error. Also I used existing job config.xml The full traceback is: Traceback (most recent call last): File “/tmp…

---

## [wait\_for esxi host to be available in vcenter an exist mateinance mode](https://forum.ansible.com/t/wait-for-esxi-host-to-be-available-in-vcenter-an-exist-mateinance-mode/38100)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [June 13, 2023, 8:37pm UTC](https://forum.ansible.com/t/wait-for-esxi-host-to-be-available-in-vcenter-an-exist-mateinance-mode/38100 "2023-06-13T20:37:21Z")

</div>

I got this pb. In stead of waiting for port 443 available. I need to have it shows as available or back in a connected state or in maintenance mode in vcenter then exit maintenance mode. any idea how? name: test hosts…

---

## [ansible\_failed\_task logs private variables](https://forum.ansible.com/t/ansible-failed-task-logs-private-variables/38097)

<div class="topic-metadata">

**Author:** [@Pinknes\_Einhorn](https://forum.ansible.com/u/Pinknes_Einhorn)\
**Replies:** 1\
**Last updated:** [June 13, 2023, 3:50pm UTC](https://forum.ansible.com/t/ansible-failed-task-logs-private-variables/38097 "2023-06-13T15:50:33Z")

</div>

Hey all, I’ve been working with error handling during vmware deployment and noticed that Ansible seems to store cleartext passwords in the ansible\_failed\_tasks variable provided by rescue sections in blocks even tho the…

---

## [Formatting with  set\_fact](https://forum.ansible.com/t/formatting-with-set-fact/38094)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 4\
**Last updated:** [June 13, 2023, 11:41am UTC](https://forum.ansible.com/t/formatting-with-set-fact/38094 "2023-06-13T11:41:39Z")

</div>

Hi, While using set\_facts , I am combining a hostname and dns name . myhost = linuxhost1 mydns = example.com. while combining them with set\_fact ansible.builtin.set\_fact: my\_fqdn: “{{myhost}}.{{mydns}}” This gives…

---

## [Loop Not Able to Parse After First iteration](https://forum.ansible.com/t/loop-not-able-to-parse-after-first-iteration/38091)

<div class="topic-metadata">

**Author:** [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Replies:** 1\
**Last updated:** [June 12, 2023, 10:11pm UTC](https://forum.ansible.com/t/loop-not-able-to-parse-after-first-iteration/38091 "2023-06-12T22:11:38Z")

</div>

i required to create a list of paths but it is failing after first iteration

---

## [ssh: no matching host key type found](https://forum.ansible.com/t/ssh-no-matching-host-key-type-found/38090)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 1\
**Last updated:** [June 12, 2023, 8:55pm UTC](https://forum.ansible.com/t/ssh-no-matching-host-key-type-found/38090 "2023-06-12T20:55:23Z")

</div>

Hi All, i am using Redhat 9.0 and : $ ssh -V OpenSSH\_8.7p1, OpenSSL 3.0.1 14 Dec 2021 after i run ssh command on an ip address, that i can connect to it by putty, i get the below error message: Unable to negotiate w…

---

## [how to get in touch with the owners of this list?](https://forum.ansible.com/t/how-to-get-in-touch-with-the-owners-of-this-list/38080)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 4\
**Last updated:** [June 12, 2023, 8:55pm UTC](https://forum.ansible.com/t/how-to-get-in-touch-with-the-owners-of-this-list/38080 "2023-06-12T20:55:02Z")

</div>

Hii, I flagged the recent job advertisements as spam, but also wanted to contact the owners of this list about that. I didn't know what address to use, so looking the header in each message: Mailing-list: list ansibl…

---

## [help me](https://forum.ansible.com/t/help-me/38085)

<div class="topic-metadata">

**Author:** [@huangwe](https://forum.ansible.com/u/huangwe)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 5:53pm UTC](https://forum.ansible.com/t/help-me/38085 "2023-06-12T17:53:26Z")

</div>

https://github.com/ansible/ansible/issues/81031

---

## [New release candidate: ansible-core 2.15.1rc1](https://forum.ansible.com/t/new-release-candidate-ansible-core-2-15-1rc1/38089)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 5:48pm UTC](https://forum.ansible.com/t/new-release-candidate-ansible-core-2-15-1rc1/38089 "2023-06-12T17:48:58Z")

</div>

Hi all- we’re happy to announce the following release candidate: ansible-core 2.15.1rc1 How to get it

---

## [New release candidate: ansible-core 2.14.7rc1](https://forum.ansible.com/t/new-release-candidate-ansible-core-2-14-7rc1/38088)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 5:48pm UTC](https://forum.ansible.com/t/new-release-candidate-ansible-core-2-14-7rc1/38088 "2023-06-12T17:48:55Z")

</div>

Hi all- we’re happy to announce the following release candidate: ansible-core 2.14.7rc1 How to get it

---

## [the password to my vault](https://forum.ansible.com/t/the-password-to-my-vault/38076)

<div class="topic-metadata">

**Author:** [@dbs34](https://forum.ansible.com/u/dbs34)\
**Replies:** 1\
**Last updated:** [June 12, 2023, 5:45pm UTC](https://forum.ansible.com/t/the-password-to-my-vault/38076 "2023-06-12T17:45:48Z")

</div>

Hi All! Can the passowrd for my actual vault file as shown /etc/ansible/group\_vars/.vltfile.yml be encrypted? Will ansible auto decrypt it? My client vault file which holds the actual user-names and password is encryted…

---

## [Authentication to linux machines using Ansible and Vault SSH](https://forum.ansible.com/t/authentication-to-linux-machines-using-ansible-and-vault-ssh/38086)

<div class="topic-metadata">

**Author:** [@Sonali\_Sarade](https://forum.ansible.com/u/Sonali_Sarade)\
**Replies:** 3\
**Last updated:** [June 12, 2023, 5:11pm UTC](https://forum.ansible.com/t/authentication-to-linux-machines-using-ansible-and-vault-ssh/38086 "2023-06-12T17:11:39Z")

</div>

Hi Team, I’m looking for a solution where I can login to linux machine by authenticating it using Ansible and Vault SSH. Please suggest me how can I implement it. Regards, Sonali.

---

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

---

## [Azure DevOps repos and AWX](https://forum.ansible.com/t/azure-devops-repos-and-awx/38060)

<div class="topic-metadata">

**Author:** [@Alex5](https://forum.ansible.com/u/Alex5)\
**Replies:** 4\
**Last updated:** [June 11, 2023, 8:17pm UTC](https://forum.ansible.com/t/azure-devops-repos-and-awx/38060 "2023-06-11T20:17:04Z")

</div>

Hi, I have put all my Ansible playbooks in Azure DevOps repos, and now I want to connect AWX to my repos. Should I create a credential in the AWX to establish the connection? I have already checked the credentials secti…

---

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

---

## [Template with mulitple SSH keys](https://forum.ansible.com/t/template-with-mulitple-ssh-keys/38069)

<div class="topic-metadata">

**Author:** [@beda392](https://forum.ansible.com/u/beda392)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 5:35pm UTC](https://forum.ansible.com/t/template-with-mulitple-ssh-keys/38069 "2023-06-09T17:35:42Z")

</div>

Hi, Is there a way to have an AWX template with two different SSH keys assigned to access two different hosts? Scenerio: ansible ping two hosts that use different SSH Keys in the same playbook (template) run? Regards…

---

## [Retrieve host list from group name or pass group name to delegate\_to in AWX](https://forum.ansible.com/t/retrieve-host-list-from-group-name-or-pass-group-name-to-delegate-to-in-awx/38068)

<div class="topic-metadata">

**Author:** [@Hemanth\_Kumar\_Simhad](https://forum.ansible.com/u/Hemanth_Kumar_Simhad)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 5:14pm UTC](https://forum.ansible.com/t/retrieve-host-list-from-group-name-or-pass-group-name-to-delegate-to-in-awx/38068 "2023-06-09T17:14:19Z")

</div>

Hi Team, My use case is to run the task on group of hosts as a pre-task but I am having trouble passing group\_name to delegate\_to in the playbook as it expects only a string not a list. Then I tried to use the loop opt…

---

## [Long start time for jobs](https://forum.ansible.com/t/long-start-time-for-jobs/38049)

<div class="topic-metadata">

**Author:** [@Andre\_Pettersson](https://forum.ansible.com/u/Andre_Pettersson)\
**Replies:** 7\
**Last updated:** [June 9, 2023, 3:38pm UTC](https://forum.ansible.com/t/long-start-time-for-jobs/38049 "2023-06-09T15:38:10Z")

</div>

Hello everyone, I’ve got a issue with jobs taking a “long” time to start, usually 40secs - 1 min 30 secs. We use EEs from a registry running on the same node as AWX. Changing the settings for pulling the image always/mi…

---

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

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

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