# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=279

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

**Page:** 280

---

## [Ansible - To limit the execution for the range of hosts](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30659)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 11:10am UTC](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30659 "2019-06-26T11:10:17Z")

</div>

I need to limit the playbook execution for particular hosts. Eg., From host1 to the host mentioned in site.retry file My inventory file: 192.168.11.1 192.168.11.2 192.168.11.3 Playbook name: site.yml Command: ansi…

---

## [win\_find not returning deduplicated files on share](https://forum.ansible.com/t/win-find-not-returning-deduplicated-files-on-share/30657)

<div class="topic-metadata">

**Author:** [@Mark\_Benson](https://forum.ansible.com/u/Mark_Benson)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 9:58am UTC](https://forum.ansible.com/t/win-find-not-returning-deduplicated-files-on-share/30657 "2019-06-26T09:58:55Z")

</div>

Hi all, I’ve been looking at the win\_find module to get a list of .exe files from a Windows share but win\_find is not returning the .exe files. The .exe files are deduplicated and looking at their properties in Windows…

---

## [Syntax for using variable-item-string in when statement](https://forum.ansible.com/t/syntax-for-using-variable-item-string-in-when-statement/30655)

<div class="topic-metadata">

**Author:** [@sahitansar](https://forum.ansible.com/u/sahitansar)\
**Replies:** 1\
**Last updated:** [June 26, 2019, 6:49am UTC](https://forum.ansible.com/t/syntax-for-using-variable-item-string-in-when-statement/30655 "2019-06-26T06:49:12Z")

</div>

What’s the right way of using jinja2 in when statement . I basically have a condition to check if something like below exists in stdout of perious results. When : \_ ’ {{ var1 }}-{{ var2}}-{{ item }}-{{ var3 }} in prev…

---

## [ios\_config: What's error regarding to "Check device is in proper prompt after error"](https://forum.ansible.com/t/ios-config-whats-error-regarding-to-check-device-is-in-proper-prompt-after-error/30654)

<div class="topic-metadata">

**Author:** [@Chiu\_Hsia\_Peng](https://forum.ansible.com/u/Chiu_Hsia_Peng)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 3:30am UTC](https://forum.ansible.com/t/ios-config-whats-error-regarding-to-check-device-is-in-proper-prompt-after-error/30654 "2019-06-26T03:30:58Z")

</div>

Hi, I don’t have IOS device at hand, then I can’t try the command: “mac-address-table notification mac-move” I checked the command on-line, I think it is a valid command on global configuration mode. I wonder why the …

---

## [Help with with\_items and vmware\_guest](https://forum.ansible.com/t/help-with-with-items-and-vmware-guest/30652)

<div class="topic-metadata">

**Author:** [@Simon\_Pole](https://forum.ansible.com/u/Simon_Pole)\
**Replies:** 0\
**Last updated:** [June 25, 2019, 9:06pm UTC](https://forum.ansible.com/t/help-with-with-items-and-vmware-guest/30652 "2019-06-25T21:06:06Z")

</div>

Hi, I’m trying to do something that I thought would be very straghtfoward. I’m deploying 3 vms (VMware) on a DHCP network - I then want to get the IP address of the VM and connect to it, just a simple ping. \` name: …

---

## [Windows Server 2016 and SSH SL3 Environment](https://forum.ansible.com/t/windows-server-2016-and-ssh-sl3-environment/30643)

<div class="topic-metadata">

**Author:** [@ground7612](https://forum.ansible.com/u/ground7612)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 7:37pm UTC](https://forum.ansible.com/t/windows-server-2016-and-ssh-sl3-environment/30643 "2019-06-25T19:37:16Z")

</div>

Hi All Our use case is very specific. We are looking at an isolated, country-wide network that has around 500 workstations and 1300 servers that control highly critical assets. Every Machine runs a hardened Windows Ser…

---

## [win\_domain\_user fails with unexpected error](https://forum.ansible.com/t/win-domain-user-fails-with-unexpected-error/30650)

<div class="topic-metadata">

**Author:** [@IA1](https://forum.ansible.com/u/IA1)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 7:32pm UTC](https://forum.ansible.com/t/win-domain-user-fails-with-unexpected-error/30650 "2019-06-25T19:32:37Z")

</div>

I am currently working on automating the provisioning of the Active Directory servers in our environment. I have completed the majority of steps (Windows Features & Roles, Domain Creation, OUs, Groups, Group Memberships)…

---

## [How to define variable based on when condition](https://forum.ansible.com/t/how-to-define-variable-based-on-when-condition/30649)

<div class="topic-metadata">

**Author:** [@sase\_kumar1](https://forum.ansible.com/u/sase_kumar1)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 5:17pm UTC](https://forum.ansible.com/t/how-to-define-variable-based-on-when-condition/30649 "2019-06-25T17:17:35Z")

</div>

Hi Folks, I’m new to ansible and I have got some confusion in when the statement here is my playbook - hosts: localhost gather\_facts: false vars: nodetype: “DI” tasks: name: concatenate set\_fact: argu: “DI=1,D…

---

## [Projects in Tower](https://forum.ansible.com/t/projects-in-tower/30641)

<div class="topic-metadata">

**Author:** [@Bipin\_Guragain](https://forum.ansible.com/u/Bipin_Guragain)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 3:06pm UTC](https://forum.ansible.com/t/projects-in-tower/30641 "2019-06-25T15:06:01Z")

</div>

Hi All I am new to Ansible and Ansible Tower.I am learning to use it. I am trying to set up the project in my Org in Tower. I have configured all the connection between Tower and Bitbucket repo. In Cred section, I have …

---

## [Migrating playbooks from RHV to vCenter](https://forum.ansible.com/t/migrating-playbooks-from-rhv-to-vcenter/30647)

<div class="topic-metadata">

**Author:** [@Robert2](https://forum.ansible.com/u/Robert2)\
**Replies:** 0\
**Last updated:** [June 25, 2019, 2:47pm UTC](https://forum.ansible.com/t/migrating-playbooks-from-rhv-to-vcenter/30647 "2019-06-25T14:47:23Z")

</div>

One of our roles adds disks to our apache zookeeper machines. This is a task in a role for our RHV enviroment: name: Add zk disks ovirt\_disk: auth: “{{ ovirt\_auth }}” name: “{{ item\[1\] }}” vm\_name: “{{ item\[0\] }}” …

---

## [SAML Team Mapping](https://forum.ansible.com/t/saml-team-mapping/30550)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 1:39pm UTC](https://forum.ansible.com/t/saml-team-mapping/30550 "2019-06-25T13:39:31Z")

</div>

AWX v4.0.0.0. I’ve organized our users into groups; This information is passed to AWX when user login as \` \<saml:Attribute Name=“companyGroups” NameFormat=“urn:oasis:names:tc:SAML:2.0:attrname-format:basic”\> \<saml:A…

---

## [How to filter ipaddress and hostname and store it to different variable](https://forum.ansible.com/t/how-to-filter-ipaddress-and-hostname-and-store-it-to-different-variable/30629)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 9\
**Last updated:** [June 25, 2019, 11:16am UTC](https://forum.ansible.com/t/how-to-filter-ipaddress-and-hostname-and-store-it-to-different-variable/30629 "2019-06-25T11:16:06Z")

</div>

I have a variable that contains short hostname, FQDN and IP addresses. I need to filter sort hostname/FQDNs and it should store to a variable and also IP addresses should store to an another variable(this am able to do …

---

## [AMQP (RabbitMQ) Cleartext Authentication](https://forum.ansible.com/t/amqp-rabbitmq-cleartext-authentication/30644)

<div class="topic-metadata">

**Author:** [@P.Cookson](https://forum.ansible.com/u/P.Cookson)\
**Replies:** 0\
**Last updated:** [June 25, 2019, 8:55am UTC](https://forum.ansible.com/t/amqp-rabbitmq-cleartext-authentication/30644 "2019-06-25T08:55:23Z")

</div>

Hi all Our Nessus security vulnerability scanner reports the following vulnerability since installing RabbitMQ as part of the AWX setup: “AMQP Cleartext Authentication - The remote Advanced Message Queuing Protocol (AM…

---

## [WebSocket connection to '\<URL\>' failed: WebSocket is closed before the connection is established.](https://forum.ansible.com/t/websocket-connection-to-url-failed-websocket-is-closed-before-the-connection-is-established/27889)

<div class="topic-metadata">

**Author:** [@Sudheer\_Jejamma](https://forum.ansible.com/u/Sudheer_Jejamma)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 6:25am UTC](https://forum.ansible.com/t/websocket-connection-to-url-failed-websocket-is-closed-before-the-connection-is-established/27889 "2019-06-25T06:25:07Z")

</div>

Hello Folks, I’m running awx on https on port 443. I’m able to launch jobs but I’m unable to see StandardOut. Please find the following details. Version details: awx\_web:1.0.5 awx\_task:1.0.5 postgre:9.6 Console Err…

---

## [IOS\_BGP Cisco issue](https://forum.ansible.com/t/ios-bgp-cisco-issue/30642)

<div class="topic-metadata">

**Author:** [@Michael\_Ikram](https://forum.ansible.com/u/Michael_Ikram)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 6:23am UTC](https://forum.ansible.com/t/ios-bgp-cisco-issue/30642 "2019-06-25T06:23:21Z")

</div>

Hi There, I have a problem when I try to use ios\_bgp module below is the details: Ansible Version ansible 2.8.1 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/module…

---

## [Playbook exception error during task execution](https://forum.ansible.com/t/playbook-exception-error-during-task-execution/30635)

<div class="topic-metadata">

**Author:** [@Hitesh\_Kumar](https://forum.ansible.com/u/Hitesh_Kumar)\
**Replies:** 2\
**Last updated:** [June 24, 2019, 3:17pm UTC](https://forum.ansible.com/t/playbook-exception-error-during-task-execution/30635 "2019-06-24T15:17:56Z")

</div>

Hi All I am trying to run a playbook to configure vlan to and interface configuration to the devices in gns3 hosts. I am getting error while running the playbook. Below yml plabook and error message.Please help to sol…

---

## [How to use variables set in inventory file for the hostname /group](https://forum.ansible.com/t/how-to-use-variables-set-in-inventory-file-for-the-hostname-group/30640)

<div class="topic-metadata">

**Author:** [@VS1](https://forum.ansible.com/u/VS1)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 2:23pm UTC](https://forum.ansible.com/t/how-to-use-variables-set-in-inventory-file-for-the-hostname-group/30640 "2019-06-24T14:23:37Z")

</div>

Hello I have this inventory file: /etc/ansible/inventory/inventory-file \` \[my-group\] myhost.com project=my group=group \[my-group:vars\] project=my group=my-group \` and this is my playbook \` hosts: ‘{{ host }}…

---

## [jenkins\_plugins mdule : error when playing again a playbook](https://forum.ansible.com/t/jenkins-plugins-mdule-error-when-playing-again-a-playbook/30639)

<div class="topic-metadata">

**Author:** [@JiElPe-Fr381](https://forum.ansible.com/u/JiElPe-Fr381)\
**Replies:** 1\
**Last updated:** [June 24, 2019, 1:38pm UTC](https://forum.ansible.com/t/jenkins-plugins-mdule-error-when-playing-again-a-playbook/30639 "2019-06-24T13:38:20Z")

</div>

Dear all, I have a problem with the jenkins\_plugins module. Within a playbook that pull a jenkins docker image (jenkins/jenkins:lts-alpine) and runs it to install the instance and configure it, I have a task that insta…

---

## [Contributing Back - "Help Wanted"](https://forum.ansible.com/t/contributing-back-help-wanted/30632)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 2\
**Last updated:** [June 24, 2019, 1:03pm UTC](https://forum.ansible.com/t/contributing-back-help-wanted/30632 "2019-06-24T13:03:21Z")

</div>

Hello everyone! Since open sourcing AWX, we’ve noticed a huge uptick in contributions from the community. These contributions have come in many forms - oftentimes they’re code contributions, and other times they take th…

---

## [Ansible revert back operation](https://forum.ansible.com/t/ansible-revert-back-operation/30626)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 3\
**Last updated:** [June 24, 2019, 10:36am UTC](https://forum.ansible.com/t/ansible-revert-back-operation/30626 "2019-06-24T10:36:39Z")

</div>

I have three IPs (machines) listed in the inventory file. I have to run the playbook in all the 3 mchines. For eg., Lets consider I am deploying the application in all the 3 machines. When the deployment fails in any …

---

## [Put request to update only one attribute from API GET](https://forum.ansible.com/t/put-request-to-update-only-one-attribute-from-api-get/30611)

<div class="topic-metadata">

**Author:** [@abhijith.devaraju](https://forum.ansible.com/u/abhijith.devaraju)\
**Replies:** 6\
**Last updated:** [June 24, 2019, 10:06am UTC](https://forum.ansible.com/t/put-request-to-update-only-one-attribute-from-api-get/30611 "2019-06-24T10:06:49Z")

</div>

Hello, I’m trying to update an attribute from a GET API JSON result and do a PUT request along with the entire API data with only one attribute change. Please advice on the format for PUT Req Task ? Get Request for a …

---

## [Ansible revert back operation](https://forum.ansible.com/t/ansible-revert-back-operation/30637)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 1\
**Last updated:** [June 24, 2019, 7:34am UTC](https://forum.ansible.com/t/ansible-revert-back-operation/30637 "2019-06-24T07:34:58Z")

</div>

I have three IPs (machines) listed in the inventory file. I have to run the playbook in all the 3 mchines. For eg., Lets consider I am deploying the application in all the 3 machines. When the deployment fails in any …

---

## [ansible behavior to specific sudo commands on managed nodes](https://forum.ansible.com/t/ansible-behavior-to-specific-sudo-commands-on-managed-nodes/30634)

<div class="topic-metadata">

**Author:** [@Raman\_Kathpalia](https://forum.ansible.com/u/Raman_Kathpalia)\
**Replies:** 2\
**Last updated:** [June 24, 2019, 2:31am UTC](https://forum.ansible.com/t/ansible-behavior-to-specific-sudo-commands-on-managed-nodes/30634 "2019-06-24T02:31:32Z")

</div>

Here to discuss the ansible behavior when user at managed nodes is given sudo privileges to specific commands. I have sudo privileges on remote managed host \[rm-host.company.com\] to specific commands. Two of them are: …

---

## [Weird Windows Path Problem](https://forum.ansible.com/t/weird-windows-path-problem/30636)

<div class="topic-metadata">

**Author:** [@dmartin](https://forum.ansible.com/u/dmartin)\
**Replies:** 1\
**Last updated:** [June 23, 2019, 7:29pm UTC](https://forum.ansible.com/t/weird-windows-path-problem/30636 "2019-06-23T19:29:26Z")

</div>

Hi, I’m using Ansible 2.8 on Ubuntu and I’m trying to make a directory to a windows box. But wait! I hear you say, what about https://docs.ansible.com/ansible/latest/user\_guide/windows\_usage.html#path-formatting-for-win…

---

## [defaults files per os and release](https://forum.ansible.com/t/defaults-files-per-os-and-release/24086)

<div class="topic-metadata">

**Author:** [@Mike\_Ray](https://forum.ansible.com/u/Mike_Ray)\
**Replies:** 2\
**Last updated:** [June 23, 2019, 9:01am UTC](https://forum.ansible.com/t/defaults-files-per-os-and-release/24086 "2019-06-23T09:01:21Z")

</div>

In the current Ansible setup, you can have 1 file in defaults (i.e. defaults/main.yml) and it is used for all hosts that run that task, no matter what the host. In our use case, we have found it would be highly advantag…

---

## [How to convert a text area to list of disks for vmware\_guest](https://forum.ansible.com/t/how-to-convert-a-text-area-to-list-of-disks-for-vmware-guest/30633)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 2\
**Last updated:** [June 22, 2019, 7:42pm UTC](https://forum.ansible.com/t/how-to-convert-a-text-area-to-list-of-disks-for-vmware-guest/30633 "2019-06-22T19:42:52Z")

</div>

Hello guys: There’s something I’ve been struggling with for some hours without knowing exactly how to solve it. Through AWX, I want users to enter the size of disks for a virtual machine using a text area in a survey, …

---

## [Not getting desired o/p Help required](https://forum.ansible.com/t/not-getting-desired-o-p-help-required/30623)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 3\
**Last updated:** [June 21, 2019, 11:34pm UTC](https://forum.ansible.com/t/not-getting-desired-o-p-help-required/30623 "2019-06-21T23:34:59Z")

</div>

I have a config file : \[ansible-master .ssh\]# cat ~/.ssh/config Host \* StrictHostKeyChecking no RAKA Host node1 Hostname 10.160.0.7 IdentityFile ~/.ssh/RAKA Host node2 Hostname 10.128.0.11 IdentityFile ~/.ssh/RA…

---

## [Need playbook to run commands on checkpoint firewall](https://forum.ansible.com/t/need-playbook-to-run-commands-on-checkpoint-firewall/30631)

<div class="topic-metadata">

**Author:** [@Kethan\_R](https://forum.ansible.com/u/Kethan_R)\
**Replies:** 2\
**Last updated:** [June 21, 2019, 3:54pm UTC](https://forum.ansible.com/t/need-playbook-to-run-commands-on-checkpoint-firewall/30631 "2019-06-21T15:54:24Z")

</div>

Can someone help with running some basic show commands on checkpoint firewall from AWX. I tried many possibilities by googling,but no luck Need full play. hosts: all connection: network\_cli tasks: name: Get confi…

---

## [Ansible playbook breaks while mounting /home on remote](https://forum.ansible.com/t/ansible-playbook-breaks-while-mounting-home-on-remote/30628)

<div class="topic-metadata">

**Author:** [@Raj\_Shah](https://forum.ansible.com/u/Raj_Shah)\
**Replies:** 0\
**Last updated:** [June 21, 2019, 1:22pm UTC](https://forum.ansible.com/t/ansible-playbook-breaks-while-mounting-home-on-remote/30628 "2019-06-21T13:22:20Z")

</div>

Hi All I have a requirement , where in I have to mount /home to a separate data disk on remote servers . I use ssh keys for executing ansible playbook from my control-node to towards remote server. Below is the small co…

---

## [is the use of ssh keys GDPR compliant in every EU country?](https://forum.ansible.com/t/is-the-use-of-ssh-keys-gdpr-compliant-in-every-eu-country/30627)

<div class="topic-metadata">

**Author:** [@Fabrizio\_Lombardozzi](https://forum.ansible.com/u/Fabrizio_Lombardozzi)\
**Replies:** 0\
**Last updated:** [June 21, 2019, 11:04am UTC](https://forum.ansible.com/t/is-the-use-of-ssh-keys-gdpr-compliant-in-every-eu-country/30627 "2019-06-21T11:04:42Z")

</div>

Hi all, by law in Italy almost every kind of system access must be protected by a physical device or username/password or similar credential. As far as I know, even securing private key with “passphrase”, that secret c…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=278)

[Next page](https://forum.ansible.com/c/archives/31.md?page=280)
