# Latest

**URL:** https://forum.ansible.com/latest.md?page=450

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

**Page:** 451

---

## [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…

---

## [ISE 2.4 : Ansible Tower and ERS : header issue](https://forum.ansible.com/t/ise-2-4-ansible-tower-and-ers-header-issue/30485)

<div class="topic-metadata">

**Author:** [@Gilles](https://forum.ansible.com/u/Gilles)\
**Replies:** 1\
**Last updated:** [June 21, 2019, 7:51am UTC](https://forum.ansible.com/t/ise-2-4-ansible-tower-and-ers-header-issue/30485 "2019-06-21T07:51:36Z")

</div>

Has anyone worked with Ansible Tower and the ISE Tacacs server to query or add a network device ? It works using the ERS, but it failed when I use a playbook. It seems that it is a header issue. FYI: the same http comma…

---

## [merge dicts](https://forum.ansible.com/t/merge-dicts/30616)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 5\
**Last updated:** [June 21, 2019, 6:43am UTC](https://forum.ansible.com/t/merge-dicts/30616 "2019-06-21T06:43:08Z")

</div>

Hi, Seems I am missing something really simple. ldap\_data: | {% set ldapdata = {} -%} {% if ldap\_content is defined -%} {{ ldapdata | combine({‘a’:10}, recursive=‘True’) }} {%- endif -%} {{ldapdata}} populates ld…

---

## [Starting filebeat issue from ansible for RHL6](https://forum.ansible.com/t/starting-filebeat-issue-from-ansible-for-rhl6/27835)

<div class="topic-metadata">

**Author:** [@Daastan\_Pradhan](https://forum.ansible.com/u/Daastan_Pradhan)\
**Replies:** 4\
**Last updated:** [June 21, 2019, 1:34am UTC](https://forum.ansible.com/t/starting-filebeat-issue-from-ansible-for-rhl6/27835 "2019-06-21T01:34:25Z")

</div>

I am running this task in ansible playbook. - name: Start filebeat service shell: /fisc/uts/bin/sudo filebeat start This doesnot start the filebeat agent. But I have checked manually running that command on the test…

---

## [Ansible Tower wont install on CentOS](https://forum.ansible.com/t/ansible-tower-wont-install-on-centos/30614)

<div class="topic-metadata">

**Author:** [@Josh\_Ferguson](https://forum.ansible.com/u/Josh_Ferguson)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 10:36pm UTC](https://forum.ansible.com/t/ansible-tower-wont-install-on-centos/30614 "2019-06-20T22:36:50Z")

</div>

Hi their, I am trying to install Ansible Tower onto CentOS 7.6 However after unpacking the “ansible-tower-setup-latest.tar.gz” and trying to run the ./setup.sh , I get the following issue: -name: ensure that /var /var…

---

## [How to pass ansible variables to powershell cmdlet using win\_shell module](https://forum.ansible.com/t/how-to-pass-ansible-variables-to-powershell-cmdlet-using-win-shell-module/30617)

<div class="topic-metadata">

**Author:** [@Stefano\_Leandro](https://forum.ansible.com/u/Stefano_Leandro)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 8:49pm UTC](https://forum.ansible.com/t/how-to-pass-ansible-variables-to-powershell-cmdlet-using-win-shell-module/30617 "2019-06-20T20:49:35Z")

</div>

Hi guys, Someone could help me ? I cannot understand how to pass an ansible variable to powershell cmdlet via win\_shell command . Below my code : tasks: set\_fact: target\_ip: “lookup(‘dig’, inventory\_hostname)” win…

---

## [nomail](https://forum.ansible.com/t/nomail/30620)

<div class="topic-metadata">

**Author:** [@S\_P\_Arif\_Sahari\_Wibo](https://forum.ansible.com/u/S_P_Arif_Sahari_Wibo)\
**Replies:** 0\
**Last updated:** [June 20, 2019, 8:35pm UTC](https://forum.ansible.com/t/nomail/30620 "2019-06-20T20:35:25Z")

</div>

nomail

---

## [Use ansible to allow AD authentication](https://forum.ansible.com/t/use-ansible-to-allow-ad-authentication/30619)

<div class="topic-metadata">

**Author:** [@Dave\_McPherson](https://forum.ansible.com/u/Dave_McPherson)\
**Replies:** 3\
**Last updated:** [June 20, 2019, 7:52pm UTC](https://forum.ansible.com/t/use-ansible-to-allow-ad-authentication/30619 "2019-06-20T19:52:55Z")

</div>

I am trying to push AD authentication out to a series of Oracle Linux machines. The command is: realm join --verbose “domain.local” --user “domain\_service”

---

## [lineinfile:  replacing line instead of appending the line](https://forum.ansible.com/t/lineinfile-replacing-line-instead-of-appending-the-line/30618)

<div class="topic-metadata">

**Author:** [@Dave\_McPherson](https://forum.ansible.com/u/Dave_McPherson)\
**Replies:** 4\
**Last updated:** [June 20, 2019, 7:49pm UTC](https://forum.ansible.com/t/lineinfile-replacing-line-instead-of-appending-the-line/30618 "2019-06-20T19:49:38Z")

</div>

I am attempting to add a group to the sudoers file after the line %wheel ALL=(ALL) ALL example Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL doman\\vm\_admins ALL-(ALL) ALL name: add vm\_admins…

---

## [Variable for root Project path](https://forum.ansible.com/t/variable-for-root-project-path/26768)

<div class="topic-metadata">

**Author:** [@Claudio\_Patricio\_Rif](https://forum.ansible.com/u/Claudio_Patricio_Rif)\
**Replies:** 3\
**Last updated:** [June 20, 2019, 3:44pm UTC](https://forum.ansible.com/t/variable-for-root-project-path/26768 "2019-06-20T15:44:28Z")

</div>

HI there. Not sure if his is a noob question. But is there a variable to get the path of a project? I’m trying to deploy files included on GIT to several servers (SSL Certificates, configuration files, etc). When i ad…

---

## [Survey recommendations](https://forum.ansible.com/t/survey-recommendations/30596)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 3:37pm UTC](https://forum.ansible.com/t/survey-recommendations/30596 "2019-06-20T15:37:46Z")

</div>

Hello guys. Hope you’re doing well… I’m currently working with AWX 3.0.1.0 for managing several tasks at OS level (windows & linux) and vSphere VM management. I’m responsible of managing a wide virtual infrastructure fo…

---

## [multiple tasks\_from in a single include\_role](https://forum.ansible.com/t/multiple-tasks-from-in-a-single-include-role/30613)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 2:37pm UTC](https://forum.ansible.com/t/multiple-tasks-from-in-a-single-include-role/30613 "2019-06-20T14:37:03Z")

</div>

Hi, I have a role with multiple task files and I include only few of them in my different playbook I did below but it gives an error: tasks: name: check configuration include\_role: name: config\_check tasks\_from: …

[Previous page](https://forum.ansible.com/latest.md?page=449)

[Next page](https://forum.ansible.com/latest.md?page=451)
