# Ansible Project

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

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

**Page:** 104

---

## [Load balancer (nginx)](https://forum.ansible.com/t/load-balancer-nginx/33873)

<div class="topic-metadata">

**Author:** [@Pavithra\_Chellakumar](https://forum.ansible.com/u/Pavithra_Chellakumar)\
**Replies:** 0\
**Last updated:** [September 23, 2020, 2:42am UTC](https://forum.ansible.com/t/load-balancer-nginx/33873 "2020-09-23T02:42:14Z")

</div>

Hi, How to configure load balancer with application servers using ansible? Thanks in advance

---

## [Ansible windows server](https://forum.ansible.com/t/ansible-windows-server/33872)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 0\
**Last updated:** [September 23, 2020, 2:41am UTC](https://forum.ansible.com/t/ansible-windows-server/33872 "2020-09-23T02:41:55Z")

</div>

Hi anyone knows how to write a playbook to remove windows server from the highwire and add it to the highwire again Thanks&regards Prajwal h g

---

## [How to create an Ansible Playbook in Windows?](https://forum.ansible.com/t/how-to-create-an-ansible-playbook-in-windows/33871)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 2\
**Last updated:** [September 23, 2020, 2:02am UTC](https://forum.ansible.com/t/how-to-create-an-ansible-playbook-in-windows/33871 "2020-09-23T02:02:24Z")

</div>

Hi Members, How to create an Ansible Playbook (starfish.yml) in Windows to use in the Linux System (CentOS 7) through Shared Folders…Thanks for reading and an advanced thanks to your replies. With Hope, Prabhakaran

---

## [ansible and windows bastion server](https://forum.ansible.com/t/ansible-and-windows-bastion-server/33866)

<div class="topic-metadata">

**Author:** [@nicolas\_stevenin](https://forum.ansible.com/u/nicolas_stevenin)\
**Replies:** 3\
**Last updated:** [September 22, 2020, 7:04pm UTC](https://forum.ansible.com/t/ansible-and-windows-bastion-server/33866 "2020-09-22T19:04:29Z")

</div>

Hello ! Could you please help me how to use Ansible through a Windows Bastion Server? I found docs about Linux Bastion but for Windows it’s not clear. I have a windows bastion server(1) that allows me to connect to oth…

---

## [Query on maintaining playbooks](https://forum.ansible.com/t/query-on-maintaining-playbooks/33864)

<div class="topic-metadata">

**Author:** [@rubod\_singh](https://forum.ansible.com/u/rubod_singh)\
**Replies:** 2\
**Last updated:** [September 22, 2020, 11:48am UTC](https://forum.ansible.com/t/query-on-maintaining-playbooks/33864 "2020-09-22T11:48:55Z")

</div>

HI Team, we have currently 4 ansible servers each for one environment - dev, test, qa and PROD What should be the best approach for maintaining the playbooks via SCM ? please confirm. appreciate the response. Thank…

---

## [Precautions about creating a new plugin to connetc switch and ansible](https://forum.ansible.com/t/precautions-about-creating-a-new-plugin-to-connetc-switch-and-ansible/33863)

<div class="topic-metadata">

**Author:** [@Yu\_Zou](https://forum.ansible.com/u/Yu_Zou)\
**Replies:** 0\
**Last updated:** [September 22, 2020, 9:36am UTC](https://forum.ansible.com/t/precautions-about-creating-a-new-plugin-to-connetc-switch-and-ansible/33863 "2020-09-22T09:36:02Z")

</div>

Hi, all. I heard that now requesting a namespace from ansible-collection community for placing the new plugin is not a must. We can directly place it in our own repo, as long as the License is compliant. I want to conf…

---

## [change user to a debian package](https://forum.ansible.com/t/change-user-to-a-debian-package/33862)

<div class="topic-metadata">

**Author:** [@Johana\_Galarza\_Monta](https://forum.ansible.com/u/Johana_Galarza_Monta)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 9:16am UTC](https://forum.ansible.com/t/change-user-to-a-debian-package/33862 "2020-09-22T09:16:43Z")

</div>

I am trying to install a debian pacakge and change the user with become\_user but it seems not working, the error it says that “No package is available” but it is available name: Install rules apt: name:-rules={{ rule…

---

## [Deploy directory hierarchy of templates](https://forum.ansible.com/t/deploy-directory-hierarchy-of-templates/31639)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 3\
**Last updated:** [September 21, 2020, 5:28pm UTC](https://forum.ansible.com/t/deploy-directory-hierarchy-of-templates/31639 "2020-09-21T17:28:54Z")

</div>

Hi I’m looking to deploy a number of configuration files using the template module. The files are structured in a directory hierarchy that needs to be maintained. So for this purpose I want to use the with\_filetree look…

---

## [gcp\_compute\_instance\_info \>\> filters](https://forum.ansible.com/t/gcp-compute-instance-info-filters/33859)

<div class="topic-metadata">

**Author:** [@Yantram\_Cloud](https://forum.ansible.com/u/Yantram_Cloud)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 3:04pm UTC](https://forum.ansible.com/t/gcp-compute-instance-info-filters/33859 "2020-09-21T15:04:40Z")

</div>

I am trying to implemet filtering based on the tags which my vm has. unfortunately have not been able to get it to work. Can someone share an example here. here is my current playbook. name: Locate Instance hosts: l…

---

## [Generic error, definitely non standard module.](https://forum.ansible.com/t/generic-error-definitely-non-standard-module/33858)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 2:12pm UTC](https://forum.ansible.com/t/generic-error-definitely-non-standard-module/33858 "2020-09-21T14:12:31Z")

</div>

Alright, So I’m using NetApp Ansible modules to try and just pass CLI commands, as seen below. I’m getting the further error (very bottom), no matter what I do for some awful reason. Wtf am I doing wrong? No workie …

---

## [Reading partial string](https://forum.ansible.com/t/reading-partial-string/33855)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 6:43am UTC](https://forum.ansible.com/t/reading-partial-string/33855 "2020-09-21T06:43:24Z")

</div>

Hi, I have a simple playbook that takes an IP address from the input file and update this IP including hostname under /etc/hosts. The problem is that in the input file the IP is written with subnet – 1.1.1.1/24 While …

---

## [Ansible set\_fact with with\_items always prints last item](https://forum.ansible.com/t/ansible-set-fact-with-with-items-always-prints-last-item/33848)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 3\
**Last updated:** [September 21, 2020, 6:29am UTC](https://forum.ansible.com/t/ansible-set-fact-with-with-items-always-prints-last-item/33848 "2020-09-21T06:29:30Z")

</div>

Hi Experts, I am looking to capture certain service status using ansible the problem is debug prints only last item.Below is the expected output. Hostname : test httpd → Running ntpd → Running Below are the playbook…

---

## [Ansible - url check for multiple hosts](https://forum.ansible.com/t/ansible-url-check-for-multiple-hosts/33853)

<div class="topic-metadata">

**Author:** [@priyanka\_prabhune](https://forum.ansible.com/u/priyanka_prabhune)\
**Replies:** 2\
**Last updated:** [September 20, 2020, 4:38pm UTC](https://forum.ansible.com/t/ansible-url-check-for-multiple-hosts/33853 "2020-09-20T16:38:09Z")

</div>

I am writing the Ansible playbook to check the URL status for multiple IPs from the hosts file, however, it is not working when I am giving input as a group\_name, but is working for single IP. Here is my playbook,

---

## [mail module](https://forum.ansible.com/t/mail-module/33846)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 7\
**Last updated:** [September 20, 2020, 2:33pm UTC](https://forum.ansible.com/t/mail-module/33846 "2020-09-20T14:33:29Z")

</div>

hi team i need one help with the mail module it is throwing error address family not supported if anyone know how to send mail when the task failed please help thanks prajwal h g

---

## [using ansible inside wsl2](https://forum.ansible.com/t/using-ansible-inside-wsl2/33854)

<div class="topic-metadata">

**Author:** [@Wayne\_Douglas](https://forum.ansible.com/u/Wayne_Douglas)\
**Replies:** 0\
**Last updated:** [September 20, 2020, 1:41pm UTC](https://forum.ansible.com/t/using-ansible-inside-wsl2/33854 "2020-09-20T13:41:54Z")

</div>

Hi I am trying to use ansible in wsl2 and have started getting errors like: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/wayne/.kube/config Has anyone else seen this? Goo…

---

## [KodeKloud Project](https://forum.ansible.com/t/kodekloud-project/33845)

<div class="topic-metadata">

**Author:** [@Melvin\_C\_Varghese](https://forum.ansible.com/u/Melvin_C_Varghese)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 5:04am UTC](https://forum.ansible.com/t/kodekloud-project/33845 "2020-09-20T05:04:41Z")

</div>

Hi All, I am trying to deploy a LAMP stack using Ansible to 2 targets So I have 3 instances on Google Cloud: ansible-controller 10.140.0.5 ansible-target1 10.140.0.6 ansible-target2 10.140.0.7 I get an error when I…

---

## [Ansible: Is the any chance of maintain same tag same role but diffrent host name in main yml file by putting any when condition from tasks inside role.](https://forum.ansible.com/t/ansible-is-the-any-chance-of-maintain-same-tag-same-role-but-diffrent-host-name-in-main-yml-file-by-putting-any-when-condition-from-tasks-inside-role/33847)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 6:41pm UTC](https://forum.ansible.com/t/ansible-is-the-any-chance-of-maintain-same-tag-same-role-but-diffrent-host-name-in-main-yml-file-by-putting-any-when-condition-from-tasks-inside-role/33847 "2020-09-19T18:41:49Z")

</div>

I have tried to maintain my main yml file like below

---

## [firmware gathering - ansible prints last value](https://forum.ansible.com/t/firmware-gathering-ansible-prints-last-value/33852)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 11:01am UTC](https://forum.ansible.com/t/firmware-gathering-ansible-prints-last-value/33852 "2020-09-19T11:01:21Z")

</div>

Hi Experts, I am using below playbook to gather firmware from dell servers it works well but the problem is when same component shows twice or more with different value it just print last value.My requirement to print f…

---

## [Extreme network switch backup - ansible issue](https://forum.ansible.com/t/extreme-network-switch-backup-ansible-issue/33850)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 10:42am UTC](https://forum.ansible.com/t/extreme-network-switch-backup-ansible-issue/33850 "2020-09-19T10:42:10Z")

</div>

Hi Experts, We are planning to automate extreme network switch backup through ansible facing issues with few hosts.The playbook works for few hosts and shows below errors for remaining hosts. Is something need to be ch…

---

## [azure dynamic inventory - store static file](https://forum.ansible.com/t/azure-dynamic-inventory-store-static-file/33849)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 10:37am UTC](https://forum.ansible.com/t/azure-dynamic-inventory-store-static-file/33849 "2020-09-19T10:37:25Z")

</div>

Hi Experts, I have ansible setup that pulls inventory dynamically using below playbook from azure.We have an requirement to store these hosts in static file for other requirement.Could you someone help here? ansible al…

---

## [Ansible World](https://forum.ansible.com/t/ansible-world/33839)

<div class="topic-metadata">

**Author:** [@madan\_gopal](https://forum.ansible.com/u/madan_gopal)\
**Replies:** 3\
**Last updated:** [September 19, 2020, 3:36am UTC](https://forum.ansible.com/t/ansible-world/33839 "2020-09-19T03:36:31Z")

</div>

Hello All, I am completely new to Ansible and wanted to start my first baby steps with simple playbook which will help me out in my day-to-day works Problem Statement: To verify remote server uptime both Windows and Li…

---

## [windows custom facts help](https://forum.ansible.com/t/windows-custom-facts-help/33835)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy1](https://forum.ansible.com/u/Dennis_McCarthy1)\
**Replies:** 6\
**Last updated:** [September 18, 2020, 7:30pm UTC](https://forum.ansible.com/t/windows-custom-facts-help/33835 "2020-09-18T19:30:24Z")

</div>

Can anyone point me in the direction of how to setup custom/local facts on Windows please? not just use fact\_path… Reading the docs I’ve found so far, it looks like you can’t just have a file with key:value like Linux u…

---

## [Ansible output customize](https://forum.ansible.com/t/ansible-output-customize/32377)

<div class="topic-metadata">

**Author:** [@Parveen\_Datt](https://forum.ansible.com/u/Parveen_Datt)\
**Replies:** 6\
**Last updated:** [September 18, 2020, 6:23pm UTC](https://forum.ansible.com/t/ansible-output-customize/32377 "2020-09-18T18:23:33Z")

</div>

Hi Team I have written a playbook and using debug variable we are reading the output in multiple play. Is there any way we can customize the output of each registered variable and print it nicely formatted . Any suggest…

---

## [Timeout (12s) waiting for privilege escalation prompt WITH PIPELINING](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt-with-pipelining/33844)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 5:14pm UTC](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt-with-pipelining/33844 "2020-09-18T17:14:26Z")

</div>

Hey all - I’m hitting the infamous Timeout (12s) waiting for privilege escalation prompt error but only under specific conditions. The task that fails is a loop: name: copy files from blob shell: “{{ blob\_ssodba\_downl…

---

## [unable to ping windows machine](https://forum.ansible.com/t/unable-to-ping-windows-machine/33842)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 8\
**Last updated:** [September 18, 2020, 2:18pm UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33842 "2020-09-18T14:18:34Z")

</div>

i got the below error when i am trying to ping windows machine i have ran that configurepowershell.ps1 power script also and my winrm service is running successfully nut still facing same issue, please give me a solut…

---

## [Sending email with results](https://forum.ansible.com/t/sending-email-with-results/33812)

<div class="topic-metadata">

**Author:** [@Sandy\_Toshev](https://forum.ansible.com/u/Sandy_Toshev)\
**Replies:** 17\
**Last updated:** [September 18, 2020, 7:04am UTC](https://forum.ansible.com/t/sending-email-with-results/33812 "2020-09-18T07:04:12Z")

</div>

Hi guys, So I have been using the following simple playbook to keep a folder clean from files. Everything is working fine. However, I got into thinking that it will not hurt, if I get a notification, containing what has…

---

## [How to verify all disk size equal](https://forum.ansible.com/t/how-to-verify-all-disk-size-equal/33841)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 2:11pm UTC](https://forum.ansible.com/t/how-to-verify-all-disk-size-equal/33841 "2020-09-17T14:11:44Z")

</div>

Hi Team I need to verify if all disk size equal I have n number of disk. I have written a loop that gives size of disk. Now how do I verify all disks are equal size? name: Check the size of the disk shell: | bootin…

---

## [Ansible-pull issue.](https://forum.ansible.com/t/ansible-pull-issue/33837)

<div class="topic-metadata">

**Author:** [@Nahum\_Eliash](https://forum.ansible.com/u/Nahum_Eliash)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 9:25am UTC](https://forum.ansible.com/t/ansible-pull-issue/33837 "2020-09-17T09:25:30Z")

</div>

hello, i have a lab environments with a couple of Linux Ubuntu 18.04, and i’m trying to figure out why ansible-pull command is not working properly. i was viewing a great tutorial on how to build and execute the lab, a…

---

## [netbox inventory source: set token in a vault](https://forum.ansible.com/t/netbox-inventory-source-set-token-in-a-vault/33836)

<div class="topic-metadata">

**Author:** [@szelga](https://forum.ansible.com/u/szelga)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 6:57am UTC](https://forum.ansible.com/t/netbox-inventory-source-set-token-in-a-vault/33836 "2020-09-17T06:57:12Z")

</div>

hello. i’m tinkering with netbox inventory source plugin and noticed , that i must set then auth token either in the inventory file, or in a env variable. but i’d rather have it in a vault file. my attempts to import t…

---

## [wrong task state with network\_cli (failed/unreachable)](https://forum.ansible.com/t/wrong-task-state-with-network-cli-failed-unreachable/33824)

<div class="topic-metadata">

**Author:** [@Greg\_Monroe](https://forum.ansible.com/u/Greg_Monroe)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 10:30pm UTC](https://forum.ansible.com/t/wrong-task-state-with-network-cli-failed-unreachable/33824 "2020-09-16T22:30:43Z")

</div>

Hello! I’m evaluating ansible to configure network switches and observed that the task result is not correct if the switch is not reachable. Using network\_cli it’s always ‘failed’ where I’d expect 'unreachable". A minima…

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

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