# Archives

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

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

**Page:** 501

---

## [Ansible  gave "Error fetching server list on envvars:RegionOne" error](https://forum.ansible.com/t/ansible-gave-error-fetching-server-list-on-envvars-regionone-error/24099)

<div class="topic-metadata">

**Author:** [@Balu\_Kompalli](https://forum.ansible.com/u/Balu_Kompalli)\
**Replies:** 5\
**Last updated:** [March 31, 2017, 5:51pm UTC](https://forum.ansible.com/t/ansible-gave-error-fetching-server-list-on-envvars-regionone-error/24099 "2017-03-31T17:51:18Z")

</div>

Hello team, warm wishes to all the Ansible team. I got the below error while try to create the provisioning ansible in openstack. I searched for so many websites but never found any solution. Please help me to come …

---

## [Powershell Version 2 - Got it working and would like to discuss](https://forum.ansible.com/t/powershell-version-2-got-it-working-and-would-like-to-discuss/20869)

<div class="topic-metadata">

**Author:** [@Eric\_Mowry](https://forum.ansible.com/u/Eric_Mowry)\
**Replies:** 7\
**Last updated:** [March 31, 2017, 5:28pm UTC](https://forum.ansible.com/t/powershell-version-2-got-it-working-and-would-like-to-discuss/20869 "2017-03-31T17:28:05Z")

</div>

I have read on blogs, forums and mailing lists that Powershell Version 2 will not be supported however I had a need to support Powershell 2 in my environment and spent some time looking at what it would take to make it w…

---

## [Point ansible to my new version of Python](https://forum.ansible.com/t/point-ansible-to-my-new-version-of-python/24110)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 2\
**Last updated:** [March 31, 2017, 5:06pm UTC](https://forum.ansible.com/t/point-ansible-to-my-new-version-of-python/24110 "2017-03-31T17:06:02Z")

</div>

ansible\_python\_interpreter is for 'modules' not for Ansible itself, what python Ansible uses can depends on how/what installed it. Check bin/ansible for a shebang, it determines which python is actually used for the c…

---

## [Ansible copy as remote user Issue](https://forum.ansible.com/t/ansible-copy-as-remote-user-issue/24044)

<div class="topic-metadata">

**Author:** [@jzm2001](https://forum.ansible.com/u/jzm2001)\
**Replies:** 6\
**Last updated:** [March 31, 2017, 2:03pm UTC](https://forum.ansible.com/t/ansible-copy-as-remote-user-issue/24044 "2017-03-31T14:03:15Z")

</div>

I’m new to ansible…so bear with me. I created a simple playbook that takes a 0 byte file and copies it to remote hosts under a different user, creating the directory to put it in prior to the copy. We have a mix of pyth…

---

## [Installing preview module subscription-manager](https://forum.ansible.com/t/installing-preview-module-subscription-manager/24107)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 1\
**Last updated:** [March 31, 2017, 10:44am UTC](https://forum.ansible.com/t/installing-preview-module-subscription-manager/24107 "2017-03-31T10:44:09Z")

</div>

Good afternoon, \[william@cacti ~\]$ ansible --version ansible 2.1.1.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides I am using ansible on RHEL 6 systems. I am aware…

---

## [How to remove temp dir even in case of an error?](https://forum.ansible.com/t/how-to-remove-temp-dir-even-in-case-of-an-error/24113)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 1\
**Last updated:** [March 31, 2017, 9:54am UTC](https://forum.ansible.com/t/how-to-remove-temp-dir-even-in-case-of-an-error/24113 "2017-03-31T09:54:56Z")

</div>

In Bash I use mktemp together with trap to always remove the temp dir. When I use the tempfile module, how do I remove the tempfile, in case of an error, which terminates the playbook run?

---

## [error](https://forum.ansible.com/t/error/24112)

<div class="topic-metadata">

**Author:** [@Shoeb\_Uddin](https://forum.ansible.com/u/Shoeb_Uddin)\
**Replies:** 0\
**Last updated:** [March 31, 2017, 8:19am UTC](https://forum.ansible.com/t/error/24112 "2017-03-31T08:19:42Z")

</div>

Traceback (most recent call last): File “/usr/bin/ansible”, line 43, in import ansible.constants as C

---

## [Inventory Hostnames and Docker dynamic inventory](https://forum.ansible.com/t/inventory-hostnames-and-docker-dynamic-inventory/24105)

<div class="topic-metadata">

**Author:** [@Milo\_Minderbinder](https://forum.ansible.com/u/Milo_Minderbinder)\
**Replies:** 2\
**Last updated:** [March 31, 2017, 4:13am UTC](https://forum.ansible.com/t/inventory-hostnames-and-docker-dynamic-inventory/24105 "2017-03-31T04:13:52Z")

</div>

I was thinking of creating an issue & submitting a PR to address a core issue with the docker dynamic inventory script (ansible/contrib/inventory/docker.py). In its current state, it adds one or more docker hosts to the …

---

## [ios\_command failed to connect Cisco SF300](https://forum.ansible.com/t/ios-command-failed-to-connect-cisco-sf300/24109)

<div class="topic-metadata">

**Author:** [@Romain\_CYRILLE](https://forum.ansible.com/u/Romain_CYRILLE)\
**Replies:** 0\
**Last updated:** [March 31, 2017, 3:58am UTC](https://forum.ansible.com/t/ios-command-failed-to-connect-cisco-sf300/24109 "2017-03-31T03:58:12Z")

</div>

Hello, I am trying to use Ansible with Cisco SF300 switches. I use a basic playbook that retrieve the version : \`

---

## [Is packaging module a part of Core?](https://forum.ansible.com/t/is-packaging-module-a-part-of-core/24108)

<div class="topic-metadata">

**Author:** [@Wang\_Hao](https://forum.ansible.com/u/Wang_Hao)\
**Replies:** 1\
**Last updated:** [March 31, 2017, 12:12am UTC](https://forum.ansible.com/t/is-packaging-module-a-part-of-core/24108 "2017-03-31T00:12:39Z")

</div>

I saw there are two different files with the same name under lib/ansible/modules/core/packaging/os/apt.py and lib/ansible/modules/packaging/os/apt.py. Is apt module managed by Core and also 3rd party? This question is f…

---

## [Kerberos Auth - the specified credentials were rejected by the server](https://forum.ansible.com/t/kerberos-auth-the-specified-credentials-were-rejected-by-the-server/24104)

<div class="topic-metadata">

**Author:** [@meaton](https://forum.ansible.com/u/meaton)\
**Replies:** 2\
**Last updated:** [March 30, 2017, 11:00pm UTC](https://forum.ansible.com/t/kerberos-auth-the-specified-credentials-were-rejected-by-the-server/24104 "2017-03-30T23:00:47Z")

</div>

Hey. How do I check the spn? I’ve already applied that pull to pywinrm… Thanks. Michael

---

## [BitBucket, Ansible Galaxy and requirements.yml query](https://forum.ansible.com/t/bitbucket-ansible-galaxy-and-requirements-yml-query/24106)

<div class="topic-metadata">

**Author:** [@John\_V](https://forum.ansible.com/u/John_V)\
**Replies:** 0\
**Last updated:** [March 30, 2017, 8:23pm UTC](https://forum.ansible.com/t/bitbucket-ansible-galaxy-and-requirements-yml-query/24106 "2017-03-30T20:23:02Z")

</div>

I am looking to use Ansible Galaxy with the requirements.yml file and we use a private bitbucket account If i enter the below into the requirements.yml. src: git+https://bitbucket.org/temprepo/aws\_rds.git version: m…

---

## [storing ansible vault key and encrypted files in s3](https://forum.ansible.com/t/storing-ansible-vault-key-and-encrypted-files-in-s3/24092)

<div class="topic-metadata">

**Author:** [@Manoj\_Kumar2](https://forum.ansible.com/u/Manoj_Kumar2)\
**Replies:** 1\
**Last updated:** [March 30, 2017, 5:56pm UTC](https://forum.ansible.com/t/storing-ansible-vault-key-and-encrypted-files-in-s3/24092 "2017-03-30T17:56:03Z")

</div>

wondering if we can pass s3 uri as a path for file ansible-vault view group\_vars/encryptedfile.yml--vault-password-file=vault.pem I dont want to store these in my git repo and wondering if these can be accessed from …

---

## [Shutdown a Windows server](https://forum.ansible.com/t/shutdown-a-windows-server/24083)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 2\
**Last updated:** [March 30, 2017, 5:13pm UTC](https://forum.ansible.com/t/shutdown-a-windows-server/24083 "2017-03-30T17:13:41Z")

</div>

I’m trying to create a Playbook to Shutdown a Windows server. I am aware of win\_reboot but that does a Reboot (i.e. shutdown /r) - I want to do shutdown /s to turn a machine completely off. I’ve made a copy of win\_reboot…

---

## ["This module requires the passlib Python library"}](https://forum.ansible.com/t/this-module-requires-the-passlib-python-library/24097)

<div class="topic-metadata">

**Author:** [@Matthew\_Cooper](https://forum.ansible.com/u/Matthew_Cooper)\
**Replies:** 3\
**Last updated:** [March 30, 2017, 3:10pm UTC](https://forum.ansible.com/t/this-module-requires-the-passlib-python-library/24097 "2017-03-30T15:10:05Z")

</div>

I’m hoping someone can help me out. I have a playbook to install Graylog2 on an EC2 host. The playbook fails on: ‘TASK \[graylog : setting nginx pass\]’ with the following error: ‘FAILED! =\> {“changed”: false, “failed”…

---

## [Ansible admins please  give any response to my questions.](https://forum.ansible.com/t/ansible-admins-please-give-any-response-to-my-questions/24103)

<div class="topic-metadata">

**Author:** [@balubhai555](https://forum.ansible.com/u/balubhai555)\
**Replies:** 0\
**Last updated:** [March 30, 2017, 1:21pm UTC](https://forum.ansible.com/t/ansible-admins-please-give-any-response-to-my-questions/24103 "2017-03-30T13:21:56Z")

</div>

Hello Team, I am new to Ansible. I am performing use-cases and POC on Ansible integrations. I got issues while working on Ansible. I posted those issues with this community. But No one helping me. Please consider and h…

---

## [EFS Module Not Updating Existing EFS Filesystems](https://forum.ansible.com/t/efs-module-not-updating-existing-efs-filesystems/24102)

<div class="topic-metadata">

**Author:** [@Nick\_P](https://forum.ansible.com/u/Nick_P)\
**Replies:** 0\
**Last updated:** [March 30, 2017, 1:00pm UTC](https://forum.ansible.com/t/efs-module-not-updating-existing-efs-filesystems/24102 "2017-03-30T13:00:50Z")

</div>

The EFS module is not updating an existing EFS filesystem. It seems to creating a new filesystem no matter what information I provide. When looking at the code it looks like it creates a new filesystem every time no matt…

---

## [Ansible : query an output array](https://forum.ansible.com/t/ansible-query-an-output-array/23996)

<div class="topic-metadata">

**Author:** [@Z-obaze](https://forum.ansible.com/u/Z-obaze)\
**Replies:** 7\
**Last updated:** [March 30, 2017, 9:14am UTC](https://forum.ansible.com/t/ansible-query-an-output-array/23996 "2017-03-30T09:14:54Z")

</div>

Hi everyone, I’m wondering if there is a simple way to display the value of on exact item for each row whatever the number of entries we have ? I’ll explain myself, I have an ouput which looks like this : ok: \[server1…

---

## [Unable to deploy VM from using template](https://forum.ansible.com/t/unable-to-deploy-vm-from-using-template/24081)

<div class="topic-metadata">

**Author:** [@Narasimha\_N](https://forum.ansible.com/u/Narasimha_N)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 11:03pm UTC](https://forum.ansible.com/t/unable-to-deploy-vm-from-using-template/24081 "2017-03-29T23:03:00Z")

</div>

Hi i am trying to deploy a vm using template but all efforts ended up with error A specified parameter was not correct “spec.location.datastore” i tried many ways to fix this issue but no luck can someone shares few …

---

## [ansible upgrade from 1.9 to 2.0](https://forum.ansible.com/t/ansible-upgrade-from-1-9-to-2-0/24096)

<div class="topic-metadata">

**Author:** [@tk\_yass](https://forum.ansible.com/u/tk_yass)\
**Replies:** 0\
**Last updated:** [March 29, 2017, 3:08pm UTC](https://forum.ansible.com/t/ansible-upgrade-from-1-9-to-2-0/24096 "2017-03-29T15:08:31Z")

</div>

I’m trying to upgrade from ansible 1.9 to ansible 2.0 and I noticed that this kind of syntax is breaking: set other\_name = app\_account | d().name | d() but if I change it to set other\_name = ( app\_account|d() ).name …

---

## [upgrading to ansible 2.0](https://forum.ansible.com/t/upgrading-to-ansible-2-0/24095)

<div class="topic-metadata">

**Author:** [@tk\_yass](https://forum.ansible.com/u/tk_yass)\
**Replies:** 0\
**Last updated:** [March 29, 2017, 3:05pm UTC](https://forum.ansible.com/t/upgrading-to-ansible-2-0/24095 "2017-03-29T15:05:11Z")

</div>

I’m trying to upgrade from ansible 1.9 to ansible 2.0 and I noticed that this kind of syntax is breaking: set other\_name = app\_account | d().name | d() but if I change it to set other\_name = ( app\_account|d() ).name …

---

## [call a role with different parameters from the same playbook](https://forum.ansible.com/t/call-a-role-with-different-parameters-from-the-same-playbook/24034)

<div class="topic-metadata">

**Author:** [@Eric\_Belhomme](https://forum.ansible.com/u/Eric_Belhomme)\
**Replies:** 5\
**Last updated:** [March 29, 2017, 2:30pm UTC](https://forum.ansible.com/t/call-a-role-with-different-parameters-from-the-same-playbook/24034 "2017-03-29T14:30:04Z")

</div>

Hello the list, I’m quite new in Ansible world and I just wrote an Ansible role and playbook to handle my Let’s Encrypt SSL certificates. Here is my role :

---

## [Interested in contributing to Ansible module](https://forum.ansible.com/t/interested-in-contributing-to-ansible-module/24094)

<div class="topic-metadata">

**Author:** [@trishna](https://forum.ansible.com/u/trishna)\
**Replies:** 2\
**Last updated:** [March 29, 2017, 1:00pm UTC](https://forum.ansible.com/t/interested-in-contributing-to-ansible-module/24094 "2017-03-29T13:00:23Z")

</div>

Hi, I am going to write an Ansible module. I need some help on the following stuffs: How to setup development environment for Ansible module contribution. Ansible module boilerplate documentation. How to test the mod…

---

## [Asynchronously calling roles](https://forum.ansible.com/t/asynchronously-calling-roles/24071)

<div class="topic-metadata">

**Author:** [@Nicholas\_Santiago](https://forum.ansible.com/u/Nicholas_Santiago)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 11:54am UTC](https://forum.ansible.com/t/asynchronously-calling-roles/24071 "2017-03-29T11:54:21Z")

</div>

I’m looking to call groups of roles at the same time in an asynchronous fashion, but have yet to figure out how to do so. My playbook is relatively simple: release.yml hosts: “{{ host\_group }}” remote\_user: “{{ rele…

---

## [Transfer a file from a virtual machine managed by a Vmware Vcenter server to Ansible controller using ansible.](https://forum.ansible.com/t/transfer-a-file-from-a-virtual-machine-managed-by-a-vmware-vcenter-server-to-ansible-controller-using-ansible/24080)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 11:46am UTC](https://forum.ansible.com/t/transfer-a-file-from-a-virtual-machine-managed-by-a-vmware-vcenter-server-to-ansible-controller-using-ansible/24080 "2017-03-29T11:46:33Z")

</div>

I am trying to copy a file from a virtual machine which is managed by a vCenter server to my Ansible controller. I don’t want to use “fetch” module as it needs SSH connectivity. Is there any way I could transfer a file …

---

## [Download a file in control machine and copy to windows host](https://forum.ansible.com/t/download-a-file-in-control-machine-and-copy-to-windows-host/24077)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 3\
**Last updated:** [March 29, 2017, 11:36am UTC](https://forum.ansible.com/t/download-a-file-in-control-machine-and-copy-to-windows-host/24077 "2017-03-29T11:36:40Z")

</div>

Hi, I want to download files from an URL to control machine and store them in it and copy them over to windows host. How can we achieve this in single playbook

---

## [the connection plugin 'kerberos' was not found](https://forum.ansible.com/t/the-connection-plugin-kerberos-was-not-found/24079)

<div class="topic-metadata">

**Author:** [@Vijay\_R\_K\_Shetty](https://forum.ansible.com/u/Vijay_R_K_Shetty)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 5:46am UTC](https://forum.ansible.com/t/the-connection-plugin-kerberos-was-not-found/24079 "2017-03-29T05:46:15Z")

</div>

FAILED! =\> { “failed”: true, “msg”: “the connection plugin ‘kerberos’ was not found” I have installed kerberos but unable to get it working can some one help me?

---

## [Can't get gpg key accepted automatically for new repo on CentOS 7](https://forum.ansible.com/t/cant-get-gpg-key-accepted-automatically-for-new-repo-on-centos-7/23746)

<div class="topic-metadata">

**Author:** [@luke2](https://forum.ansible.com/u/luke2)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 9:41pm UTC](https://forum.ansible.com/t/cant-get-gpg-key-accepted-automatically-for-new-repo-on-centos-7/23746 "2017-03-28T21:41:38Z")

</div>

Here’s the play I’ve tried: \` hosts: eliza tags: grafana roles: role: service\_restart tasks: name: Add grafana repository yum\_repository: name: grafana description: grafana baseurl: https://packagecloud.io/g…

---

## [same with\_items for multiple tasks](https://forum.ansible.com/t/same-with-items-for-multiple-tasks/24087)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 2\
**Last updated:** [March 28, 2017, 9:40pm UTC](https://forum.ansible.com/t/same-with-items-for-multiple-tasks/24087 "2017-03-28T21:40:57Z")

</div>

How can we create one with\_items and use it for multiple tasks

---

## [looking for feedback on an idea for a PR](https://forum.ansible.com/t/looking-for-feedback-on-an-idea-for-a-pr/24085)

<div class="topic-metadata">

**Author:** [@michaelconlon0](https://forum.ansible.com/u/michaelconlon0)\
**Replies:** 6\
**Last updated:** [March 28, 2017, 9:00pm UTC](https://forum.ansible.com/t/looking-for-feedback-on-an-idea-for-a-pr/24085 "2017-03-28T21:00:43Z")

</div>

At my company, we currently use a patch file to get this result, and it’s been working great for over a year…so I figured it might be worth submitting a PR. However, I’m not sure how it would be received from a design pe…

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

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