# Ansible Project

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

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

**Page:** 78

---

## [pywinrm installation](https://forum.ansible.com/t/pywinrm-installation/35123)

<div class="topic-metadata">

**Author:** [@pradnya\_waghmare](https://forum.ansible.com/u/pradnya_waghmare)\
**Replies:** 1\
**Last updated:** [May 6, 2021, 10:05am UTC](https://forum.ansible.com/t/pywinrm-installation/35123 "2021-05-06T10:05:29Z")

</div>

Hi, I am trying to connect to windows system form ansible host.For that trying to install winrm ,folowing command: sudo pip3 install pywinrm with abouve command I am getting below msg: WARNING: Running pip as root wi…

---

## [BigSwitch - any modules and ansible\_network\_os plugin?](https://forum.ansible.com/t/bigswitch-any-modules-and-ansible-network-os-plugin/35120)

<div class="topic-metadata">

**Author:** [@Wilber\_H](https://forum.ansible.com/u/Wilber_H)\
**Replies:** 0\
**Last updated:** [May 6, 2021, 3:27am UTC](https://forum.ansible.com/t/bigswitch-any-modules-and-ansible-network-os-plugin/35120 "2021-05-06T03:27:32Z")

</div>

Plugin - Is there an ansible\_network\_os plugin for BigSwitch devices? Is yes, would that be “eos” since Arista and BigSwitch are now one company? Modules - Any BigSwitch modules to run commands? So far I’ve only fou…

---

## [Srop nginx playbook](https://forum.ansible.com/t/srop-nginx-playbook/35117)

<div class="topic-metadata">

**Author:** [@bec12317](https://forum.ansible.com/u/bec12317)\
**Replies:** 4\
**Last updated:** [May 5, 2021, 3:49pm UTC](https://forum.ansible.com/t/srop-nginx-playbook/35117 "2021-05-05T15:49:56Z")

</div>

I am writing a playbook to stop nginx on a remote host (ubuntu). Please I appreciate your help as usual. Thank you I get this timeout error: TASK \[nginx.service\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [How to ignore files that can not be found as part of vars\_files](https://forum.ansible.com/t/how-to-ignore-files-that-can-not-be-found-as-part-of-vars-files/35116)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 11:20am UTC](https://forum.ansible.com/t/how-to-ignore-files-that-can-not-be-found-as-part-of-vars-files/35116 "2021-05-05T11:20:41Z")

</div>

Hi, I need to upload 5 files as part of vars\_files. There is a chance that one of the files is missing and in this case i want to ignore it - How can i do that. This is my solution for a single file , but how can i us…

---

## [Ansible-4.0.0 beta2 released](https://forum.ansible.com/t/ansible-4-0-0-beta2-released/35115)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 10:45am UTC](https://forum.ansible.com/t/ansible-4-0-0-beta2-released/35115 "2021-05-05T10:45:57Z")

</div>

Hi all, We're happy to announce that the Ansible-4.0.0 beta2 package is now available! This update is based on the Ansible-core-2.11.x package which is a major update from the Ansible-3 package (Ansible-3 was based o…

---

## [ansible ec2\_ansible\_facts boto module issue](https://forum.ansible.com/t/ansible-ec2-ansible-facts-boto-module-issue/35113)

<div class="topic-metadata">

**Author:** [@Josephsimon\_Arokiara](https://forum.ansible.com/u/Josephsimon_Arokiara)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 3:30am UTC](https://forum.ansible.com/t/ansible-ec2-ansible-facts-boto-module-issue/35113 "2021-05-05T03:30:24Z")

</div>

Hi All, We are using older ansible version 2.2.1.0 in a virtual environment hosted on Amazon linux. Tried to run the ec2.py dynamic inventory script and it failed with the below errors: Error: boto required for this mo…

---

## [Reformat of json data using Ansible](https://forum.ansible.com/t/reformat-of-json-data-using-ansible/35097)

<div class="topic-metadata">

**Author:** [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Replies:** 6\
**Last updated:** [May 4, 2021, 8:09pm UTC](https://forum.ansible.com/t/reformat-of-json-data-using-ansible/35097 "2021-05-04T20:09:54Z")

</div>

Hello All, Is it possible that we can reformat the json body completely using Ansible? As of now i have used the python script to read the json data and then do the reformatting of the json. But i am interest to know i…

---

## [playbooks and hosts variables](https://forum.ansible.com/t/playbooks-and-hosts-variables/35111)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 1\
**Last updated:** [May 4, 2021, 4:17pm UTC](https://forum.ansible.com/t/playbooks-and-hosts-variables/35111 "2021-05-04T16:17:47Z")

</div>

I have a created a set of playbooks to deploy a server from a template in vmware. I have to admit this works great. The only changes I need to make are a few variables in a vars file and the hosts file. My question is in…

---

## [FYI: Reminder about ansible 3 & 4 release dates](https://forum.ansible.com/t/fyi-reminder-about-ansible-3-4-release-dates/35109)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 1:14pm UTC](https://forum.ansible.com/t/fyi-reminder-about-ansible-3-4-release-dates/35109 "2021-05-04T13:14:05Z")

</div>

Just a brief reminder about the Ansible 3 and 4 schedule: \* The last Ansible 3 release is planned for May 11, 2021 \* Ansible 4.0.0 release candidate 1 is also planned for May 11, 2021 \* If there are no blocker bugs di…

---

## [select/reject filter parameters](https://forum.ansible.com/t/select-reject-filter-parameters/35103)

<div class="topic-metadata">

**Author:** [@Dimitri\_Yioulos1](https://forum.ansible.com/u/Dimitri_Yioulos1)\
**Replies:** 7\
**Last updated:** [May 4, 2021, 11:39am UTC](https://forum.ansible.com/t/select-reject-filter-parameters/35103 "2021-05-04T11:39:52Z")

</div>

In for example, the following: {{ hostvars\[host\]\[‘java\_one’\]\[‘stderr\_lines’\] | reject(‘contains’, ‘OpenJDK’) }} or {{ hostvars\[host\]\[‘java\_one’\]\[‘stderr\_lines’\] | select(‘contains’, ‘Java™’) }} how can i add a second…

---

## [URI module - Query parameters](https://forum.ansible.com/t/uri-module-query-parameters/35106)

<div class="topic-metadata">

**Author:** [@Kylian\_B](https://forum.ansible.com/u/Kylian_B)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 8:33am UTC](https://forum.ansible.com/t/uri-module-query-parameters/35106 "2021-05-04T08:33:31Z")

</div>

Hello, I’m currently trying to use uri module in order to call an API. This API uses both body and query parameters. But the only way to use query parameters is to write them directly in the url. Is it the expected way …

---

## [help needed to install Ansible on MacOS BigSur](https://forum.ansible.com/t/help-needed-to-install-ansible-on-macos-bigsur/35094)

<div class="topic-metadata">

**Author:** [@Zeynal\_Hajili](https://forum.ansible.com/u/Zeynal_Hajili)\
**Replies:** 6\
**Last updated:** [May 4, 2021, 8:22am UTC](https://forum.ansible.com/t/help-needed-to-install-ansible-on-macos-bigsur/35094 "2021-05-04T08:22:00Z")

</div>

Hello team, I am very new to Ansible and i am trying to install Ansible on my MacOS BigSur. I followed official guide and tried to install it with following logs. MacBook-Pro:~$ python3 -m pip install --user ansible C…

---

## [New releases: ansible-base 2.10.9, ansible 2.9.21](https://forum.ansible.com/t/new-releases-ansible-base-2-10-9-ansible-2-9-21/35105)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 3:29am UTC](https://forum.ansible.com/t/new-releases-ansible-base-2-10-9-ansible-2-9-21/35105 "2021-05-04T03:29:13Z")

</div>

Hi all- we're happy to announce that the general releases of ansible-base 2.10.9 and ansible 2.9.21 are now available! How to get them

---

## [Re-Use role To Complete multi-stage Upgrade](https://forum.ansible.com/t/re-use-role-to-complete-multi-stage-upgrade/35104)

<div class="topic-metadata">

**Author:** [@Clint\_Denham](https://forum.ansible.com/u/Clint_Denham)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 12:41am UTC](https://forum.ansible.com/t/re-use-role-to-complete-multi-stage-upgrade/35104 "2021-05-04T00:41:34Z")

</div>

Somewhat new to Ansible Roles and I can’t sort it out in my head how to do this. I have a situation where I need to upgrade 2 target devices from software code v1 → v2 and once that is completed on both devices, then up…

---

## [Zap Baseline scan using ansible](https://forum.ansible.com/t/zap-baseline-scan-using-ansible/35101)

<div class="topic-metadata">

**Author:** [@bec12317](https://forum.ansible.com/u/bec12317)\
**Replies:** 2\
**Last updated:** [May 3, 2021, 3:03pm UTC](https://forum.ansible.com/t/zap-baseline-scan-using-ansible/35101 "2021-05-03T15:03:50Z")

</div>

I am performing a zap-full-scan on DVWS as the target on kali. I get this error below: Your help is appreciated. TASK \[getting raw output of the scan\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[my\_v…

---

## [Trying to use ansible to connect to Windows over SSH](https://forum.ansible.com/t/trying-to-use-ansible-to-connect-to-windows-over-ssh/35089)

<div class="topic-metadata">

**Author:** [@Paul\_Jaros](https://forum.ansible.com/u/Paul_Jaros)\
**Replies:** 4\
**Last updated:** [May 3, 2021, 8:48am UTC](https://forum.ansible.com/t/trying-to-use-ansible-to-connect-to-windows-over-ssh/35089 "2021-05-03T08:48:18Z")

</div>

Hi I’ve posted my question allready on Stackoverflow. Can I direct your attention to the question there? https://stackoverflow.com/questions/67331856/ansible-fails-to-connect-from-linux-to-windows-via-ssh Thanks.

---

## [Modifying CIDR of an existing EC2 Security Groups using Ansible](https://forum.ansible.com/t/modifying-cidr-of-an-existing-ec2-security-groups-using-ansible/35052)

<div class="topic-metadata">

**Author:** [@Naveen\_NK](https://forum.ansible.com/u/Naveen_NK)\
**Replies:** 7\
**Last updated:** [May 3, 2021, 7:53am UTC](https://forum.ansible.com/t/modifying-cidr-of-an-existing-ec2-security-groups-using-ansible/35052 "2021-05-03T07:53:45Z")

</div>

Can we modify existing EC2 Security group using Ansible by accepting new input parameter through jenkins job? Scenario - I have to update users public IP to Ec2 security groups everyday Whenever their Public ip changes.…

---

## [Changing the item in list of dictionaries](https://forum.ansible.com/t/changing-the-item-in-list-of-dictionaries/35096)

<div class="topic-metadata">

**Author:** [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Replies:** 0\
**Last updated:** [May 2, 2021, 11:09pm UTC](https://forum.ansible.com/t/changing-the-item-in-list-of-dictionaries/35096 "2021-05-02T23:09:32Z")

</div>

Hi All, Is there a possibility that I can change the value of a item in list of dictionaries comparing against another list value? Say for example I have 1 list as \[‘abc’, ‘null’, ‘xyz’\] name my\_list And a list of di…

---

## [ansible-inventory  --list .. how to get part of info](https://forum.ansible.com/t/ansible-inventory-list-how-to-get-part-of-info/35093)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 2\
**Last updated:** [May 2, 2021, 6:22am UTC](https://forum.ansible.com/t/ansible-inventory-list-how-to-get-part-of-info/35093 "2021-05-02T06:22:04Z")

</div>

hello i am using ansible-inventory with AWS I see all EC2 details … great Is it possible from the output to extract only some info eg To list AWS resources execute the below command: 1 ./ec2.py --list This will r…

---

## [Complete debug output to file](https://forum.ansible.com/t/complete-debug-output-to-file/35057)

<div class="topic-metadata">

**Author:** [@Dimitri\_Yioulos1](https://forum.ansible.com/u/Dimitri_Yioulos1)\
**Replies:** 4\
**Last updated:** [April 30, 2021, 12:44pm UTC](https://forum.ansible.com/t/complete-debug-output-to-file/35057 "2021-04-30T12:44:16Z")

</div>

Hello, all. It’s been a long time since I posted here, so please forgive any posting faux pas. I’ve created the following playboos:

---

## [Ubuntu apt cannot install ansible 2.10 from latest official ppa](https://forum.ansible.com/t/ubuntu-apt-cannot-install-ansible-2-10-from-latest-official-ppa/35077)

<div class="topic-metadata">

**Author:** [@Oleh\_Steblyna](https://forum.ansible.com/u/Oleh_Steblyna)\
**Replies:** 1\
**Last updated:** [April 30, 2021, 11:04am UTC](https://forum.ansible.com/t/ubuntu-apt-cannot-install-ansible-2-10-from-latest-official-ppa/35077 "2021-04-30T11:04:23Z")

</div>

$ lsb\_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic $ sudo apt-get update Hit:1 http://ppa.launchpad.net/ansible/ansible-2.10/ubunt…

---

## [venv installing system wide pip packages into venv virtual environment in ansible](https://forum.ansible.com/t/venv-installing-system-wide-pip-packages-into-venv-virtual-environment-in-ansible/35088)

<div class="topic-metadata">

**Author:** [@cool\_prat](https://forum.ansible.com/u/cool_prat)\
**Replies:** 0\
**Last updated:** [April 30, 2021, 10:23am UTC](https://forum.ansible.com/t/venv-installing-system-wide-pip-packages-into-venv-virtual-environment-in-ansible/35088 "2021-04-30T10:23:02Z")

</div>

Hi All, I am running ansible to install some pip packages into virtual environment using venv but its installing exact same version and no. packages from system wide python and not what is the mentioned in requirement.t…

---

## [Ansible playbook disk space csv report problem](https://forum.ansible.com/t/ansible-playbook-disk-space-csv-report-problem/35075)

<div class="topic-metadata">

**Author:** [@krishna\_gupta](https://forum.ansible.com/u/krishna_gupta)\
**Replies:** 1\
**Last updated:** [April 30, 2021, 7:46am UTC](https://forum.ansible.com/t/ansible-playbook-disk-space-csv-report-problem/35075 "2021-04-30T07:46:34Z")

</div>

Dear All, I am executing the df -kh command saving the result in csv but result is not coming in proper csv format. --------Playbook--------

---

## [Use ansible to get all the servers with specific package](https://forum.ansible.com/t/use-ansible-to-get-all-the-servers-with-specific-package/35083)

<div class="topic-metadata">

**Author:** [@foramgoram123](https://forum.ansible.com/u/foramgoram123)\
**Replies:** 2\
**Last updated:** [April 30, 2021, 4:52am UTC](https://forum.ansible.com/t/use-ansible-to-get-all-the-servers-with-specific-package/35083 "2021-04-30T04:52:09Z")

</div>

Is there way to find out all the servers that has specific package installed either via ansible command line or awx/tower similar to puppet pql query?

---

## [ansible-vault "A vault password must be specified to decrypt data"](https://forum.ansible.com/t/ansible-vault-a-vault-password-must-be-specified-to-decrypt-data/35082)

<div class="topic-metadata">

**Author:** [@Larry\_Forsyth](https://forum.ansible.com/u/Larry_Forsyth)\
**Replies:** 12\
**Last updated:** [April 29, 2021, 8:51pm UTC](https://forum.ansible.com/t/ansible-vault-a-vault-password-must-be-specified-to-decrypt-data/35082 "2021-04-29T20:51:52Z")

</div>

Having difficulties getting my playbook to run successfully using password encrypted by ansible-vault. Running on RHEL 7.9. $ ansible-playbook --version ansible-playbook 2.9.18 config file = /home/CGE/sa\_cge\_sm/projec…

---

## [Ansible 4.0.0 beta1 release](https://forum.ansible.com/t/ansible-4-0-0-beta1-release/35081)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 1:02pm UTC](https://forum.ansible.com/t/ansible-4-0-0-beta1-release/35081 "2021-04-29T13:02:19Z")

</div>

Hi all, We're happy to announce that the Ansible-4.0.0 beta1 package is now available! This update is based on the Ansible-core-2.11.x package which is a major update from the Ansible-3 package (Ansible-3 was based o…

---

## [ssh connection for the hosts in dynamic inventory](https://forum.ansible.com/t/ssh-connection-for-the-hosts-in-dynamic-inventory/35080)

<div class="topic-metadata">

**Author:** [@Sakshi\_Rathore](https://forum.ansible.com/u/Sakshi_Rathore)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 9:53am UTC](https://forum.ansible.com/t/ssh-connection-for-the-hosts-in-dynamic-inventory/35080 "2021-04-29T09:53:30Z")

</div>

hello all, i have dynamically generated inventory like below, i want to establish ssh conenction to all the ips for istiotst and coremediaprod servers. I have ssh keys configured in the .ssh folder: when i run: ansible…

---

## [vmware\_local\_role\_manager](https://forum.ansible.com/t/vmware-local-role-manager/35070)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [April 28, 2021, 6:19pm UTC](https://forum.ansible.com/t/vmware-local-role-manager/35070 "2021-04-28T18:19:41Z")

</div>

anyone know how to add a AD group into a local esxi host with administrator role?

---

## [winrm error](https://forum.ansible.com/t/winrm-error/35076)

<div class="topic-metadata">

**Author:** [@Somasundaram\_R](https://forum.ansible.com/u/Somasundaram_R)\
**Replies:** 0\
**Last updated:** [April 28, 2021, 9:49am UTC](https://forum.ansible.com/t/winrm-error/35076 "2021-04-28T09:49:53Z")

</div>

I am trying to access windows host from ansible. In my virtual environment, “pip list” command shows these packages installed winrm pywinrm xmltodict …etc… when I play, playbook or adhoc command it shows error like…

---

## [Owasp Zap installation with errors](https://forum.ansible.com/t/owasp-zap-installation-with-errors/35073)

<div class="topic-metadata">

**Author:** [@bec12317](https://forum.ansible.com/u/bec12317)\
**Replies:** 0\
**Last updated:** [April 27, 2021, 9:12pm UTC](https://forum.ansible.com/t/owasp-zap-installation-with-errors/35073 "2021-04-27T21:12:34Z")

</div>

I have already installed docker on ubuntu 18:04 and installing owasp zap on the same ubuntu but i get the below error. Please i need help. “msg”: “Cannot find the image owasp/zap2docker-weekly:latest locally.” this is …

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

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