# Ansible Project

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

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

**Page:** 19

---

## [Need help with executing a python script automation](https://forum.ansible.com/t/need-help-with-executing-a-python-script-automation/38134)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 1:59am UTC](https://forum.ansible.com/t/need-help-with-executing-a-python-script-automation/38134 "2023-06-21T01:59:32Z")

</div>

Hi all I want to execute a python script which is available in control node. And the python script uses the ansible\_hostname variable and update in an excel template available in the control node. My role is very simpl…

---

## [Any one here help me please ...... adhoc command](https://forum.ansible.com/t/any-one-here-help-me-please-adhoc-command/38115)

<div class="topic-metadata">

**Author:** [@Syed\_Yaman](https://forum.ansible.com/u/Syed_Yaman)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 4:49pm UTC](https://forum.ansible.com/t/any-one-here-help-me-please-adhoc-command/38115 "2023-06-20T16:49:04Z")

</div>

ansible demo -a “ls” 172.31.33.24 | UNREACHABLE! =\> { “changed”: false, “msg”: “Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).”, “unreachable”: true } 17…

---

## [local\_action. Current working directory](https://forum.ansible.com/t/local-action-current-working-directory/38128)

<div class="topic-metadata">

**Author:** [@user17](https://forum.ansible.com/u/user17)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 4:41pm UTC](https://forum.ansible.com/t/local-action-current-working-directory/38128 "2023-06-20T16:41:33Z")

</div>

I’m executing the same script at two different hosts. Script just returns current working directory: tasks: name: Get exec\_path localaction local\_action: command pwd register: res debug: var=res.stdout\_lines At bot…

---

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

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 4:11pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-15-1/38130 "2023-06-20T16:11:54Z")

</div>

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

---

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

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 4:11pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-14-7/38129 "2023-06-20T16:11:46Z")

</div>

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

---

## [Issue with community.general.make module](https://forum.ansible.com/t/issue-with-community-general-make-module/38095)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 11:18pm UTC](https://forum.ansible.com/t/issue-with-community-general-make-module/38095 "2023-06-19T23:18:36Z")

</div>

I have a RHEL 7 server that is running Apache Guacamole. I had a playbook that we turned into a role that’s part of an internal collection that used to work, but since I have switched it to use community.general.make ins…

---

## [couldn't resolve module/action 'community.network.ne\_command'](https://forum.ansible.com/t/couldnt-resolve-module-action-community-network-ne-command/38123)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 2:27pm UTC](https://forum.ansible.com/t/couldnt-resolve-module-action-community-network-ne-command/38123 "2023-06-19T14:27:54Z")

</div>

Hi All, bellow is a part of my playbook which tries to connect to a Huawei ne device.

---

## [Copy  from remote server to local](https://forum.ansible.com/t/copy-from-remote-server-to-local/38121)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 8:00am UTC](https://forum.ansible.com/t/copy-from-remote-server-to-local/38121 "2023-06-19T08:00:23Z")

</div>

Hi , Is there an option to copy full folder from remote server to local server ? Copy all files under a folder located in remote server to a folder on local server - without running find job that register all files As…

---

