# Ansible Project

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

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

**Page:** 17

---

## [Jobs hanging](https://forum.ansible.com/t/jobs-hanging/38156)

<div class="topic-metadata">

**Author:** [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Replies:** 1\
**Last updated:** [July 17, 2023, 5:05am UTC](https://forum.ansible.com/t/jobs-hanging/38156 "2023-07-17T05:05:25Z")

</div>

Hi, I’m having an issue with jobs hanging. These jobs are patching windows servers. There are 3 templates that run concurrently these, each have an inventory of about 20 machines, the Forks are configured to 10. There…

---

## [restart service only if its successful](https://forum.ansible.com/t/restart-service-only-if-its-successful/38211)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 13\
**Last updated:** [July 14, 2023, 11:11am UTC](https://forum.ansible.com/t/restart-service-only-if-its-successful/38211 "2023-07-14T11:11:15Z")

</div>

Hello team, I am trying to restart zookeeper service on all 3 nodes sequentially , we want restart zookeeper service one by one but it will be only run on 2nd server if 1st server zookeeper service was successful. How d…

---

## [Ansible skip  depending on output in a loop](https://forum.ansible.com/t/ansible-skip-depending-on-output-in-a-loop/38226)

<div class="topic-metadata">

**Author:** [@IbraSami](https://forum.ansible.com/u/IbraSami)\
**Replies:** 0\
**Last updated:** [July 14, 2023, 10:29am UTC](https://forum.ansible.com/t/ansible-skip-depending-on-output-in-a-loop/38226 "2023-07-14T10:29:37Z")

</div>

Ansible skip depending on output in a loop i am trying to create dhcp scope only if it does not exists, below is what i have tried: name: Get scopes ansible.windows.win\_shell: Get-DhcpServerv4Scope -ScopeId {{ item.S…

---

## [Ansible skip  depending on output in a loop](https://forum.ansible.com/t/ansible-skip-depending-on-output-in-a-loop/38225)

<div class="topic-metadata">

**Author:** [@IbraSami](https://forum.ansible.com/u/IbraSami)\
**Replies:** 0\
**Last updated:** [July 14, 2023, 10:29am UTC](https://forum.ansible.com/t/ansible-skip-depending-on-output-in-a-loop/38225 "2023-07-14T10:29:06Z")

</div>

Ansible skip depending on output in a loop i am trying to create dhcp scope only if it does not exists, below is what i have tried: name: Get scopes ansible.windows.win\_shell: Get-DhcpServerv4Scope -ScopeId {{ item.S…

---

## [Ansible skip  depending on output in a loop](https://forum.ansible.com/t/ansible-skip-depending-on-output-in-a-loop/38224)

<div class="topic-metadata">

**Author:** [@IbraSami](https://forum.ansible.com/u/IbraSami)\
**Replies:** 0\
**Last updated:** [July 14, 2023, 10:22am UTC](https://forum.ansible.com/t/ansible-skip-depending-on-output-in-a-loop/38224 "2023-07-14T10:22:42Z")

</div>

Ansible skip depending on output in a loop Can someone please assist, i am trying to create dhcp scope only if it does not exists, below is what i have tried: name: Get scopes ansible.windows.win\_shell: Get-DhcpServe…

---

## [Unable to reuse ssh connections in Ansible despite PIPELINING = True](https://forum.ansible.com/t/unable-to-reuse-ssh-connections-in-ansible-despite-pipelining-true/35539)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 9\
**Last updated:** [July 13, 2023, 2:10pm UTC](https://forum.ansible.com/t/unable-to-reuse-ssh-connections-in-ansible-despite-pipelining-true/35539 "2023-07-13T14:10:35Z")

</div>

My corporate firewall policy allows only 20 connections per minute 60 seconds between the same source and destinations. Owing to this the ansible play hangs after a while. I would like multiple tasks to use the same ss…

---

## [is there any order by clause for hosts to execute task in  certain order](https://forum.ansible.com/t/is-there-any-order-by-clause-for-hosts-to-execute-task-in-certain-order/38217)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [July 12, 2023, 3:42pm UTC](https://forum.ansible.com/t/is-there-any-order-by-clause-for-hosts-to-execute-task-in-certain-order/38217 "2023-07-12T15:42:25Z")

</div>

Hello Team, We have a situation where we have to run same script on all 3 machines but in specific order like first it should be run on follower and then on leader. now to achieve this i have to repeat same task again …

---

## [command/shell module warn deprecation](https://forum.ansible.com/t/command-shell-module-warn-deprecation/38218)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 2\
**Last updated:** [July 12, 2023, 3:42pm UTC](https://forum.ansible.com/t/command-shell-module-warn-deprecation/38218 "2023-07-12T15:42:03Z")

</div>

Good Morning, I manage the building of some virtual machine templates using packer. I am leveraging ansible as part of this, and when I am doing some cleanup after the setup is done to prepare for the conversion to temp…

---

## [Issue when iterating over hostvars attribute](https://forum.ansible.com/t/issue-when-iterating-over-hostvars-attribute/38215)

<div class="topic-metadata">

**Author:** [@Jorge\_Rua1](https://forum.ansible.com/u/Jorge_Rua1)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 9:38pm UTC](https://forum.ansible.com/t/issue-when-iterating-over-hostvars-attribute/38215 "2023-07-11T21:38:13Z")

</div>

Hey folks, Not sure if I’m too tired today or what but I’m stuck on a relatively easy task. Here’s the thing: I have a task which runs a command for each host in the inventory. For each host, I will need to run this co…

---

## [Using win\_package with product installations that exit the installer immediately](https://forum.ansible.com/t/using-win-package-with-product-installations-that-exit-the-installer-immediately/38178)

<div class="topic-metadata">

**Author:** [@tlemons](https://forum.ansible.com/u/tlemons)\
**Replies:** 1\
**Last updated:** [July 11, 2023, 8:37pm UTC](https://forum.ansible.com/t/using-win-package-with-product-installations-that-exit-the-installer-immediately/38178 "2023-07-11T20:37:34Z")

</div>

Hi I’ve been trying to use the win\_package module to install Microsoft SQL Server Management Studio (SSMS). When the SSMS installation program (SSMS-Setup-ENU.exe) is executed at the command line, it exits immediately (…

---

## [Unable to Cisco IOS due to KexAlgorithms](https://forum.ansible.com/t/unable-to-cisco-ios-due-to-kexalgorithms/38202)

<div class="topic-metadata">

**Author:** [@Bikram](https://forum.ansible.com/u/Bikram)\
**Replies:** 7\
**Last updated:** [July 10, 2023, 6:12pm UTC](https://forum.ansible.com/t/unable-to-cisco-ios-due-to-kexalgorithms/38202 "2023-07-10T18:12:42Z")

</div>

Hi Team, While I am trying to run an ansible playbook to connect to a Cisco IOS switch, it is throwing me the following error which is related to KexAlgorithms (diffie-hellman-group1-sha1). Ansible-playbook run log: \[…

---

## [How to provide access to multiple namesapaces using Ansible](https://forum.ansible.com/t/how-to-provide-access-to-multiple-namesapaces-using-ansible/38208)

<div class="topic-metadata">

**Author:** [@Sonali\_Sarade](https://forum.ansible.com/u/Sonali_Sarade)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 12:00pm UTC](https://forum.ansible.com/t/how-to-provide-access-to-multiple-namesapaces-using-ansible/38208 "2023-07-10T12:00:14Z")

</div>

Hi All, I’m trying to do SSH in to linux machchin using ansible and authentication method is using vault CA. I’ve completed this step but now I’m trying to know how to provide a accees to multiple vault namespaces with …

---

## [File not writable mode block](https://forum.ansible.com/t/file-not-writable-mode-block/38207)

<div class="topic-metadata">

**Author:** [@vibha\_rajnag](https://forum.ansible.com/u/vibha_rajnag)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 10:44am UTC](https://forum.ansible.com/t/file-not-writable-mode-block/38207 "2023-07-10T10:44:30Z")

</div>

Hi All, I am facing some issue, I am calling some restful api in my playbook and and that api will be generating csv file in .gz format and again I am converting in csv using gunzip, but it is getting saved in local. …

---

## [Manual Projects in Case of Multiple Controller Nodes](https://forum.ansible.com/t/manual-projects-in-case-of-multiple-controller-nodes/38205)

<div class="topic-metadata">

**Author:** [@ume90009](https://forum.ansible.com/u/ume90009)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 4:07am UTC](https://forum.ansible.com/t/manual-projects-in-case-of-multiple-controller-nodes/38205 "2023-07-10T04:07:46Z")

</div>

In our AAP environments, we have copied the playbooks to a Controller Node and created Job Templates. However, we realized that these files are not available on other Controller Nodes. Should we also copy them to the oth…

---

## ['until' loop label invisible, and not possible to customise?](https://forum.ansible.com/t/until-loop-label-invisible-and-not-possible-to-customise/38201)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 3\
**Last updated:** [July 7, 2023, 9:21pm UTC](https://forum.ansible.com/t/until-loop-label-invisible-and-not-possible-to-customise/38201 "2023-07-07T21:21:17Z")

</div>

Hii, I'm using the 'until' loop to wait for a condition to be true:

---

## [How does Ansible work on a technical level?](https://forum.ansible.com/t/how-does-ansible-work-on-a-technical-level/38200)

<div class="topic-metadata">

**Author:** [@Joel\_Lambertz](https://forum.ansible.com/u/Joel_Lambertz)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 4:27pm UTC](https://forum.ansible.com/t/how-does-ansible-work-on-a-technical-level/38200 "2023-07-07T16:27:55Z")

</div>

For example when i run a playbook in ansible with modules, how does ansible interpret these modules on the target system? I hope you understand my Question and have a good day!

---

## [splitting the output of {{ ansible\_play\_name }}](https://forum.ansible.com/t/splitting-the-output-of-ansible-play-name/38195)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 8:14am UTC](https://forum.ansible.com/t/splitting-the-output-of-ansible-play-name/38195 "2023-07-06T08:14:48Z")

</div>

I have a tasks that writes information gathered from remotes to a csv file on localhost

---

## [WSL1 localhost](https://forum.ansible.com/t/wsl1-localhost/38167)

<div class="topic-metadata">

**Author:** [@Filipe\_Goncalves](https://forum.ansible.com/u/Filipe_Goncalves)\
**Replies:** 4\
**Last updated:** [July 5, 2023, 9:28pm UTC](https://forum.ansible.com/t/wsl1-localhost/38167 "2023-07-05T21:28:16Z")

</div>

Summary When running a simple playbook that uses the ansible.windows.\* module(i’ve tested some ansible.windows, not all) it always fails on runtime, I’m using WSL1 on Windows 10, so I imagine it is because it is recogniz…

---

## [Strange behavior: ESTABLISH SSH CONNECTION FOR USER: None](https://forum.ansible.com/t/strange-behavior-establish-ssh-connection-for-user-none/38174)

<div class="topic-metadata">

**Author:** [@Diego\_Lista](https://forum.ansible.com/u/Diego_Lista)\
**Replies:** 2\
**Last updated:** [July 5, 2023, 7:13pm UTC](https://forum.ansible.com/t/strange-behavior-establish-ssh-connection-for-user-none/38174 "2023-07-05T19:13:23Z")

</div>

Hello group, I would like to share this strange behavior. PLAY \[Update pi-hole servers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*…

---

## [winrm or requests is not installed: No module named winrm](https://forum.ansible.com/t/winrm-or-requests-is-not-installed-no-module-named-winrm/38189)

<div class="topic-metadata">

**Author:** [@egoibe](https://forum.ansible.com/u/egoibe)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 7:02pm UTC](https://forum.ansible.com/t/winrm-or-requests-is-not-installed-no-module-named-winrm/38189 "2023-07-05T19:02:32Z")

</div>

Hello, I want to deploy in a RHEL server the following playbook, the Ansible server is also a RHEL one. There is no Windows Server…

---

## [Where is the vSphere customization specification documentation?](https://forum.ansible.com/t/where-is-the-vsphere-customization-specification-documentation/38177)

<div class="topic-metadata">

**Author:** [@tlemons](https://forum.ansible.com/u/tlemons)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 5:39pm UTC](https://forum.ansible.com/t/where-is-the-vsphere-customization-specification-documentation/38177 "2023-07-05T17:39:32Z")

</div>

Hi Several Ansible modules, as well as govc (https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#vmcustomize) use vSphere customization specifications. I’ve searched but I haven’t found vSphere (or other) document…

---

## [unable to connect to jenkins](https://forum.ansible.com/t/unable-to-connect-to-jenkins/38176)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 13\
**Last updated:** [July 5, 2023, 5:23pm UTC](https://forum.ansible.com/t/unable-to-connect-to-jenkins/38176 "2023-07-05T17:23:58Z")

</div>

I am getting below error when trying to connect to jenkins url using ansible\_jenkins\_info module msg": “Unable to connect to Jenkins server, Unable to authenticate with any scheme:\\nauth(kerberos) HTTPSConnectionPool(ho…

---

## [checking list of files to see if one exists](https://forum.ansible.com/t/checking-list-of-files-to-see-if-one-exists/38192)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 4\
**Last updated:** [July 5, 2023, 12:46pm UTC](https://forum.ansible.com/t/checking-list-of-files-to-see-if-one-exists/38192 "2023-07-05T12:46:16Z")

</div>

I have a list of 6 files; if any of them exist already, I need to delete it. If none of them exist just keep going. What I have below is giving me errors that ‘tmp\_files.stat.exists is false’. Here is what I have: name…

---

## [High CPU utilization by Ansible](https://forum.ansible.com/t/high-cpu-utilization-by-ansible/38188)

<div class="topic-metadata">

**Author:** [@Mohan\_Viswanathan](https://forum.ansible.com/u/Mohan_Viswanathan)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 11:49am UTC](https://forum.ansible.com/t/high-cpu-utilization-by-ansible/38188 "2023-07-04T11:49:08Z")

</div>

Hi Team, This mail is regarding the CPU utilization of the Ansible I have a Centos (version 8) Machine where Ansible is installed ( 4CPU and 16GB RAM) Executing 2 to 3 parallel calls takes up to 100% CPU Help us to kn…

---

## [CPU utilization](https://forum.ansible.com/t/cpu-utilization/38186)

<div class="topic-metadata">

**Author:** [@Mohan\_Viswanathan](https://forum.ansible.com/u/Mohan_Viswanathan)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 11:35am UTC](https://forum.ansible.com/t/cpu-utilization/38186 "2023-07-04T11:35:22Z")

</div>

Hi Team, This mail is regarding the CPU utilization of the Ansible I have a Centos (version 8) Machine where Ansible is installed ( 4CPU and 16GB RAM) Executing 2 to 3 parallel calls takes up to 100% CPU Help us to kn…

---

## [Cannot create git repo in GitHub](https://forum.ansible.com/t/cannot-create-git-repo-in-github/38181)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 5\
**Last updated:** [July 4, 2023, 9:54am UTC](https://forum.ansible.com/t/cannot-create-git-repo-in-github/38181 "2023-07-04T09:54:41Z")

</div>

Hi everyone, I tried to create a git repository in GitHub with Ansible and I encounter two issues: I did a lot of research and didn’t see much information about GitHub API Infrastructure. I can get the information abo…

---

## [pip3 and python](https://forum.ansible.com/t/pip3-and-python/38185)

<div class="topic-metadata">

**Author:** [@Kosala\_Atapattu1](https://forum.ansible.com/u/Kosala_Atapattu1)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 5:25am UTC](https://forum.ansible.com/t/pip3-and-python/38185 "2023-07-04T05:25:38Z")

</div>

did you install ansible using the same python version? Like python3 -m pip install ansible cheers,

---

## [Unable to use python 3](https://forum.ansible.com/t/unable-to-use-python-3/38173)

<div class="topic-metadata">

**Author:** [@cool\_prat](https://forum.ansible.com/u/cool_prat)\
**Replies:** 7\
**Last updated:** [July 4, 2023, 1:00am UTC](https://forum.ansible.com/t/unable-to-use-python-3/38173 "2023-07-04T01:00:49Z")

</div>

Hi Team, I want to use python3 for using k8s module (kubernetes.core.k8s\_info) on the ansible controller node which RHEL 7. Python2 is already installed. I have installed python3. I am trying to use python3 by setting…

---

## [pip3 and python](https://forum.ansible.com/t/pip3-and-python/38184)

<div class="topic-metadata">

**Author:** [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Replies:** 0\
**Last updated:** [July 3, 2023, 11:30pm UTC](https://forum.ansible.com/t/pip3-and-python/38184 "2023-07-03T23:30:17Z")

</div>

ansible-core 2.13 is enough for casual use. If you really feel the need up update, delete that copy owned by the root user. sudo -i pip3 uninstall ansible-core Then install a more recent python, if it's ava…

---

## [Send output to syslog](https://forum.ansible.com/t/send-output-to-syslog/38182)

<div class="topic-metadata">

**Author:** [@Adam\_Barnett](https://forum.ansible.com/u/Adam_Barnett)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 5:58pm UTC](https://forum.ansible.com/t/send-output-to-syslog/38182 "2023-07-03T17:58:08Z")

</div>

Hi, I am trying to find a way to send the result of an ansible to a syslog server, i am looking for send , hostname, success count and failed count in json format I did a google but maybe my googleness is off today Th…

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

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