# Ansible Project

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

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

**Page:** 106

---

## [vmware modules: assign vmnics to uplinks (dswitch)](https://forum.ansible.com/t/vmware-modules-assign-vmnics-to-uplinks-dswitch/33790)

<div class="topic-metadata">

**Author:** [@Dibe](https://forum.ansible.com/u/Dibe)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 11:56am UTC](https://forum.ansible.com/t/vmware-modules-assign-vmnics-to-uplinks-dswitch/33790 "2020-09-11T11:56:59Z")

</div>

Hi all, is there a way to assign vmnics to uplinks? I need to reassign vmnics from default plinks to LACP ports defined in a distributed switch, and do not find a solution for it (it is possible via vsphere UI client) A…

---

## [Can I throttle a task with delay?](https://forum.ansible.com/t/can-i-throttle-a-task-with-delay/33789)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 10:55am UTC](https://forum.ansible.com/t/can-i-throttle-a-task-with-delay/33789 "2020-09-11T10:55:37Z")

</div>

I have an inventory containing a few dozens hosts. I have a short playbook that configures a monitoring service on a single server. I build the contents of a per host config for the monitoring service and then I upload …

---

## [CIS Bencjmarks - Rhel 7](https://forum.ansible.com/t/cis-bencjmarks-rhel-7/33784)

<div class="topic-metadata">

**Author:** [@Josephsimon\_Arokiara](https://forum.ansible.com/u/Josephsimon_Arokiara)\
**Replies:** 7\
**Last updated:** [September 10, 2020, 5:14pm UTC](https://forum.ansible.com/t/cis-bencjmarks-rhel-7/33784 "2020-09-10T17:14:19Z")

</div>

Hi All, How you doing? Do we have any playbooks/roles for doing audit and remediation on CIS benchmarks for Rhel 7? Cheers, Joseph

---

## [AWX SAML Configuration](https://forum.ansible.com/t/awx-saml-configuration/33782)

<div class="topic-metadata">

**Author:** [@Prasad\_Shetty](https://forum.ansible.com/u/Prasad_Shetty)\
**Replies:** 2\
**Last updated:** [September 10, 2020, 5:12pm UTC](https://forum.ansible.com/t/awx-saml-configuration/33782 "2020-09-10T17:12:49Z")

</div>

Hello Everyone- I was trying to setup a SAML team map in AWX . I am able to achieve the same using LDAP but in SAML it bit confusing. Could you please help me on the same. If anyone already configured. Please share the …

---

## [Ansible 2.10.0 beta 1](https://forum.ansible.com/t/ansible-2-10-0-beta-1/33726)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 3\
**Last updated:** [September 10, 2020, 3:43pm UTC](https://forum.ansible.com/t/ansible-2-10-0-beta-1/33726 "2020-09-10T15:43:05Z")

</div>

Hi all- For all those wanting to test the next version of Ansible, we're happy to announce that Ansible 2.10.0 beta1 is now available on PyPI! Ansible 2.10.0b1 pulls in the ansible-base-2.10.1 (presently rc2) package…

---

## [Ansible Google Pubsub](https://forum.ansible.com/t/ansible-google-pubsub/33780)

<div class="topic-metadata">

**Author:** [@Yantram\_Cloud](https://forum.ansible.com/u/Yantram_Cloud)\
**Replies:** 4\
**Last updated:** [September 10, 2020, 2:27pm UTC](https://forum.ansible.com/t/ansible-google-pubsub/33780 "2020-09-10T14:27:26Z")

</div>

I am trying to create a subscription for google pubsub through ansible playbook. this is my task. name: create a subscription gcpubsub: topic: test-topic1 state: present credentials\_file: "{{ gcp\_cred\_f…

---

## [How to get UNREACHABLE hosts in ansible-playbook](https://forum.ansible.com/t/how-to-get-unreachable-hosts-in-ansible-playbook/33783)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 6:18am UTC](https://forum.ansible.com/t/how-to-get-unreachable-hosts-in-ansible-playbook/33783 "2020-09-10T06:18:30Z")

</div>

Below is my playbook name: Play 1.5 - Check each target hosts: all\_hosts ignore\_unreachable: yes ignore\_errors: yes gather\_facts: true tasks: raw: “echo {{ inventory\_hostname }} is UNREACHABLE” delegate\_to: loc…

---

## [Ansible tower process](https://forum.ansible.com/t/ansible-tower-process/33781)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 4:14am UTC](https://forum.ansible.com/t/ansible-tower-process/33781 "2020-09-10T04:14:07Z")

</div>

Hi All, I want to integrate my current ansible core to ansible tower, Please help on sharing process to do or any link. Thanks in advance, kindly help. Regards Abdul Razzaq

---

## [XML parsing(?) issue with virt\_net module?](https://forum.ansible.com/t/xml-parsing-issue-with-virt-net-module/33779)

<div class="topic-metadata">

**Author:** [@Ian\_Pilcher](https://forum.ansible.com/u/Ian_Pilcher)\
**Replies:** 1\
**Last updated:** [September 9, 2020, 8:50pm UTC](https://forum.ansible.com/t/xml-parsing-issue-with-virt-net-module/33779 "2020-09-09T20:50:45Z")

</div>

This is probably a stupid/n00b question, but I'm at my wit's end trying to figure this out. I'm trying to use the virt\_net module to create a libvirt network. The task looks like this (apologies for the long line). …

---

## [Can't install ansible properly with pip and devel branch](https://forum.ansible.com/t/cant-install-ansible-properly-with-pip-and-devel-branch/33778)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 7\
**Last updated:** [September 9, 2020, 4:10pm UTC](https://forum.ansible.com/t/cant-install-ansible-properly-with-pip-and-devel-branch/33778 "2020-09-09T16:10:50Z")

</div>

I am using: sudo pip install git+https://github.com/ansible/ansible@devel pip install git+https://github.com/ansible/ansible@devel --user to install ansible. I have uninstalled any previous versions. I am using python…

---

## [Hi all Can I know which is the default inventory path in awx server if we did not specified any.](https://forum.ansible.com/t/hi-all-can-i-know-which-is-the-default-inventory-path-in-awx-server-if-we-did-not-specified-any/33777)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 3\
**Last updated:** [September 9, 2020, 2:01pm UTC](https://forum.ansible.com/t/hi-all-can-i-know-which-is-the-default-inventory-path-in-awx-server-if-we-did-not-specified-any/33777 "2020-09-09T14:01:44Z")

</div>

Hi all Can someone help which is the default inventory path in awx server if we did not specified any while installation. Thanks in advance.

---

## [include\_role question regarding variables](https://forum.ansible.com/t/include-role-question-regarding-variables/33766)

<div class="topic-metadata">

**Author:** [@Sven1](https://forum.ansible.com/u/Sven1)\
**Replies:** 3\
**Last updated:** [September 9, 2020, 12:41pm UTC](https://forum.ansible.com/t/include-role-question-regarding-variables/33766 "2020-09-09T12:41:45Z")

</div>

Hello Everyone, i have a role “x” that uses two default vars: (roles/x/defaults/main.yml) server1var: server1 server2var: server2 based on these vars, tasks are executed on server1 or server2 now I have a playbook …

---

## [Modify ssh connection arguments that ansible uses.](https://forum.ansible.com/t/modify-ssh-connection-arguments-that-ansible-uses/33776)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 7\
**Last updated:** [September 9, 2020, 12:09pm UTC](https://forum.ansible.com/t/modify-ssh-connection-arguments-that-ansible-uses/33776 "2020-09-09T12:09:46Z")

</div>

The below ssh connection by ansible fails to connect to remote hosts ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o ‘IdentityFile=“/app/ssh\_keys/id\_rsa”’ -o KbdInteractiveAuthentication=no -o PreferredAuthen…

---

## [Playbook For Windows](https://forum.ansible.com/t/playbook-for-windows/33775)

<div class="topic-metadata">

**Author:** [@rubod\_singh](https://forum.ansible.com/u/rubod_singh)\
**Replies:** 0\
**Last updated:** [September 9, 2020, 9:29am UTC](https://forum.ansible.com/t/playbook-for-windows/33775 "2020-09-09T09:29:12Z")

</div>

HI Team, i'm very new to Ansible and our company is actively pursuing ansible automation everywhere in day to day tasks. Can some one please guide me to common playbooks i can refer ( we are already doing ansible and…

---

## [How to download a folder from sharepoint](https://forum.ansible.com/t/how-to-download-a-folder-from-sharepoint/33773)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 1\
**Last updated:** [September 9, 2020, 9:19am UTC](https://forum.ansible.com/t/how-to-download-a-folder-from-sharepoint/33773 "2020-09-09T09:19:22Z")

</div>

Hello all, Can anyone help me to down a folder from sharepoint ? Thanks, Surabhy

---

## [How to download a s3 folder using playbook](https://forum.ansible.com/t/how-to-download-a-s3-folder-using-playbook/33771)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 5\
**Last updated:** [September 9, 2020, 9:17am UTC](https://forum.ansible.com/t/how-to-download-a-s3-folder-using-playbook/33771 "2020-09-09T09:17:50Z")

</div>

Can anyone help with this? I am trying to download a s3folder using ansible playbook.

---

## [How to search through a JSON output for a specific key:value?](https://forum.ansible.com/t/how-to-search-through-a-json-output-for-a-specific-key-value/33772)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 6\
**Last updated:** [September 9, 2020, 8:19am UTC](https://forum.ansible.com/t/how-to-search-through-a-json-output-for-a-specific-key-value/33772 "2020-09-09T08:19:26Z")

</div>

Morning all, have had this question from a co-worker & not managed to work out how do do it. Any help is greatly appreciated as I can see this coming up several times in the future as well. We have the following respon…

---

## [Executing remote PowerShell script not generating required output](https://forum.ansible.com/t/executing-remote-powershell-script-not-generating-required-output/33770)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 1\
**Last updated:** [September 9, 2020, 6:28am UTC](https://forum.ansible.com/t/executing-remote-powershell-script-not-generating-required-output/33770 "2020-09-09T06:28:49Z")

</div>

Hello All, I am trying to execute a PowerShell script present on remote system. It is executing successfully from ansible playbook side. After execution it should generate a password.csv file on the remote system, but …

---

## [Ansible-2.10.0 beta2](https://forum.ansible.com/t/ansible-2-10-0-beta2/33769)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 9, 2020, 2:58am UTC](https://forum.ansible.com/t/ansible-2-10-0-beta2/33769 "2020-09-09T02:58:49Z")

</div>

Hi all- For all those wanting to test the next version of Ansible, we're happy to announce that Ansible 2.10.0 beta2 is now available on PyPI! Ansible 2.10.0b2 pulls in the ansible-base-2.10.1 (presently rc3) package…

---

## [ansible failed with msg='MODULE FAILURE'  rc=249](https://forum.ansible.com/t/ansible-failed-with-msg-module-failure-rc-249/33768)

<div class="topic-metadata">

**Author:** [@user119](https://forum.ansible.com/u/user119)\
**Replies:** 0\
**Last updated:** [September 9, 2020, 1:44am UTC](https://forum.ansible.com/t/ansible-failed-with-msg-module-failure-rc-249/33768 "2020-09-09T01:44:34Z")

</div>

I can’t execute any module for a special server(which i can well done in other server). Can anyone help solve this problem? Thank you very much!! LInux Envs: Linux {local\_host} 3.10.0-327.el7.x86\_64 #1 SMP Thu Nov 19 …

---

## [sending host task info to an email](https://forum.ansible.com/t/sending-host-task-info-to-an-email/33767)

<div class="topic-metadata">

**Author:** [@Angie\_DeRubeis](https://forum.ansible.com/u/Angie_DeRubeis)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 10:55pm UTC](https://forum.ansible.com/t/sending-host-task-info-to-an-email/33767 "2020-09-08T22:55:01Z")

</div>

Hello, I have a cisco ios command configured for a group of host and a mail setup to send results but the results mail separately instead in group, as the task does. How do I change it to send one email per playbook?

---

## [Ansible playbook hangs when target server does not have python](https://forum.ansible.com/t/ansible-playbook-hangs-when-target-server-does-not-have-python/33765)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 7:46pm UTC](https://forum.ansible.com/t/ansible-playbook-hangs-when-target-server-does-not-have-python/33765 "2020-09-08T19:46:41Z")

</div>

Ansible hangs when target host “10.9.88.205” does not have python installed. I have successful ssh connectivity from ansible to target host shown below below: ansible-host# ssh root@10.9.88.205 Below is my playbook: …

---

## [iterate counter within loop](https://forum.ansible.com/t/iterate-counter-within-loop/33754)

<div class="topic-metadata">

**Author:** [@David\_Bush1](https://forum.ansible.com/u/David_Bush1)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 3:17pm UTC](https://forum.ansible.com/t/iterate-counter-within-loop/33754 "2020-09-08T15:17:20Z")

</div>

Hi All, I am after some advise please as I am struggling to think of a method to do this. I have a task in a role that needs to create a file on each target host in a host-group that should look like this: server.0=\<h…

---

## [Sort by date execution task resume after PLAY RECAP](https://forum.ansible.com/t/sort-by-date-execution-task-resume-after-play-recap/33763)

<div class="topic-metadata">

**Author:** [@Hba](https://forum.ansible.com/u/Hba)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 2:42pm UTC](https://forum.ansible.com/t/sort-by-date-execution-task-resume-after-play-recap/33763 "2020-09-08T14:42:57Z")

</div>

Hello, Actually when in run a playbook . After the “PLAY RECAP \*\*\*\*”, task name are sort by duration execution. Is there a way to configure by date execution ? Thanks Regards Hba

---

## [Usage of a registered variable in "when" condition](https://forum.ansible.com/t/usage-of-a-registered-variable-in-when-condition/33762)

<div class="topic-metadata">

**Author:** [@Peter\_Gebirgslok](https://forum.ansible.com/u/Peter_Gebirgslok)\
**Replies:** 7\
**Last updated:** [September 8, 2020, 12:44pm UTC](https://forum.ansible.com/t/usage-of-a-registered-variable-in-when-condition/33762 "2020-09-08T12:44:50Z")

</div>

Hello guys, I have the following problem: I’m reading a simple json file which contains some names of my hosts. The file looks like this: { “redundancynode”: “node4”, “service”: “dhcp”, “servicenode” “node1” } Now i…

---

## [Need Guidance](https://forum.ansible.com/t/need-guidance/33761)

<div class="topic-metadata">

**Author:** [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Replies:** 4\
**Last updated:** [September 8, 2020, 12:06pm UTC](https://forum.ansible.com/t/need-guidance/33761 "2020-09-08T12:06:11Z")

</div>

Hi All, Need your Guidance to achieve the milestone. I am creating a playbook to validate the user password expiry date . if it expires withing 15 days it should send a mail to user mail id. but not sure how to enable…

---

## [Deploy flask application](https://forum.ansible.com/t/deploy-flask-application/33755)

<div class="topic-metadata">

**Author:** [@Pavithra\_Chellakumar](https://forum.ansible.com/u/Pavithra_Chellakumar)\
**Replies:** 3\
**Last updated:** [September 8, 2020, 7:24am UTC](https://forum.ansible.com/t/deploy-flask-application/33755 "2020-09-08T07:24:52Z")

</div>

How to deploy python-flask application using ansible?

---

## [Unhandled error in Python interpreter discovery for host](https://forum.ansible.com/t/unhandled-error-in-python-interpreter-discovery-for-host/33759)

<div class="topic-metadata">

**Author:** [@Edwin\_Cabarique](https://forum.ansible.com/u/Edwin_Cabarique)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 4:36am UTC](https://forum.ansible.com/t/unhandled-error-in-python-interpreter-discovery-for-host/33759 "2020-09-08T04:36:24Z")

</div>

Hello team. I wanted to ask you for some help with this error when trying to connect to a cisco router from Ansible. either by console or by means of AWX. \[root@centos7 home\]# ansible all -m ping \[WARNING\]: Unhandled …

---

## [Replacing variable in multiple file](https://forum.ansible.com/t/replacing-variable-in-multiple-file/33752)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 1\
**Last updated:** [September 7, 2020, 5:50am UTC](https://forum.ansible.com/t/replacing-variable-in-multiple-file/33752 "2020-09-07T05:50:57Z")

</div>

vars: MACHINE: gpack.tmt.com AMSPORT: 9933 ENVIRONMENT: ‘PRD’ PROJECT: ‘GTA’ AMSPORT: ‘333’ MACHINE\_LOG: ’ gpack ’ STOREFILE\_PATH: ‘/home/linux/store’ AMS\_VERSION: ‘1.5’ I have few file in the node need to change all …

---

## [ansible delegate\_to behaving absurd when used inside a loop](https://forum.ansible.com/t/ansible-delegate-to-behaving-absurd-when-used-inside-a-loop/33753)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 4:04am UTC](https://forum.ansible.com/t/ansible-delegate-to-behaving-absurd-when-used-inside-a-loop/33753 "2020-09-07T04:04:38Z")

</div>

Sharing my testcase below demonstrating the problem that one can replicate: I have ssh connectivity from ansible host to JUMP Servers with root user as below: anuser1@ANSIBLE\_HOST# ssh root@10.0.0.1 ----------\> success…

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

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