# Archives

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

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

**Page:** 580

---

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

---

## [Ansible 2.1.1 RC1 is ready for testing](https://forum.ansible.com/t/ansible-2-1-1-rc1-is-ready-for-testing/21803)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [June 17, 2016, 8:35pm UTC](https://forum.ansible.com/t/ansible-2-1-1-rc1-is-ready-for-testing/21803 "2016-06-17T20:35:22Z")

</div>

Hi all, we’re happy to announce that RC1 for 2.1.1 is now available for testing. This release candidate fixes many bugs, including (but not limited to): Fixed some bugs in variable dependency resolution. These were ma…

---

## [Ansible “msg”: “Failed to find required executable pvs”](https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798)

<div class="topic-metadata">

**Author:** [@Tim\_Daley](https://forum.ansible.com/u/Tim_Daley)\
**Replies:** 2\
**Last updated:** [June 17, 2016, 8:17pm UTC](https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798 "2016-06-17T20:17:12Z")

</div>

I’m using the following in Ansible 2.1 on OSX and getting the subject message: lvg: vg=vgname pvs=pvname state=present Bug? or what am I doing wrong. This syntax was working OK with ansible 1.9.1

---

## [module\_set\_locale default changed for 2.2 -- module authors need to set environment variables when screenscraping output](https://forum.ansible.com/t/module-set-locale-default-changed-for-2-2-module-authors-need-to-set-environment-variables-when-screenscraping-output/21802)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 0\
**Last updated:** [June 17, 2016, 4:55pm UTC](https://forum.ansible.com/t/module-set-locale-default-changed-for-2-2-module-authors-need-to-set-environment-variables-when-screenscraping-output/21802 "2016-06-17T16:55:45Z")

</div>

Greetings all, For 2.2 we’re making a change to when Ansible sets the LC\_ALL and LANG environment variablesfor running modules. Here’s what that means for you: Executive summary for users: If you notice Ansible module…

---

## [vsphere\_guest module and how to configure static IP](https://forum.ansible.com/t/vsphere-guest-module-and-how-to-configure-static-ip/21758)

<div class="topic-metadata">

**Author:** [@Jeff\_Richards](https://forum.ansible.com/u/Jeff_Richards)\
**Replies:** 10\
**Last updated:** [June 17, 2016, 4:55pm UTC](https://forum.ansible.com/t/vsphere-guest-module-and-how-to-configure-static-ip/21758 "2016-06-17T16:55:07Z")

</div>

I want to use the vSphere\_guest module to stand up a bunch of VMware VMs. But I don’t see a way to configure static IP. There are a few ways of making this happen, all involving the writing of custom code. Is there real…

---

## [MODULE FAILURE - Error in unarchive module (don't unarchive if file already exists)](https://forum.ansible.com/t/module-failure-error-in-unarchive-module-dont-unarchive-if-file-already-exists/21801)

<div class="topic-metadata">

**Author:** [@Jason\_Bornhoft](https://forum.ansible.com/u/Jason_Bornhoft)\
**Replies:** 0\
**Last updated:** [June 17, 2016, 4:06pm UTC](https://forum.ansible.com/t/module-failure-error-in-unarchive-module-dont-unarchive-if-file-already-exists/21801 "2016-06-17T16:06:04Z")

</div>

I’m running the following with the intention of unarchiving a zip if the target file doesn’t exist while not running it if it does exist: name: Install Consul unarchive: creates=no copy=no src=/tmp/{{ consul…

---

## [Newbie and seeing error on running yaml file to create switch config](https://forum.ansible.com/t/newbie-and-seeing-error-on-running-yaml-file-to-create-switch-config/21744)

<div class="topic-metadata">

**Author:** [@ansnewbie2016](https://forum.ansible.com/u/ansnewbie2016)\
**Replies:** 5\
**Last updated:** [June 17, 2016, 2:17pm UTC](https://forum.ansible.com/t/newbie-and-seeing-error-on-running-yaml-file-to-create-switch-config/21744 "2016-06-17T14:17:33Z")

</div>

Hi , I am a newbie to the ansible world and struggling with some errors I am trying to create switch configs based on the following url: https://pynet.twb-tech.com/blog/ansible/ansible-cfg-template.html Whenever, I am…

---

## [Running local play with winrm config](https://forum.ansible.com/t/running-local-play-with-winrm-config/21791)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 3\
**Last updated:** [June 17, 2016, 1:41pm UTC](https://forum.ansible.com/t/running-local-play-with-winrm-config/21791 "2016-06-17T13:41:20Z")

</div>

Hi I am having issues trying to create a play that will setup a Windows EC2 instance and then install software once it is up. For linux instances I do the following to create a new instance on the localhost and then run…

---

## [Ansible support for pmrun in become\_method](https://forum.ansible.com/t/ansible-support-for-pmrun-in-become-method/21497)

<div class="topic-metadata">

**Author:** [@Taeho\_Kgil](https://forum.ansible.com/u/Taeho_Kgil)\
**Replies:** 2\
**Last updated:** [June 17, 2016, 4:42am UTC](https://forum.ansible.com/t/ansible-support-for-pmrun-in-become-method/21497 "2016-06-17T04:42:46Z")

</div>

Hi, Is there a plan to support pmrun options in the become\_method for Ansible? Thanks

---

## [secrets and remote sites](https://forum.ansible.com/t/secrets-and-remote-sites/21794)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [June 16, 2016, 5:05pm UTC](https://forum.ansible.com/t/secrets-and-remote-sites/21794 "2016-06-16T17:05:29Z")

</div>

If you want to keep secrets, and work on a mostly remote site, it seems you have a couple options. encrypt the vault with gpg and run from your (hopefully) safe laptop and hope the connection is good run it in tmux at …

---

## [Having issues with Expect: module](https://forum.ansible.com/t/having-issues-with-expect-module/20308)

<div class="topic-metadata">

**Author:** [@Byron\_Kim](https://forum.ansible.com/u/Byron_Kim)\
**Replies:** 4\
**Last updated:** [June 16, 2016, 1:08pm UTC](https://forum.ansible.com/t/having-issues-with-expect-module/20308 "2016-06-16T13:08:09Z")

</div>

I can’t seem to find much documentation or uses of this module. I tried reading up on pexpect documentation however, i’m unable to find my answer. I’m having ansible run a script and then there are prompts that need to …

---

## [Tomcat service stops fine and fails to start. Ansible shows success for both.](https://forum.ansible.com/t/tomcat-service-stops-fine-and-fails-to-start-ansible-shows-success-for-both/21790)

<div class="topic-metadata">

**Author:** [@Kannan\_AnandaKrishna](https://forum.ansible.com/u/Kannan_AnandaKrishna)\
**Replies:** 0\
**Last updated:** [June 16, 2016, 11:15am UTC](https://forum.ansible.com/t/tomcat-service-stops-fine-and-fails-to-start-ansible-shows-success-for-both/21790 "2016-06-16T11:15:11Z")

</div>

Hello, I’m using Ansible in our environment to restart glassfish applications, services etc., Currently I’m facing curious issue on restarting tomcat service in our servers. Whenever I execute the stop script, the tom…

---

## [Nested varibbles and defined](https://forum.ansible.com/t/nested-varibbles-and-defined/21721)

<div class="topic-metadata">

**Author:** [@Pedro\_Barbosa](https://forum.ansible.com/u/Pedro_Barbosa)\
**Replies:** 1\
**Last updated:** [June 15, 2016, 11:29pm UTC](https://forum.ansible.com/t/nested-varibbles-and-defined/21721 "2016-06-15T23:29:30Z")

</div>

Hi. Right now defined only works with up-to-second-last defined variables. That is, if var1 exists as a map but var1.var2 doesn’t, this works and will print DEFAULTED: var1.var2 | default('DEFAULTED'). But for the same v…

---

## [Ansible 2.1 not logging commands](https://forum.ansible.com/t/ansible-2-1-not-logging-commands/21786)

<div class="topic-metadata">

**Author:** [@John\_G](https://forum.ansible.com/u/John_G)\
**Replies:** 0\
**Last updated:** [June 15, 2016, 5:58pm UTC](https://forum.ansible.com/t/ansible-2-1-not-logging-commands/21786 "2016-06-15T17:58:36Z")

</div>

Hi, With Ansible 2.1 the commands are not being logged to the ansible.log file. With ansible 1.9.4 the commands are logged. Is there a setting or a callback plugin to check? System with ansible 1.9.4, rpm ansible-1.9.4…

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

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