# Latest

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

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

**Page:** 521

---

## [Unable to create alb with Ansible](https://forum.ansible.com/t/unable-to-create-alb-with-ansible/28597)

<div class="topic-metadata">

**Author:** [@Subrat\_Mahapatra](https://forum.ansible.com/u/Subrat_Mahapatra)\
**Replies:** 0\
**Last updated:** [September 18, 2018, 9:41am UTC](https://forum.ansible.com/t/unable-to-create-alb-with-ansible/28597 "2018-09-18T09:41:42Z")

</div>

Hi There, I am able to get the list of subnets for a VPC ID or tag name with the help of set\_fact. While using the subnets (Subnet Output of set\_fact) to create an ALB I am getting error as “load balancer cannot be att…

---

## [Help need with regards to Netscaler playbook](https://forum.ansible.com/t/help-need-with-regards-to-netscaler-playbook/28596)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 0\
**Last updated:** [September 18, 2018, 7:26am UTC](https://forum.ansible.com/t/help-need-with-regards-to-netscaler-playbook/28596 "2018-09-18T07:26:58Z")

</div>

Hello All, Do anyone know how to disable just a service group on netscaler using playbook. Thanks,

---

## [Trying Oracle database download to windows server 2012](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581)

<div class="topic-metadata">

**Author:** [@Isha\_G](https://forum.ansible.com/u/Isha_G)\
**Replies:** 4\
**Last updated:** [September 18, 2018, 6:25am UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581 "2018-09-18T06:25:28Z")

</div>

Hello Jonathan, Thanks for the quick response. I am actually trying two things here: Download Oracle 12c DB on a Windows Server 2012 and I have tried it with firewall on and off but still I get the broken File. For no…

---

## [Debugging Roles vs Debugging plays](https://forum.ansible.com/t/debugging-roles-vs-debugging-plays/28594)

<div class="topic-metadata">

**Author:** [@Sloan](https://forum.ansible.com/u/Sloan)\
**Replies:** 1\
**Last updated:** [September 17, 2018, 8:34pm UTC](https://forum.ansible.com/t/debugging-roles-vs-debugging-plays/28594 "2018-09-17T20:34:06Z")

</div>

I am having issues formatting a role, I am trying to use register: and debug. Can anyone show the the formatting for debugging roles with register in ansible. This is not working in a role: name: Generate Hostnames f…

---

## [fix ready for 'datadog\_monitor does not interpret the silenced parameter'](https://forum.ansible.com/t/fix-ready-for-datadog-monitor-does-not-interpret-the-silenced-parameter/28587)

<div class="topic-metadata">

**Author:** [@tczajka](https://forum.ansible.com/u/tczajka)\
**Replies:** 2\
**Last updated:** [September 17, 2018, 12:16pm UTC](https://forum.ansible.com/t/fix-ready-for-datadog-monitor-does-not-interpret-the-silenced-parameter/28587 "2018-09-17T12:16:01Z")

</div>

Hi, I have investigated and created a fix for issue https://github.com/ansible/ansible/issues/43918#issuecomment-420954137 I am new to ansible dev community. I’ve created a branch but I am not allowed to push that to …

---

## [I am new to ansible module i would like to understand the below code snippet in ios\_vlan.py module](https://forum.ansible.com/t/i-am-new-to-ansible-module-i-would-like-to-understand-the-below-code-snippet-in-ios-vlan-py-module/28333)

<div class="topic-metadata">

**Author:** [@Bharathi\_M](https://forum.ansible.com/u/Bharathi_M)\
**Replies:** 1\
**Last updated:** [September 17, 2018, 11:25am UTC](https://forum.ansible.com/t/i-am-new-to-ansible-module-i-would-like-to-understand-the-below-code-snippet-in-ios-vlan-py-module/28333 "2018-09-17T11:25:58Z")

</div>

Hi all, I would like to understand the below code snippet in ios\_vlan.py, elif set(interfaces) != set(obj\_in\_have\['interfaces'\]): On what scenario the above code snippet will get executed. Thanks, Bharathi

---

## [Ansible Contributor Summit 6 (Part of AnsibleFest 2018 Austin, Texas)](https://forum.ansible.com/t/ansible-contributor-summit-6-part-of-ansiblefest-2018-austin-texas/28244)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 1\
**Last updated:** [September 17, 2018, 10:48am UTC](https://forum.ansible.com/t/ansible-contributor-summit-6-part-of-ansiblefest-2018-austin-texas/28244 "2018-09-17T10:48:23Z")

</div>

We are happy to announce our sixth Ansible Contributors Summit! AnsibleFest Austin (http://www.ansible.com/ansiblefest) will be on both Tuesday 2nd and Wednesday 3rd October 2018, and the Contributor Summit will also be…

---

## [Contributing modules to Ansible](https://forum.ansible.com/t/contributing-modules-to-ansible/28282)

<div class="topic-metadata">

**Author:** [@saranyasridharan17](https://forum.ansible.com/u/saranyasridharan17)\
**Replies:** 2\
**Last updated:** [September 17, 2018, 10:46am UTC](https://forum.ansible.com/t/contributing-modules-to-ansible/28282 "2018-09-17T10:46:05Z")

</div>

Hi Fellows, I am trying to learn more about ansible and I want to contribute useful modules as I go deep in learning. I have followed document and created a module. Document says I have to do unit and sanity testing. Ho…

---

## [use  Source Control Credential to insert new node to repository](https://forum.ansible.com/t/use-source-control-credential-to-insert-new-node-to-repository/28588)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 0\
**Last updated:** [September 17, 2018, 9:39am UTC](https://forum.ansible.com/t/use-source-control-credential-to-insert-new-node-to-repository/28588 "2018-09-17T09:39:10Z")

</div>

io use a credential source control to provision the inventory (Sourced from a Project) but is one-way only there is the possibility to push the new node to the inventory repository or other solution thank you

---

## [Variable for "hosts:" value in playbook](https://forum.ansible.com/t/variable-for-hosts-value-in-playbook/28585)

<div class="topic-metadata">

**Author:** [@google](https://forum.ansible.com/u/google)\
**Replies:** 0\
**Last updated:** [September 17, 2018, 6:59am UTC](https://forum.ansible.com/t/variable-for-hosts-value-in-playbook/28585 "2018-09-17T06:59:55Z")

</div>

Hi Team; I have been trying to find an answer for this, but can’t seem to find a solution anywhere. The situation is as follows; I am running an AWX server, and I have a number of servers; as an example; Site1Server…

---

## [win\_package](https://forum.ansible.com/t/win-package/27251)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 8\
**Last updated:** [September 17, 2018, 1:49am UTC](https://forum.ansible.com/t/win-package/27251 "2018-09-17T01:49:33Z")

</div>

Hi, Fairly new to Ansible, but I am just finishing a fairly extensive course on Linux Academy. I have some good use cases… the first one is configuring windows VMs to have a number of packages installed automatically. C…

---

## [Using variables in handler's name and listen parameters](https://forum.ansible.com/t/using-variables-in-handlers-name-and-listen-parameters/28583)

<div class="topic-metadata">

**Author:** [@Komail\_Kanjee](https://forum.ansible.com/u/Komail_Kanjee)\
**Replies:** 0\
**Last updated:** [September 16, 2018, 9:22pm UTC](https://forum.ansible.com/t/using-variables-in-handlers-name-and-listen-parameters/28583 "2018-09-16T21:22:25Z")

</div>

Hello, I have a role which needs a dynamic handler. I defined the handler in roles/foo/handlers/main.yml as: name: {{ item.name }} shell: docker restart {{ item.name }} listen: {{ item.name }} with\_items: “{{ conf…

---

## [Connecting to a Router behind a Server](https://forum.ansible.com/t/connecting-to-a-router-behind-a-server/28582)

<div class="topic-metadata">

**Author:** [@mohamed\_ibrahim](https://forum.ansible.com/u/mohamed_ibrahim)\
**Replies:** 0\
**Last updated:** [September 16, 2018, 5:02pm UTC](https://forum.ansible.com/t/connecting-to-a-router-behind-a-server/28582 "2018-09-16T17:02:14Z")

</div>

Hi, I’m trying to create a playbook that connect to Cisco router and get some statistics. The issue faces me that the router is accessible via a server . Mean that when I want to login to the router via SSH or Telnet I…

---

## [Trying to download the Oracle db from url using win\_get\_url](https://forum.ansible.com/t/trying-to-download-the-oracle-db-from-url-using-win-get-url/28580)

<div class="topic-metadata">

**Author:** [@Isha\_G](https://forum.ansible.com/u/Isha_G)\
**Replies:** 1\
**Last updated:** [September 16, 2018, 2:13pm UTC](https://forum.ansible.com/t/trying-to-download-the-oracle-db-from-url-using-win-get-url/28580 "2018-09-16T14:13:26Z")

</div>

I am trying to download the Oracle 12c db zip file for win64 with win\_get\_url I am unable to figure out why it downloads a 5kb broken file with status as changed I am using Ansible 2.6.3

---

## [Copy lines from a file](https://forum.ansible.com/t/copy-lines-from-a-file/28579)

<div class="topic-metadata">

**Author:** [@Bilal\_ahmed](https://forum.ansible.com/u/Bilal_ahmed)\
**Replies:** 2\
**Last updated:** [September 15, 2018, 4:10pm UTC](https://forum.ansible.com/t/copy-lines-from-a-file/28579 "2018-09-15T16:10:50Z")

</div>

Hi guys, I want to copy a specific line (say last one) from a file (any log file) and email it using Ansible playbook. Which module can I use for this? Thanks in advance. BR, Bilal AHMED

---

## [included handlers in playbook with roles - not firing](https://forum.ansible.com/t/included-handlers-in-playbook-with-roles-not-firing/18847)

<div class="topic-metadata">

**Author:** [@rmullinnix](https://forum.ansible.com/u/rmullinnix)\
**Replies:** 5\
**Last updated:** [September 15, 2018, 7:56am UTC](https://forum.ansible.com/t/included-handlers-in-playbook-with-roles-not-firing/18847 "2018-09-15T07:56:45Z")

</div>

I probably have something structured wrong or it’s something simple - but I’m stuck trying to get handlers added to a playbook via include to fire. The handlers from roles that are listed in the playbook fire correctly, …

---

## [Searching, smart inventories and facts](https://forum.ansible.com/t/searching-smart-inventories-and-facts/28578)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 5\
**Last updated:** [September 14, 2018, 7:11pm UTC](https://forum.ansible.com/t/searching-smart-inventories-and-facts/28578 "2018-09-14T19:11:18Z")

</div>

I’m trying to create smart inventory based on facts that ansible has already collected, however any of the searches I construct result either in empty set or deemed to be broken by Tower. Some sample searches: ansible\_f…

---

## [ios\_config using before to set interface range on Cisco switch](https://forum.ansible.com/t/ios-config-using-before-to-set-interface-range-on-cisco-switch/28577)

<div class="topic-metadata">

**Author:** [@Frank\_Clatterbaugh](https://forum.ansible.com/u/Frank_Clatterbaugh)\
**Replies:** 0\
**Last updated:** [September 14, 2018, 4:07pm UTC](https://forum.ansible.com/t/ios-config-using-before-to-set-interface-range-on-cisco-switch/28577 "2018-09-14T16:07:47Z")

</div>

When trying to use the before command to set an interface range on a Cisco switch it errors if I have more than one range. Both of these commands work fine from CLI. Example: Works before: interface range twoGigabitEth…

---

## [Ansible tries to connect to host that is not in inventory](https://forum.ansible.com/t/ansible-tries-to-connect-to-host-that-is-not-in-inventory/28574)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 4\
**Last updated:** [September 14, 2018, 4:03pm UTC](https://forum.ansible.com/t/ansible-tries-to-connect-to-host-that-is-not-in-inventory/28574 "2018-09-14T16:03:03Z")

</div>

Hi, running the following ad-hoc command using a static inventory file results in one strange event: \` ansible --version ansible 2.6.3 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/…

---

## [newbie - do something when database is not there ?](https://forum.ansible.com/t/newbie-do-something-when-database-is-not-there/28576)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 0\
**Last updated:** [September 14, 2018, 2:50pm UTC](https://forum.ansible.com/t/newbie-do-something-when-database-is-not-there/28576 "2018-09-14T14:50:36Z")

</div>

I have a task , want to do something when a specified database is not in postgresql using command “psql --list” name: check if db exists tags: ¦ - checkdbexists ¦ - test command: “psql --list” register: dbexists …

---

## [Authentication store private key secure?](https://forum.ansible.com/t/authentication-store-private-key-secure/28567)

<div class="topic-metadata">

**Author:** [@Frank\_Sagurna](https://forum.ansible.com/u/Frank_Sagurna)\
**Replies:** 2\
**Last updated:** [September 14, 2018, 1:38pm UTC](https://forum.ansible.com/t/authentication-store-private-key-secure/28567 "2018-09-14T13:38:31Z")

</div>

Hi there, i am relative new to ansible and for now use it only for some simple tasks (apt updates, create users, change some config files). I want to try AWX, but i am a little bit confused about the concept how to run…

---

## [How can I use  conditional regex as not true](https://forum.ansible.com/t/how-can-i-use-conditional-regex-as-not-true/28565)

<div class="topic-metadata">

**Author:** [@Rahul\_Gupta](https://forum.ansible.com/u/Rahul_Gupta)\
**Replies:** 2\
**Last updated:** [September 14, 2018, 8:08am UTC](https://forum.ansible.com/t/how-can-i-use-conditional-regex-as-not-true/28565 "2018-09-14T08:08:12Z")

</div>

I’m running into trouble to find the answer that how to negate the conditional with regex. Something like below: debug: msg=“{{ Hello World}}” when:- test.rc !=0 test.stderr | find (‘(No Such File or Directory)’) …

---

## [ansible connection using rsa key](https://forum.ansible.com/t/ansible-connection-using-rsa-key/28572)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 3\
**Last updated:** [September 14, 2018, 7:37am UTC](https://forum.ansible.com/t/ansible-connection-using-rsa-key/28572 "2018-09-14T07:37:43Z")

</div>

Hi All, I want to know is there any way to get connect to the remote host with ansible control server using rsa key. Instead of using user name and password I want to use rsa key for authentication. How can we do that…

---

## [Ansible 2.7.0rc2](https://forum.ansible.com/t/ansible-2-7-0rc2/28571)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 13, 2018, 11:50pm UTC](https://forum.ansible.com/t/ansible-2-7-0rc2/28571 "2018-09-13T23:50:49Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.7.0rc2 is now available! How do you get it?

---

## [Comparing checksums on a group of files](https://forum.ansible.com/t/comparing-checksums-on-a-group-of-files/27232)

<div class="topic-metadata">

**Author:** [@Hank\_Beatty](https://forum.ansible.com/u/Hank_Beatty)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 11:28pm UTC](https://forum.ansible.com/t/comparing-checksums-on-a-group-of-files/27232 "2018-09-13T23:28:58Z")

</div>

Hello, I would like to compare checksums on a group of files and then copy the new file over the old file if different. Here is what I have so far: - name: Get Checksum for Old Comparison Zone Files stat: path: "{{ …

---

## [Searching for a job initiated by a user](https://forum.ansible.com/t/searching-for-a-job-initiated-by-a-user/28566)

<div class="topic-metadata">

**Author:** [@Andy\_Wang](https://forum.ansible.com/u/Andy_Wang)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 8:30pm UTC](https://forum.ansible.com/t/searching-for-a-job-initiated-by-a-user/28566 "2018-09-13T20:30:25Z")

</div>

This is more of a tower question but I can’t find the answer in their documentation, so I thought maybe someone here would know. How do I search for jobs initiated by a particular user?

---

## [When can we remove the prohibition on requests?](https://forum.ansible.com/t/when-can-we-remove-the-prohibition-on-requests/28568)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 7\
**Last updated:** [September 13, 2018, 8:23pm UTC](https://forum.ansible.com/t/when-can-we-remove-the-prohibition-on-requests/28568 "2018-09-13T20:23:03Z")

</div>

When RHEL5 went EOL we talked about dropping the prohibition on modules using the requests library (directly.... many modules use requests indirectly through their dependencies) but someone said "there's other distros…

---

## [How to do rolling updates of a dynamic set of clusters in parallel?](https://forum.ansible.com/t/how-to-do-rolling-updates-of-a-dynamic-set-of-clusters-in-parallel/28569)

<div class="topic-metadata">

**Author:** [@Jamie\_Williams](https://forum.ansible.com/u/Jamie_Williams)\
**Replies:** 4\
**Last updated:** [September 13, 2018, 7:37pm UTC](https://forum.ansible.com/t/how-to-do-rolling-updates-of-a-dynamic-set-of-clusters-in-parallel/28569 "2018-09-13T19:37:19Z")

</div>

I have a deployment of multiple clusters of 4 nodes each with their own load balancer, and I want to update all the clusters in parallel, but apply rolling updates to the hosts in those clusters. This would allow me to u…

---

## [Use password protected private key for an ansible script](https://forum.ansible.com/t/use-password-protected-private-key-for-an-ansible-script/28557)

<div class="topic-metadata">

**Author:** [@Madushan\_Chathuranga](https://forum.ansible.com/u/Madushan_Chathuranga)\
**Replies:** 3\
**Last updated:** [September 13, 2018, 4:48pm UTC](https://forum.ansible.com/t/use-password-protected-private-key-for-an-ansible-script/28557 "2018-09-13T16:48:51Z")

</div>

Hi All, Is it possible to provide the password of the private key on the command line extra vars or using the inventory. In the inventory we can provide the private key but not the password? can not use --ask-pass in th…

---

## [User environment vars in lookup plugin](https://forum.ansible.com/t/user-environment-vars-in-lookup-plugin/28564)

<div class="topic-metadata">

**Author:** [@Clement\_VALENTIN1](https://forum.ansible.com/u/Clement_VALENTIN1)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 2:38pm UTC](https://forum.ansible.com/t/user-environment-vars-in-lookup-plugin/28564 "2018-09-13T14:38:01Z")

</div>

Hi, I trying to use environment vars in lookup plugin “hashivault”, but i have the feeling that lookup don’t load environment vars… Exemple : - name: USER Create User tags: account\_create\_user environm…

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

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