# Archives

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

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

**Page:** 281

---

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

---

## [External providers for secrets management in AWX](https://forum.ansible.com/t/external-providers-for-secrets-management-in-awx/30584)

<div class="topic-metadata">

**Author:** [@sdmorel](https://forum.ansible.com/u/sdmorel)\
**Replies:** 3\
**Last updated:** [June 20, 2019, 2:11pm UTC](https://forum.ansible.com/t/external-providers-for-secrets-management-in-awx/30584 "2019-06-20T14:11:07Z")

</div>

Hello, I’m reading this page of the latest version of Ansible Tower about the integration with third-party secrets providers. https://docs.ansible.com/ansible-tower/latest/html/administration/credential\_plugins.html I…

---

## [Using results from a loop](https://forum.ansible.com/t/using-results-from-a-loop/30609)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 12:20pm UTC](https://forum.ansible.com/t/using-results-from-a-loop/30609 "2019-06-20T12:20:19Z")

</div>

Hi - I’m trying to use the results from the find module while also using with\_items. I can’t figure out how to extract just the paths from the first task to be able to use as input for the second task. Has anyone else d…

---

## [Merge lists](https://forum.ansible.com/t/merge-lists/30612)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 3\
**Last updated:** [June 20, 2019, 11:04am UTC](https://forum.ansible.com/t/merge-lists/30612 "2019-06-20T11:04:11Z")

</div>

Hi, I have a fact as below: “dns\_parsed”: \[ “10.4.3.2” \] and another fact as: “actual\_config”: { “dns”: { “domains”: \[‘test.com’\], “servers”: } } I want to update actual\_config to make it: “actual\_config”: …

---

## [How do i run containers from the updated AWX images?](https://forum.ansible.com/t/how-do-i-run-containers-from-the-updated-awx-images/30610)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 9:57am UTC](https://forum.ansible.com/t/how-do-i-run-containers-from-the-updated-awx-images/30610 "2019-06-20T09:57:39Z")

</div>

I have made few changes in the running containers for awx (few updates and addition of new packages) and committed the changes in new images. Where can i find the commands to create and run new containers from newly crea…

---

## [User Data](https://forum.ansible.com/t/user-data/30599)

<div class="topic-metadata">

**Author:** [@Jayant\_Kaushal](https://forum.ansible.com/u/Jayant_Kaushal)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 6:55am UTC](https://forum.ansible.com/t/user-data/30599 "2019-06-20T06:55:10Z")

</div>

I am looking at using user\_data during my aws/azure provisioning, looking at the APIs, i am able to pass a script and execute it. is the user data wrapped in cdata sections automatically, would complex scripts be valid…

---

## [Failed to copy repo to /etc/yum.repos.d](https://forum.ansible.com/t/failed-to-copy-repo-to-etc-yum-repos-d/30603)

<div class="topic-metadata">

**Author:** [@Annam\_Rafi1](https://forum.ansible.com/u/Annam_Rafi1)\
**Replies:** 5\
**Last updated:** [June 19, 2019, 9:03pm UTC](https://forum.ansible.com/t/failed-to-copy-repo-to-etc-yum-repos-d/30603 "2019-06-19T21:03:48Z")

</div>

I tried to use the yum\_repository module to create a custom repo but I am failing to do so. I was getting a permission denied so I evaluated the permissions.

---

## [Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع](https://forum.ansible.com/t/us-congress-hearing-of-maan-alsaan-money-laundry/30608)

<div class="topic-metadata">

**Author:** [@fafa\_al](https://forum.ansible.com/u/fafa_al)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 7:44pm UTC](https://forum.ansible.com/t/us-congress-hearing-of-maan-alsaan-money-laundry/30608 "2019-06-19T19:44:22Z")

</div>

YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with bank of America and The owner of Saad Hospital and Schools in the Eastern Province in Saudi Arabia and the Chairm…

---

## [Inputs on a big project powered by ansible](https://forum.ansible.com/t/inputs-on-a-big-project-powered-by-ansible/30606)

<div class="topic-metadata">

**Author:** [@Fabien\_Culpo](https://forum.ansible.com/u/Fabien_Culpo)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 7:22pm UTC](https://forum.ansible.com/t/inputs-on-a-big-project-powered-by-ansible/30606 "2019-06-19T19:22:06Z")

</div>

Hi, I'm in charge of deploying a software as a service to our customers. This software requires multiple vms per instance, mostly windows (ad, sql, the software application servers...) This will be hosted on VMware vS…

---

## [Timeout property not working on Monit Module](https://forum.ansible.com/t/timeout-property-not-working-on-monit-module/30607)

<div class="topic-metadata">

**Author:** [@Jourdan\_West](https://forum.ansible.com/u/Jourdan_West)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 6:56pm UTC](https://forum.ansible.com/t/timeout-property-not-working-on-monit-module/30607 "2019-06-19T18:56:36Z")

</div>

Hello, I’m using Ansible’s Monit module, to restart a service like so: \` name: restart resque-x (monit) monit: name: resque-x state: restarted \` The issue is that it doesn’t wait for the process to restart (needs…

---

## [Running specific tasks depending on subnet](https://forum.ansible.com/t/running-specific-tasks-depending-on-subnet/30605)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [June 19, 2019, 6:02pm UTC](https://forum.ansible.com/t/running-specific-tasks-depending-on-subnet/30605 "2019-06-19T18:02:41Z")

</div>

Does anyone know how I can run a task based off the subnet I'm in? For example, We've got an internal network that needs to pull packages through yum, but within that subnet, we need to go through a proxy to get out. …

---

## [Create multiple vmware\_ tags](https://forum.ansible.com/t/create-multiple-vmware-tags/30604)

<div class="topic-metadata">

**Author:** [@LeDOC\_CODEL](https://forum.ansible.com/u/LeDOC_CODEL)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 4:01pm UTC](https://forum.ansible.com/t/create-multiple-vmware-tags/30604 "2019-06-19T16:01:56Z")

</div>

Hello everyone, I would like to show you a case I don’t understand. I want create multiple vmware tags on vSphere with vmware\_tag module. Tag list is based on my Inventory I have 2 use case: First case working: ---…

---

## [variable sub dict output shows undefined](https://forum.ansible.com/t/variable-sub-dict-output-shows-undefined/30597)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 3:21pm UTC](https://forum.ansible.com/t/variable-sub-dict-output-shows-undefined/30597 "2019-06-19T15:21:49Z")

</div>

Hi, I have a part of playbook task as below: name: get url data uri: uri: method: GET user: username password: password register: dns\_result no\_log: true set\_fact: dns\_content: “{{ dns\_result.content.reco…

---

## [azure\_rm\_devtestlabvirtualmachnie VM Tags not functioning](https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachnie-vm-tags-not-functioning/30602)

<div class="topic-metadata">

**Author:** [@Robert\_Williams](https://forum.ansible.com/u/Robert_Williams)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 3:19pm UTC](https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachnie-vm-tags-not-functioning/30602 "2019-06-19T15:19:03Z")

</div>

Ansible 2.8.0 Python 3.6.8 azure-mgmt-devtestlabs 3.0.0 https://docs.ansible.com/ansible/latest/modules/azure\_rm\_devtestlabvirtualmachine\_module.html I am seeing behavior for azure\_rm\_devtestlabvirtualmachine where a…

---

## [Dynamically change the order of hosts ansible runs on](https://forum.ansible.com/t/dynamically-change-the-order-of-hosts-ansible-runs-on/15144)

<div class="topic-metadata">

**Author:** [@Andy\_Wang](https://forum.ansible.com/u/Andy_Wang)\
**Replies:** 4\
**Last updated:** [June 19, 2019, 1:35pm UTC](https://forum.ansible.com/t/dynamically-change-the-order-of-hosts-ansible-runs-on/15144 "2019-06-19T13:35:23Z")

</div>

This might be a newbie question, but I can’t figure out how to without writing a wrapper around ansible, or invoking ansible multiple times Let’s say this is my inventory: \[some\_service\] A B C Some\_service runs in …

---

## [Join two variables and store in new variable in playbook](https://forum.ansible.com/t/join-two-variables-and-store-in-new-variable-in-playbook/30592)

<div class="topic-metadata">

**Author:** [@Shruthilaya\_Gunda](https://forum.ansible.com/u/Shruthilaya_Gunda)\
**Replies:** 2\
**Last updated:** [June 19, 2019, 11:18am UTC](https://forum.ansible.com/t/join-two-variables-and-store-in-new-variable-in-playbook/30592 "2019-06-19T11:18:20Z")

</div>

I want to join two variables in ansible playbook to store in another variable to use it further in the code. I tried as below, but encountering errors debug: msg = “{{ ver1 ~ ver2 }}” set\_fact: version{{msg}} ERROR…

---

## [Uninstall software using win\_package, with uninstall.exe file and without product\_id](https://forum.ansible.com/t/uninstall-software-using-win-package-with-uninstall-exe-file-and-without-product-id/30598)

<div class="topic-metadata">

**Author:** [@Cindy](https://forum.ansible.com/u/Cindy)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 9:29am UTC](https://forum.ansible.com/t/uninstall-software-using-win-package-with-uninstall-exe-file-and-without-product-id/30598 "2019-06-19T09:29:54Z")

</div>

Good day to All. Hoping someone can help me solve my uninstall issue in my playbook. Sample Playbook: name: Uninstall existing Collabnet Auto Update win\_package: path: "C:\\Program Files\\CollabNet\\Subversion Client\\…

---

## [Cisco switches IOS upgrade](https://forum.ansible.com/t/cisco-switches-ios-upgrade/30346)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 6:24am UTC](https://forum.ansible.com/t/cisco-switches-ios-upgrade/30346 "2019-06-19T06:24:43Z")

</div>

Hi Team, Can anyone share the sample playbook for IOS update for cisco switches thanks,

---

## [Install Windows Identity Extensions with ansible/Chocolatey](https://forum.ansible.com/t/install-windows-identity-extensions-with-ansible-chocolatey/30585)

<div class="topic-metadata">

**Author:** [@Yue](https://forum.ansible.com/u/Yue)\
**Replies:** 2\
**Last updated:** [June 18, 2019, 6:38pm UTC](https://forum.ansible.com/t/install-windows-identity-extensions-with-ansible-chocolatey/30585 "2019-06-18T18:38:14Z")

</div>

Hello I hit a problem when trying to install Windows Identity Extensions with ansible/chocolatey. (ansible 2.8.1) I created an package for Windows Identity extensions: The .nuspec \<?xml version="1.0"?\> MicrosoftIde…

---

## [ansible syntax to use "if-else" and "set"](https://forum.ansible.com/t/ansible-syntax-to-use-if-else-and-set/30470)

<div class="topic-metadata">

**Author:** [@sahitansar](https://forum.ansible.com/u/sahitansar)\
**Replies:** 11\
**Last updated:** [June 18, 2019, 6:25pm UTC](https://forum.ansible.com/t/ansible-syntax-to-use-if-else-and-set/30470 "2019-06-18T18:25:20Z")

</div>

Hi All, Im trying to choose ansible inventory host group conditionally. name: Set group set\_fact: group: | {% if c == 1 %} {% set group = ‘grp1’ %} {% elif c == 2 %} {% set group == ‘grp3’ %} {% else %} {% gr…

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

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