# Latest

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

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

**Page:** 751

---

## [Re-implement tar support using native tarfile module](https://forum.ansible.com/t/re-implement-tar-support-using-native-tarfile-module/21826)

<div class="topic-metadata">

**Author:** [@Usman\_Ehtesham](https://forum.ansible.com/u/Usman_Ehtesham)\
**Replies:** 0\
**Last updated:** [June 22, 2016, 5:25am UTC](https://forum.ansible.com/t/re-implement-tar-support-using-native-tarfile-module/21826 "2016-06-22T05:25:07Z")

</div>

Hello ansible-dev team, Hope you are doing well. Though I do not use ansible, I started looking into the source code and learnt alot on how to deal with certain automation tasks. The ansible team in IRC were also really…

---

## [Create multiple VMware guests with a Playbook?](https://forum.ansible.com/t/create-multiple-vmware-guests-with-a-playbook/20831)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 15\
**Last updated:** [June 22, 2016, 1:30am UTC](https://forum.ansible.com/t/create-multiple-vmware-guests-with-a-playbook/20831 "2016-06-22T01:30:04Z")

</div>

Hi Is it at all possible to create multiple VMware VM’s using an Ansible playbook? Giving each VM a unique name (server1, server2, server3, server4)? I can see anyway of doing this using the following playbooks, as it …

---

## [Bootstrap Ansible Master in EC2 ?](https://forum.ansible.com/t/bootstrap-ansible-master-in-ec2/21822)

<div class="topic-metadata">

**Author:** [@Matthew\_Kettlewell](https://forum.ansible.com/u/Matthew_Kettlewell)\
**Replies:** 1\
**Last updated:** [June 21, 2016, 5:19pm UTC](https://forum.ansible.com/t/bootstrap-ansible-master-in-ec2/21822 "2016-06-21T17:19:21Z")

</div>

Hello - I’ve been trying to wrap my head around the best approach to bootstrapping and provisioning an Ansible master node in ec2, and let it provision the rest of the network from inside ec2 ( vs controlling things fro…

---

## [Unsure how to merge this dict/list into a single dict/list](https://forum.ansible.com/t/unsure-how-to-merge-this-dict-list-into-a-single-dict-list/21816)

<div class="topic-metadata">

**Author:** [@pporada](https://forum.ansible.com/u/pporada)\
**Replies:** 1\
**Last updated:** [June 21, 2016, 3:21pm UTC](https://forum.ansible.com/t/unsure-how-to-merge-this-dict-list-into-a-single-dict-list/21816 "2016-06-21T15:21:36Z")

</div>

\` name: Jinja Example Playbook hosts: localhost connection: local vars\_files: test-role/defaults/container.yml test-role/defaults/container\_env.yml vars: combined\_containers: “{{ (containers + container\_env) | un…

---

## [Weird: Passing variables to roles](https://forum.ansible.com/t/weird-passing-variables-to-roles/21787)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 6\
**Last updated:** [June 21, 2016, 2:46pm UTC](https://forum.ansible.com/t/weird-passing-variables-to-roles/21787 "2016-06-21T14:46:32Z")

</div>

Hi, I have this weird situation where a role doesn’t pick up configured variables, hopefully someone can help me out. This is parts of my playbook: name: Deploy Elasticsearch VMs hosts: localhost tags: deploy vars…

---

## [Ansible raw module & Cisco WLC](https://forum.ansible.com/t/ansible-raw-module-cisco-wlc/21769)

<div class="topic-metadata">

**Author:** [@David\_Vavra](https://forum.ansible.com/u/David_Vavra)\
**Replies:** 6\
**Last updated:** [June 21, 2016, 2:36pm UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-wlc/21769 "2016-06-21T14:36:57Z")

</div>

Hi, have anyone been succesful with at least logging in to Cisco WLC device with Ansible? I’m not able to make it work, most probably because of extra (nonstandard) prompt for User: (Cisco Controller) User: xxxxxxx Pa…

---

## [2.2 Roadmap is Posted for Feedback](https://forum.ansible.com/t/2-2-roadmap-is-posted-for-feedback/21663)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 12\
**Last updated:** [June 21, 2016, 1:22pm UTC](https://forum.ansible.com/t/2-2-roadmap-is-posted-for-feedback/21663 "2016-06-21T13:22:24Z")

</div>

Hello All, Now that 2.1 is out, we’re starting to work on what’s next in Ansible. We’ve done a couple of first passes on what we (Ansible/Red Hat) think we should propose for the next release, but we need your feedback.…

---

## [Include many vars in one go](https://forum.ansible.com/t/include-many-vars-in-one-go/21821)

<div class="topic-metadata">

**Author:** [@James\_Morgan](https://forum.ansible.com/u/James_Morgan)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 9:31am UTC](https://forum.ansible.com/t/include-many-vars-in-one-go/21821 "2016-06-21T09:31:34Z")

</div>

Hi, Is it possible to load many files in one go? In a similar way to the yum module? My issue is that I have ~80 application files that I load from vars. pre\_tasks: name: Load default application config include\_var…

---

## [Create a VM from a virtual disk file (vmdk)](https://forum.ansible.com/t/create-a-vm-from-a-virtual-disk-file-vmdk/21820)

<div class="topic-metadata">

**Author:** [@sterlij1](https://forum.ansible.com/u/sterlij1)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 9:01am UTC](https://forum.ansible.com/t/create-a-vm-from-a-virtual-disk-file-vmdk/21820 "2016-06-21T09:01:33Z")

</div>

Hi All, I’ve been given a vmdk file from a vendor and can successfully create a custom VM using my vsphere client manually by clicking through the ‘custom’ steps and pointing to the vmdk file. In all the ansible docume…

---

## [how to fixed update\_password ?](https://forum.ansible.com/t/how-to-fixed-update-password/21819)

<div class="topic-metadata">

**Author:** [@Daniel\_Lin](https://forum.ansible.com/u/Daniel_Lin)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 4:19am UTC](https://forum.ansible.com/t/how-to-fixed-update-password/21819 "2016-06-21T04:19:51Z")

</div>

\` name: Create Active User user: name: “{{ item }}” uid: “{{ management\_active\_users\[item\].uid | default(omit) }}” comment: “{{ management\_active\_users\[item\].full\_name | default(‘’) }}” createhome: “{{ management…

---

## [path not honored in requirements.yml for 2.1 ?](https://forum.ansible.com/t/path-not-honored-in-requirements-yml-for-2-1/21818)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 3:08am UTC](https://forum.ansible.com/t/path-not-honored-in-requirements-yml-for-2-1/21818 "2016-06-21T03:08:41Z")

</div>

Our requirements.yml had entries of the form: \` src: ansiblebit.oracle-java path: vendor/roles/ name: oracle-java \` But how when running galaxy-install these roles are no longer installed in the specified ./vendor…

---

## [How to fixed update\_password](https://forum.ansible.com/t/how-to-fixed-update-password/21817)

<div class="topic-metadata">

**Author:** [@Daniel\_Lin](https://forum.ansible.com/u/Daniel_Lin)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 3:04am UTC](https://forum.ansible.com/t/how-to-fixed-update-password/21817 "2016-06-21T03:04:42Z")

</div>

I got a problem, I use ansible user module, when i set update\_password: on\_create, it’s not work,still will update\_password everytime, my code is below, and anyone know how to fixed it ? \` name: Create Active User u…

---

## [How do I use a symbolic user for a remote ansible task?](https://forum.ansible.com/t/how-do-i-use-a-symbolic-user-for-a-remote-ansible-task/21797)

<div class="topic-metadata">

**Author:** [@Tim\_Daley](https://forum.ansible.com/u/Tim_Daley)\
**Replies:** 1\
**Last updated:** [June 20, 2016, 8:30pm UTC](https://forum.ansible.com/t/how-do-i-use-a-symbolic-user-for-a-remote-ansible-task/21797 "2016-06-20T20:30:00Z")

</div>

I have the following snippet from my playbook. The hosts: substitutes just fine, but the user: gives "SSH Error: command-line line0: garbage at end of line; “{{ username }}”. Is substitution of the user possible? \` Ent…

---

## [HTTP: Disabled while configuring WinRM service](https://forum.ansible.com/t/http-disabled-while-configuring-winrm-service/21795)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 4\
**Last updated:** [June 20, 2016, 8:01pm UTC](https://forum.ansible.com/t/http-disabled-while-configuring-winrm-service/21795 "2016-06-20T20:01:17Z")

</div>

Control Node: CentOS 7 Ansible 2.1 pywinrm version from May 19th, 2016 Remote Node: Windows 7 Powershell 3 When I run Trond Hindenes powershell script for setting up my windows remote node to connect w…

---

## [Setting up SSL for Windows Remote Nodes](https://forum.ansible.com/t/setting-up-ssl-for-windows-remote-nodes/21788)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 1\
**Last updated:** [June 20, 2016, 7:58pm UTC](https://forum.ansible.com/t/setting-up-ssl-for-windows-remote-nodes/21788 "2016-06-20T19:58:56Z")

</div>

Control Node: CentOS 7 Ansible 2.1 pywinrm version from May 19th, 2016 Remote Node: Windows 7 Powershell 3 Here is everything I’ve picked up so far to get SSL working. Please let me know if each of the…

---

## [iosxe module](https://forum.ansible.com/t/iosxe-module/21800)

<div class="topic-metadata">

**Author:** [@K\_Krishna](https://forum.ansible.com/u/K_Krishna)\
**Replies:** 2\
**Last updated:** [June 20, 2016, 4:33pm UTC](https://forum.ansible.com/t/iosxe-module/21800 "2016-06-20T16:33:16Z")

</div>

Hi, Iam interested in developing modules for iosxe network switches. Wondering if there was any existing effort ? Regards, Krishna

---

## [VMware Template playbook options](https://forum.ansible.com/t/vmware-template-playbook-options/20590)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 4\
**Last updated:** [June 20, 2016, 3:38pm UTC](https://forum.ansible.com/t/vmware-template-playbook-options/20590 "2016-06-20T15:38:13Z")

</div>

Hi I am setting up a new VMware virtual machine from a template using a Ansible playbook. I want to be able to change the datastore and the network (vm\_disk and vm\_nic) of the VM during the setup of the VM. But when I …

---

## [prompt for "SSH pasword"](https://forum.ansible.com/t/prompt-for-ssh-pasword/21789)

<div class="topic-metadata">

**Author:** [@John\_Norris](https://forum.ansible.com/u/John_Norris)\
**Replies:** 3\
**Last updated:** [June 20, 2016, 1:27pm UTC](https://forum.ansible.com/t/prompt-for-ssh-pasword/21789 "2016-06-20T13:27:02Z")

</div>

Hi, very new to Ansible, working through books On my ansible server (a centos 7 machine) I have added root ssh key to my test machine. So I can ssh root@mint-test and that works. When, as root, I run my playbook, I am…

---

## [Parallel execution](https://forum.ansible.com/t/parallel-execution/21813)

<div class="topic-metadata">

**Author:** [@Tom\_De\_Blende](https://forum.ansible.com/u/Tom_De_Blende)\
**Replies:** 2\
**Last updated:** [June 20, 2016, 1:23pm UTC](https://forum.ansible.com/t/parallel-execution/21813 "2016-06-20T13:23:00Z")

</div>

Hi all, From the docs, I read that by default, tasks within a playbook are executed in parallel. This behavior can be changed by using the serial directive. Now I have simple playbook to update Red Hat servers. It look…

---

## [Append to variable in dependencies](https://forum.ansible.com/t/append-to-variable-in-dependencies/21814)

<div class="topic-metadata">

**Author:** [@Tomasz\_Klosinski](https://forum.ansible.com/u/Tomasz_Klosinski)\
**Replies:** 0\
**Last updated:** [June 20, 2016, 1:05pm UTC](https://forum.ansible.com/t/append-to-variable-in-dependencies/21814 "2016-06-20T13:05:22Z")

</div>

Hello Ansible Community, I have a role for kibana in which I add a dependency to yum role that configures yum repos: roles/kibana/meta/main.yml: \`

---

## [Accessing registered variables inside callback plugin](https://forum.ansible.com/t/accessing-registered-variables-inside-callback-plugin/21781)

<div class="topic-metadata">

**Author:** [@Abhishek\_R](https://forum.ansible.com/u/Abhishek_R)\
**Replies:** 2\
**Last updated:** [June 20, 2016, 5:44am UTC](https://forum.ansible.com/t/accessing-registered-variables-inside-callback-plugin/21781 "2016-06-20T05:44:21Z")

</div>

Hi, I have a simple playbook that registers some variables. And I have a mail callback plugin that sends out an email if a playbook run fails (runner\_on\_failed). How do I access the value of a registered variable from w…

---

## [Change port each running time from python module](https://forum.ansible.com/t/change-port-each-running-time-from-python-module/21812)

<div class="topic-metadata">

**Author:** [@Idan\_null](https://forum.ansible.com/u/Idan_null)\
**Replies:** 0\
**Last updated:** [June 20, 2016, 3:01am UTC](https://forum.ansible.com/t/change-port-each-running-time-from-python-module/21812 "2016-06-20T03:01:37Z")

</div>

Hi all, I’m trying to use the python script that you gave as example: https://github.com/ansible/ansible/blob/devel/examples/scripts/uptime.py but I want each connection to use different port (that I will get dynamica…

---

## [Facility for collecting and capturing/exporting failed/fatal results or entire summary](https://forum.ansible.com/t/facility-for-collecting-and-capturing-exporting-failed-fatal-results-or-entire-summary/21809)

<div class="topic-metadata">

**Author:** [@mat\_h](https://forum.ansible.com/u/mat_h)\
**Replies:** 2\
**Last updated:** [June 19, 2016, 7:09pm UTC](https://forum.ansible.com/t/facility-for-collecting-and-capturing-exporting-failed-fatal-results-or-entire-summary/21809 "2016-06-19T19:09:43Z")

</div>

Is there a facility in Ansible for collecting and capturing/exporting failed/fatal results or the entire summary as a variable, or output to a file? Basically what I want to be able to do is extract the information abou…

---

## [ansible on 'brownfield' sites](https://forum.ansible.com/t/ansible-on-brownfield-sites/21792)

<div class="topic-metadata">

**Author:** [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Replies:** 10\
**Last updated:** [June 19, 2016, 10:52am UTC](https://forum.ansible.com/t/ansible-on-brownfield-sites/21792 "2016-06-19T10:52:58Z")

</div>

I've had great success using Ansible to build up multiple environments (devs, staging, prod) from kickstart to production, and I imagine that's how most folks here would use it. My current mission is to add some autom…

---

## [Unresolved Issue #10098: set()s from jinja are treated as strings](https://forum.ansible.com/t/unresolved-issue-10098-set-s-from-jinja-are-treated-as-strings/21811)

<div class="topic-metadata">

**Author:** [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Replies:** 0\
**Last updated:** [June 19, 2016, 7:53am UTC](https://forum.ansible.com/t/unresolved-issue-10098-set-s-from-jinja-are-treated-as-strings/21811 "2016-06-19T07:53:11Z")

</div>

This issue was closed yesterday, but it’s still unresolved. set() type is still treated as a string in Ansible. While an error isn’t thrown when using a set in with\_items, the entire set is treated as a single item, i.e.…

---

## [Some problem when using  Dynamic Inventory Sources and python API](https://forum.ansible.com/t/some-problem-when-using-dynamic-inventory-sources-and-python-api/21810)

<div class="topic-metadata">

**Author:** [@Young\_Yang](https://forum.ansible.com/u/Young_Yang)\
**Replies:** 0\
**Last updated:** [June 19, 2016, 7:16am UTC](https://forum.ansible.com/t/some-problem-when-using-dynamic-inventory-sources-and-python-api/21810 "2016-06-19T07:16:02Z")

</div>

Hi, I’m developing a script using ansible python API (http://docs.ansible.com/ansible/developing\_api.html) Here is my ansible version ansible 2.2.0 (devel af150ea43a) last updated 2016/06/18 02:00:10 (GMT +800) lib/a…

---

## [Sending ad-hoc command to background](https://forum.ansible.com/t/sending-ad-hoc-command-to-background/21808)

<div class="topic-metadata">

**Author:** [@Marc\_Becker](https://forum.ansible.com/u/Marc_Becker)\
**Replies:** 0\
**Last updated:** [June 18, 2016, 4:06pm UTC](https://forum.ansible.com/t/sending-ad-hoc-command-to-background/21808 "2016-06-18T16:06:38Z")

</div>

Hi, I’ve bought the book Ansible DevOps and now I’m experimenting with vagrant and ansible. In the book I found the following command: \` ansible multi -s -B 3600 -a “yum -y update” \` As I understood, this should st…

---

## [How to specify ANSIBLE\_CONSUL\_URL for consul\_kv lookup?](https://forum.ansible.com/t/how-to-specify-ansible-consul-url-for-consul-kv-lookup/21806)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [June 18, 2016, 1:57am UTC](https://forum.ansible.com/t/how-to-specify-ansible-consul-url-for-consul-kv-lookup/21806 "2016-06-18T01:57:17Z")

</div>

This plugin uses os.environ\[‘ANSIBLE\_CONSUL\_URL’\] to get the consul url, defaulting to http://localhost:8500 if not set. This works fine when run on the host node where consul is running. How would I set a dynamically e…

---

## [AttributeError: 'NoneType' object has no attribute 'run'](https://forum.ansible.com/t/attributeerror-nonetype-object-has-no-attribute-run/21805)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 4\
**Last updated:** [June 18, 2016, 1:43am UTC](https://forum.ansible.com/t/attributeerror-nonetype-object-has-no-attribute-run/21805 "2016-06-18T01:43:36Z")

</div>

ansible 2.1.0.0, python 2.7 I am getting this error when trying to create an ec2 instance. It does not matter if the instance already exists or not, so I assume its more of a parsing error. This task works correctly wit…

---

## [Get List of Inventory Hosts that Match a patter](https://forum.ansible.com/t/get-list-of-inventory-hosts-that-match-a-patter/21804)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 0\
**Last updated:** [June 17, 2016, 11:46pm UTC](https://forum.ansible.com/t/get-list-of-inventory-hosts-that-match-a-patter/21804 "2016-06-17T23:46:23Z")

</div>

How can I enumerate all the host names in the inventory that match a particular pattern? For example, I would like to grab all the supervisors from this set. I want to use this list to configure something in a configurat…

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

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