## [Loop files that will be used as variables](https://forum.ansible.com/t/loop-files-that-will-be-used-as-variables/38102)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 5\
**Last updated:** [June 19, 2023, 7:43am UTC](https://forum.ansible.com/t/loop-files-that-will-be-used-as-variables/38102 "2023-06-19T07:43:32Z")

</div>

Hi , I’m using the template module that takes a J2 template and update the relevant fields. My problem is When I want to create a file per file input should be used as variable – I’m actually need to understand how to …

---

## [How to retrieve hashi vault token and use in ansible playbook as vars which i added in to ansible tower credentials?](https://forum.ansible.com/t/how-to-retrieve-hashi-vault-token-and-use-in-ansible-playbook-as-vars-which-i-added-in-to-ansible-tower-credentials/38119)

<div class="topic-metadata">

**Author:** [@Abhiroxxx](https://forum.ansible.com/u/Abhiroxxx)\
**Replies:** 0\
**Last updated:** [June 17, 2023, 10:24am UTC](https://forum.ansible.com/t/how-to-retrieve-hashi-vault-token-and-use-in-ansible-playbook-as-vars-which-i-added-in-to-ansible-tower-credentials/38119 "2023-06-17T10:24:38Z")

</div>

Hi there, How to retrieve hashi vault token and use in ansible playbook as vars which i added in to ansible tower credentials? Thanks and regards, Abhi

---

## [Fix Google Chrome Vulnerability](https://forum.ansible.com/t/fix-google-chrome-vulnerability/38118)

<div class="topic-metadata">

**Author:** [@malek\_sakir](https://forum.ansible.com/u/malek_sakir)\
**Replies:** 1\
**Last updated:** [June 17, 2023, 7:39am UTC](https://forum.ansible.com/t/fix-google-chrome-vulnerability/38118 "2023-06-17T07:39:11Z")

</div>

How to fix Google Chrome \< 69.0.3497.100 Vulnerability using Ansible Playbook.

---

## [reboot host based on ansible output](https://forum.ansible.com/t/reboot-host-based-on-ansible-output/38114)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 5:51pm UTC](https://forum.ansible.com/t/reboot-host-based-on-ansible-output/38114 "2023-06-16T17:51:53Z")

</div>

I got pb that based on output will say: reboot required: True or reboot required: False if its false how do i skip the reboot on the following task?

---

## [libssh in playbook](https://forum.ansible.com/t/libssh-in-playbook/38112)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 7:22am UTC](https://forum.ansible.com/t/libssh-in-playbook/38112 "2023-06-16T07:22:52Z")

</div>

Hi All, i have this in my playbook under -vars: ansible\_network\_cli\_ssh\_type: libssh which collection/plugins should i install to have it work properly?

---

## [Automate the configuration of SSH in a Linux machine using Ansible and the Vault SSH secret engine.](https://forum.ansible.com/t/automate-the-configuration-of-ssh-in-a-linux-machine-using-ansible-and-the-vault-ssh-secret-engine/38109)

<div class="topic-metadata">

**Author:** [@Sonali\_Sarade](https://forum.ansible.com/u/Sonali_Sarade)\
**Replies:** 1\
**Last updated:** [June 15, 2023, 8:20pm UTC](https://forum.ansible.com/t/automate-the-configuration-of-ssh-in-a-linux-machine-using-ansible-and-the-vault-ssh-secret-engine/38109 "2023-06-15T20:20:27Z")

</div>

Hi Team, I’m trying to Automate the configuration of SSH in a Linux machine using Ansible and the Vault SSH secret engine. To ensure secure communication between the machine and remote systems. I need to decide the roa…

---

## [Ansible variables with network switches](https://forum.ansible.com/t/ansible-variables-with-network-switches/38099)

<div class="topic-metadata">

**Author:** [@Cristian\_Cardoso](https://forum.ansible.com/u/Cristian_Cardoso)\
**Replies:** 2\
**Last updated:** [June 15, 2023, 1:32pm UTC](https://forum.ansible.com/t/ansible-variables-with-network-switches/38099 "2023-06-15T13:32:09Z")

</div>

I’m using ansible to configure ports on my Juniper switches where I use LACP to configure an aggregation of ports from a server on two different switches, where eth0 will be connected to switch 01 and eth1 to switch 02 I…

---

## [Ssh connectivity issues with ad-hoc commands, playbooks.yml, Ansible.](https://forum.ansible.com/t/ssh-connectivity-issues-with-ad-hoc-commands-playbooks-yml-ansible/38105)

<div class="topic-metadata">

**Author:** [@gonzalo\_diaz\_larenas](https://forum.ansible.com/u/gonzalo_diaz_larenas)\
**Replies:** 3\
**Last updated:** [June 15, 2023, 6:47am UTC](https://forum.ansible.com/t/ssh-connectivity-issues-with-ad-hoc-commands-playbooks-yml-ansible/38105 "2023-06-15T06:47:46Z")

</div>

Dear Good afternoon, sorry for the inconvenience, I’m just getting started with what Ansible is, specifically learning how to optimize daily tasks in laboratories. I set up a virtualized network with a central ansible s…

---

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

---

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

---

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

---

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

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

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