# Latest

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

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

**Page:** 491

---

## [Event handler using ansible](https://forum.ansible.com/t/event-handler-using-ansible/29415)

<div class="topic-metadata">

**Author:** [@Sathya\_Narayanan](https://forum.ansible.com/u/Sathya_Narayanan)\
**Replies:** 2\
**Last updated:** [January 20, 2019, 12:33pm UTC](https://forum.ansible.com/t/event-handler-using-ansible/29415 "2019-01-20T12:33:24Z")

</div>

Hi All, I know, I have ask this question before, but to my surprise I don’t find any better documentation on internet which can say how I can use mandible as a EDI tool (event driven infra). We have nagios in our envir…

---

## [ansible jinja2 template to loop through variables that has multiple values for each variable on a per host basis](https://forum.ansible.com/t/ansible-jinja2-template-to-loop-through-variables-that-has-multiple-values-for-each-variable-on-a-per-host-basis/29477)

<div class="topic-metadata">

**Author:** [@pnagaraj7656](https://forum.ansible.com/u/pnagaraj7656)\
**Replies:** 2\
**Last updated:** [January 20, 2019, 8:14am UTC](https://forum.ansible.com/t/ansible-jinja2-template-to-loop-through-variables-that-has-multiple-values-for-each-variable-on-a-per-host-basis/29477 "2019-01-20T08:14:25Z")

</div>

My Requirement is as follows Below is the list of variables and its multiple values : host1 env : qa,dev,uat grpn: g1 type: t1 port: 1401 type: t2 port: 1402 type: t3 port: 1403 host2 env : qa,dev,uat grpn: …

---

## [Problem with: create user with an encrypted password](https://forum.ansible.com/t/problem-with-create-user-with-an-encrypted-password/29474)

<div class="topic-metadata">

**Author:** [@Henrik\_Schuetze](https://forum.ansible.com/u/Henrik_Schuetze)\
**Replies:** 2\
**Last updated:** [January 19, 2019, 3:11pm UTC](https://forum.ansible.com/t/problem-with-create-user-with-an-encrypted-password/29474 "2019-01-19T15:11:26Z")

</div>

Hello, i want to create users on a centos system. the users use rsa keys to authenticate on the linux. They have an PAM token to connect on the maria db on the system. And with PAM they need an Linux password and the …

---

## [/bin/sh: show: command not found](https://forum.ansible.com/t/bin-sh-show-command-not-found/29475)

<div class="topic-metadata">

**Author:** [@KESHAV\_YADAV](https://forum.ansible.com/u/KESHAV_YADAV)\
**Replies:** 1\
**Last updated:** [January 19, 2019, 3:10pm UTC](https://forum.ansible.com/t/bin-sh-show-command-not-found/29475 "2019-01-19T15:10:51Z")

</div>

What is the reason behind the below output ? The device is reachable and ssh is successful from MAC terminal. ansible R2 -m raw -a “show version” -u keshav -k R2 | FAILED | rc=127 \>\> /bin/sh: show: command not found n…

---

## [Trouble integrating custom module\_utils module](https://forum.ansible.com/t/trouble-integrating-custom-module-utils-module/29437)

<div class="topic-metadata">

**Author:** [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Replies:** 3\
**Last updated:** [January 19, 2019, 6:36am UTC](https://forum.ansible.com/t/trouble-integrating-custom-module-utils-module/29437 "2019-01-19T06:36:49Z")

</div>

Hello! I tried to write a custom module\_utils module, I set up everything according to the docs, but for some reason I get an error: Skipping plugin (…) as it seems to be invalid: No module named … I’ve isolated the…

---

## [using hashicorp vault & tower](https://forum.ansible.com/t/using-hashicorp-vault-tower/29467)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 10:20pm UTC](https://forum.ansible.com/t/using-hashicorp-vault-tower/29467 "2019-01-18T22:20:34Z")

</div>

Hi, I'm researching ways to integrate hashicorp vault with AWX. I did go through https://www.ansible.com/blog/ansible-tower-feature-spotlight-custom-credentials and https://www.hashicorp.com/blog/authenticating-appl…

---

## [Ansible update on Ubuntu 18.04](https://forum.ansible.com/t/ansible-update-on-ubuntu-18-04/29472)

<div class="topic-metadata">

**Author:** [@eric.dunn](https://forum.ansible.com/u/eric.dunn)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 9:43pm UTC](https://forum.ansible.com/t/ansible-update-on-ubuntu-18-04/29472 "2019-01-18T21:43:01Z")

</div>

This isn't an Ansible bug, but I cannot update using a local mirror (apt-mirror). If I use an external mirror (us.archive.ubuntu.com) the anisible update operation works fine. I found plenty of users complaining about …

---

## [add host to inventory Add tower host](https://forum.ansible.com/t/add-host-to-inventory-add-tower-host/29455)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 7:22pm UTC](https://forum.ansible.com/t/add-host-to-inventory-add-tower-host/29455 "2019-01-18T19:22:40Z")

</div>

i want to add to inventory over awx a machine provisioned i try with name: Add tower host tower\_host: but seem work only in tower because when i try to use give me “exception”: “WARNING: The below traceback may not …

---

## [command not found -\> while running "show version" on cisco IOS device.](https://forum.ansible.com/t/command-not-found-while-running-show-version-on-cisco-ios-device/29470)

<div class="topic-metadata">

**Author:** [@KESHAV\_YADAV](https://forum.ansible.com/u/KESHAV_YADAV)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 6:49pm UTC](https://forum.ansible.com/t/command-not-found-while-running-show-version-on-cisco-ios-device/29470 "2019-01-18T18:49:34Z")

</div>

What is the reason behind the below output ? The device is reachable and ssh is successful from MAC terminal. ansible R2 -m raw -a “show version” -u keshav -k R2 | FAILED | rc=127 \>\> /bin/sh: show: command not found n…

---

## [Need help related to jdk installation on linux](https://forum.ansible.com/t/need-help-related-to-jdk-installation-on-linux/29469)

<div class="topic-metadata">

**Author:** [@ashok\_kumar\_penumudi](https://forum.ansible.com/u/ashok_kumar_penumudi)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 6:47pm UTC](https://forum.ansible.com/t/need-help-related-to-jdk-installation-on-linux/29469 "2019-01-18T18:47:41Z")

</div>

Can anyone help how to install java by using ansible on Linux without internet by using rpm or tar.gz file. Thanks In advance.

---

## [vmware\_host\_config\_facts - Gathers facts about an ESXi host’s advance configuration information](https://forum.ansible.com/t/vmware-host-config-facts-gathers-facts-about-an-esxi-host-s-advance-configuration-information/29465)

<div class="topic-metadata">

**Author:** [@Karthikeyan\_Karunamo](https://forum.ansible.com/u/Karthikeyan_Karunamo)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 3:09pm UTC](https://forum.ansible.com/t/vmware-host-config-facts-gathers-facts-about-an-esxi-host-s-advance-configuration-information/29465 "2019-01-18T15:09:20Z")

</div>

Hello Team, I’m collecting the facts for all ESXi hosts using vmware\_host\_config\_facts but I did not see that what are all the datastore(s) attached with each ESXi and status. Is there any alternative way to pull the ES…

---

## [Ansible vault -- "ERROR! playbooks must be a list of plays"](https://forum.ansible.com/t/ansible-vault-error-playbooks-must-be-a-list-of-plays/29458)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 5:13am UTC](https://forum.ansible.com/t/ansible-vault-error-playbooks-must-be-a-list-of-plays/29458 "2019-01-18T05:13:23Z")

</div>

I wouldn’t be surprised if I am using this incorrectly, but I could use some outside input. Consider the following tree (not in a role): . ├── get\_user\_info.yml └── vault.yml vault.yml contents: \`

---

## [How to assign inventory group alias to a variable?](https://forum.ansible.com/t/how-to-assign-inventory-group-alias-to-a-variable/29461)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 2\
**Last updated:** [January 17, 2019, 10:49pm UTC](https://forum.ansible.com/t/how-to-assign-inventory-group-alias-to-a-variable/29461 "2019-01-17T22:49:50Z")

</div>

I have this Ansible inventory file: \[fileservers\] fs01.example.com ansible\_ssh\_host=192.168.1.1 ip\_addr=192.168.1.1 \[dbservers\] db01.example.com ansible\_ssh\_host=192.168.1.2 ip\_addr=192.168.1.2 \[webservers\] web01.e…

---

## [Ansible 2.7.6 and 2.6.12](https://forum.ansible.com/t/ansible-2-7-6-and-2-6-12/29459)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [January 17, 2019, 7:46pm UTC](https://forum.ansible.com/t/ansible-2-7-6-and-2-6-12/29459 "2019-01-17T19:46:20Z")

</div>

Hi all- we're happy to announce that the general releases of Ansible 2.7.6 and Ansible 2.6.12 are now available! How do you get it?

---

## [Use of Ansible under PowerVC](https://forum.ansible.com/t/use-of-ansible-under-powervc/29450)

<div class="topic-metadata">

**Author:** [@Bernard\_Tremblay](https://forum.ansible.com/u/Bernard_Tremblay)\
**Replies:** 2\
**Last updated:** [January 17, 2019, 4:02pm UTC](https://forum.ansible.com/t/use-of-ansible-under-powervc/29450 "2019-01-17T16:02:01Z")

</div>

Hi, We are trying to use ansible in a PowerVC environment. We have a cluster of Power machines connected to a SAN box, we run SLES linux and Windows server to use SAP stuff. I would like to find any resources/document…

---

## [using become in one tasks of a role](https://forum.ansible.com/t/using-become-in-one-tasks-of-a-role/29456)

<div class="topic-metadata">

**Author:** [@Igor\_Turovsky](https://forum.ansible.com/u/Igor_Turovsky)\
**Replies:** 0\
**Last updated:** [January 17, 2019, 12:45pm UTC](https://forum.ansible.com/t/using-become-in-one-tasks-of-a-role/29456 "2019-01-17T12:45:31Z")

</div>

Hello, In my playbook I am using become for one tasks only, i.e.: \` name: Create ECP Virtual Directory \` exch\_ecp\_virtualdirectory: identity: ‘{{ ansible\_hostname }}\\ecp ({{ site }})’ path: ‘{{ folder }}\\ecp’ st…

---

## [Is it possible to export inventory to a file?](https://forum.ansible.com/t/is-it-possible-to-export-inventory-to-a-file/29454)

<div class="topic-metadata">

**Author:** [@Ibrahim\_Ercan](https://forum.ansible.com/u/Ibrahim_Ercan)\
**Replies:** 2\
**Last updated:** [January 17, 2019, 11:47am UTC](https://forum.ansible.com/t/is-it-possible-to-export-inventory-to-a-file/29454 "2019-01-17T11:47:38Z")

</div>

Hi. I need to import and export inventories. I can import inventory from a file but I couldn’t figure out if there is a way to export inventory to a file? I wonder if there is a easy way to do that? Any suggestion?

---

## [Issuing creating domain users with module win\_dsc and resource xADuser parsing pscredentials](https://forum.ansible.com/t/issuing-creating-domain-users-with-module-win-dsc-and-resource-xaduser-parsing-pscredentials/29431)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 5\
**Last updated:** [January 17, 2019, 9:44am UTC](https://forum.ansible.com/t/issuing-creating-domain-users-with-module-win-dsc-and-resource-xaduser-parsing-pscredentials/29431 "2019-01-17T09:44:33Z")

</div>

I’m trying to create a bunch of domain application test accounts with the same password using DSC Resource xADUser. I have a file called secrets.yml that contains the password for these accounts - secrets.yml is encrypt…

---

## [Ansible parallel block execution](https://forum.ansible.com/t/ansible-parallel-block-execution/29448)

<div class="topic-metadata">

**Author:** [@Raoul](https://forum.ansible.com/u/Raoul)\
**Replies:** 3\
**Last updated:** [January 17, 2019, 4:39am UTC](https://forum.ansible.com/t/ansible-parallel-block-execution/29448 "2019-01-17T04:39:26Z")

</div>

Hi, I am using in an Ansible playbook blocks to execute reboots on hosts when required after applying updates. I have to ensure that the hosts are back online after reboot. Using ‘strategy: free’ so that all defined ta…

---

## [Automating firmware upgrades on Dell Networking 7048P Switches](https://forum.ansible.com/t/automating-firmware-upgrades-on-dell-networking-7048p-switches/29453)

<div class="topic-metadata">

**Author:** [@Nathan](https://forum.ansible.com/u/Nathan)\
**Replies:** 0\
**Last updated:** [January 17, 2019, 1:08am UTC](https://forum.ansible.com/t/automating-firmware-upgrades-on-dell-networking-7048p-switches/29453 "2019-01-17T01:08:26Z")

</div>

Hello all, I currently have 100 Dell Networking 7048P Switches that will need to be upgraded to the latest firmware and was hoping for some assistance on finding either an existing script or creating one for the Dell se…

---

## [Need Clloudera prerequisite Ansible Scripts](https://forum.ansible.com/t/need-clloudera-prerequisite-ansible-scripts/29452)

<div class="topic-metadata">

**Author:** [@ashok\_kumar\_penumudi](https://forum.ansible.com/u/ashok_kumar_penumudi)\
**Replies:** 1\
**Last updated:** [January 16, 2019, 11:41pm UTC](https://forum.ansible.com/t/need-clloudera-prerequisite-ansible-scripts/29452 "2019-01-16T23:41:00Z")

</div>

Hi,we are planning to automate cloudera installation by using Ansible scripts. Could you please share scripts asap.

---

## [Exclude match from with\_items](https://forum.ansible.com/t/exclude-match-from-with-items/29451)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 5\
**Last updated:** [January 16, 2019, 11:35pm UTC](https://forum.ansible.com/t/exclude-match-from-with-items/29451 "2019-01-16T23:35:22Z")

</div>

How might I go about excluding one item found under with\_items? For example, assume the following: \` ok: \[mytestserver\] =\> { “aduser”: { “account\_locked”: false, “attempts”: 1, “changed”: false, “city”: “Spanish …

---

## [Windows Remote Desktop Access for Users using Ansible](https://forum.ansible.com/t/windows-remote-desktop-access-for-users-using-ansible/29444)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 1\
**Last updated:** [January 16, 2019, 8:33pm UTC](https://forum.ansible.com/t/windows-remote-desktop-access-for-users-using-ansible/29444 "2019-01-16T20:33:28Z")

</div>

Hi folks, I am trying to configure RDP access to users who need to access to certain hosts. Is there a way to automate this using Ansible? Thanks, Subhi.

---

## [Possible to update target OS from an ISO?](https://forum.ansible.com/t/possible-to-update-target-os-from-an-iso/29395)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 2\
**Last updated:** [January 16, 2019, 2:55pm UTC](https://forum.ansible.com/t/possible-to-update-target-os-from-an-iso/29395 "2019-01-16T14:55:36Z")

</div>

We have several remote target machines running Ubuntu 12.04. Is it possible for Ansible to install Ubuntu 18.04 on the target machines from an ISO? I’m trying to avoid an update to 14.04 and then 16.04 and then 18.04. I’…

---

## [Generating Quagga iBGP and eBGP conf files using Ansible](https://forum.ansible.com/t/generating-quagga-ibgp-and-ebgp-conf-files-using-ansible/29420)

<div class="topic-metadata">

**Author:** [@Shahrooz\_Pooryousef](https://forum.ansible.com/u/Shahrooz_Pooryousef)\
**Replies:** 1\
**Last updated:** [January 16, 2019, 2:36pm UTC](https://forum.ansible.com/t/generating-quagga-ibgp-and-ebgp-conf-files-using-ansible/29420 "2019-01-16T14:36:42Z")

</div>

Hi guys, I am going to do an experiment for iBGP and eBGP routers. The tool I am using is Quagga routing software which is a open source routing tool. For each router in Quagga I need to have a conf files which explain…

---

## [Gettting idempotent error while testing using molecule in travis ci](https://forum.ansible.com/t/gettting-idempotent-error-while-testing-using-molecule-in-travis-ci/29447)

<div class="topic-metadata">

**Author:** [@hemanth22](https://forum.ansible.com/u/hemanth22)\
**Replies:** 0\
**Last updated:** [January 16, 2019, 6:30am UTC](https://forum.ansible.com/t/gettting-idempotent-error-while-testing-using-molecule-in-travis-ci/29447 "2019-01-16T06:30:44Z")

</div>

Hello team, i have added creates argument for the command modules as below for idempotent test, this ansible role is working good when tested in vagrant environment. name: Cloning a repository git: repo: “{{ ci\_rep…

---

## [RFC: New parameters/modules for compliance/idempotentcy for Win](https://forum.ansible.com/t/rfc-new-parameters-modules-for-compliance-idempotentcy-for-win/29445)

<div class="topic-metadata">

**Author:** [@goforawalktwice](https://forum.ansible.com/u/goforawalktwice)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 11:41pm UTC](https://forum.ansible.com/t/rfc-new-parameters-modules-for-compliance-idempotentcy-for-win/29445 "2019-01-15T23:41:24Z")

</div>

Hi all, Before embarking on developing changes to some existing Win modules and creating new modules for some specific idempotent handling it’d be good to get some comments on the following. Some items numbered for refe…

---

## [lineinfile module needs return code standard for when: in subsequent plays.](https://forum.ansible.com/t/lineinfile-module-needs-return-code-standard-for-when-in-subsequent-plays/29423)

<div class="topic-metadata">

**Author:** [@Eric\_Clifford](https://forum.ansible.com/u/Eric_Clifford)\
**Replies:** 1\
**Last updated:** [January 15, 2019, 6:05pm UTC](https://forum.ansible.com/t/lineinfile-module-needs-return-code-standard-for-when-in-subsequent-plays/29423 "2019-01-15T18:05:02Z")

</div>

Someday, this will work , when the developer adds support for when changed :slight\_smile: #- name: remove sssd.conf:debug\_level = 9 (X) lineinfile: \> dest=“/etc/sssd/sssd.conf” state=absent backup=yes regexp=“^debug\_lev…

---

## [Ansible Shell With Expect](https://forum.ansible.com/t/ansible-shell-with-expect/29443)

<div class="topic-metadata">

**Author:** [@Freddie\_Eisa](https://forum.ansible.com/u/Freddie_Eisa)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 5:19pm UTC](https://forum.ansible.com/t/ansible-shell-with-expect/29443 "2019-01-15T17:19:25Z")

</div>

We are trying the following name: Configure Orion Agent shell: | set timeout 30 spawn service swiagentd init expect “Choose an option\>” send “2” exit 0 args: executable: /usr/bin/expect We are able to spawn th…

---

## [smart inventory based on inventory variable](https://forum.ansible.com/t/smart-inventory-based-on-inventory-variable/29439)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 4:58pm UTC](https://forum.ansible.com/t/smart-inventory-based-on-inventory-variable/29439 "2019-01-15T16:58:12Z")

</div>

Hi there, wondering if anyone can point me in the right direction here. I have a AWX inventory with a variable called “environment”, I want to then create a smart inventory that filters all the inventories which have a …

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

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