# Latest

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

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

**Page:** 674

---

## [Authorized\_Key module not compatible with Python3?](https://forum.ansible.com/t/authorized-key-module-not-compatible-with-python3/24065)

<div class="topic-metadata">

**Author:** [@Brian\_Huddleston](https://forum.ansible.com/u/Brian_Huddleston)\
**Replies:** 2\
**Last updated:** [March 26, 2017, 8:41pm UTC](https://forum.ansible.com/t/authorized-key-module-not-compatible-with-python3/24065 "2017-03-26T20:41:00Z")

</div>

I use the “authorized\_key” module (https://docs.ansible.com/ansible/authorized\_key\_module.html), for adding SSH keys to the admins of our boxes. Today I had to use one of my playbooks against a box that only has Python3…

---

## [Sensible timeouts and configuration of ansible.cfg,](https://forum.ansible.com/t/sensible-timeouts-and-configuration-of-ansible-cfg/24063)

<div class="topic-metadata">

**Author:** [@David\_Brendlinger](https://forum.ansible.com/u/David_Brendlinger)\
**Replies:** 0\
**Last updated:** [March 25, 2017, 2:10am UTC](https://forum.ansible.com/t/sensible-timeouts-and-configuration-of-ansible-cfg/24063 "2017-03-25T02:10:52Z")

</div>

Hello We have a changing inventory of linux servers we use ansible on. My ansible playbook with hang on a server for a long time. My only solution is to find the offending host and take it out of the /etc/ansible/hosts …

---

## [with\_dict expects a dict error](https://forum.ansible.com/t/with-dict-expects-a-dict-error/24062)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 1\
**Last updated:** [March 24, 2017, 8:58pm UTC](https://forum.ansible.com/t/with-dict-expects-a-dict-error/24062 "2017-03-24T20:58:15Z")

</div>

\`

---

## [ipv6 support in AWS VPC modules](https://forum.ansible.com/t/ipv6-support-in-aws-vpc-modules/24060)

<div class="topic-metadata">

**Author:** [@Daniel\_Shepherd](https://forum.ansible.com/u/Daniel_Shepherd)\
**Replies:** 0\
**Last updated:** [March 24, 2017, 6:49pm UTC](https://forum.ansible.com/t/ipv6-support-in-aws-vpc-modules/24060 "2017-03-24T18:49:29Z")

</div>

I was wondering if there has been any discussion around updating the AWS VPC modules to to support associating IPv6 cidr blocks to the VPC, subnets, and also using IPv6 addresses in Network ACLs and Security groups. This…

---

## [Copy line from one file into another](https://forum.ansible.com/t/copy-line-from-one-file-into-another/24058)

<div class="topic-metadata">

**Author:** [@James2](https://forum.ansible.com/u/James2)\
**Replies:** 0\
**Last updated:** [March 24, 2017, 3:48pm UTC](https://forum.ansible.com/t/copy-line-from-one-file-into-another/24058 "2017-03-24T15:48:56Z")

</div>

When installing some proprietary software, the documentation instructs me to run a command that creates a new authentication key, which is returned on-screen as standard output. To help automate this I created the follow…

---

## [Importing ansible.utils.color within custom modules](https://forum.ansible.com/t/importing-ansible-utils-color-within-custom-modules/24057)

<div class="topic-metadata">

**Author:** [@John\_Wadleigh](https://forum.ansible.com/u/John_Wadleigh)\
**Replies:** 1\
**Last updated:** [March 24, 2017, 3:48pm UTC](https://forum.ansible.com/t/importing-ansible-utils-color-within-custom-modules/24057 "2017-03-24T15:48:03Z")

</div>

Here is a simple custom module, but when I try to import the ansible.utils.color then I get the error: \` No module named ansible.utils.color \` It seems I cannot import from anywhere but within ansible.module\_utils.xx…

---

## [Sudoers File On Control Machine For Ansible User](https://forum.ansible.com/t/sudoers-file-on-control-machine-for-ansible-user/24055)

<div class="topic-metadata">

**Author:** [@gforster](https://forum.ansible.com/u/gforster)\
**Replies:** 1\
**Last updated:** [March 24, 2017, 2:33pm UTC](https://forum.ansible.com/t/sudoers-file-on-control-machine-for-ansible-user/24055 "2017-03-24T14:33:21Z")

</div>

Our boxes have one user for Ansible that has appropriate privileged escalations & SSH keys. This works fine, if you su - to that user. Otherwise, if you are yourself, you can only run plays by providing the passphrase fo…

---

## [how does one escape this line](https://forum.ansible.com/t/how-does-one-escape-this-line/24037)

<div class="topic-metadata">

**Author:** [@Tony\_Walsh](https://forum.ansible.com/u/Tony_Walsh)\
**Replies:** 4\
**Last updated:** [March 24, 2017, 1:49pm UTC](https://forum.ansible.com/t/how-does-one-escape-this-line/24037 "2017-03-24T13:49:42Z")

</div>

Folks I would like to implement the following command via ansible’s win\_command module: %comspec% /k ““C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat”” amd64 I have tried everything I can think o…

---

## [Yum failing on with\_items for target hosts (packages already installed)](https://forum.ansible.com/t/yum-failing-on-with-items-for-target-hosts-packages-already-installed/24046)

<div class="topic-metadata">

**Author:** [@James2](https://forum.ansible.com/u/James2)\
**Replies:** 2\
**Last updated:** [March 24, 2017, 1:48pm UTC](https://forum.ansible.com/t/yum-failing-on-with-items-for-target-hosts-packages-already-installed/24046 "2017-03-24T13:48:18Z")

</div>

Hi, I’m sorry if this issue has been posted/discussed before, but I tried searching and couldn’t find anything related. I get the following output when I try to run a simple playbook. \[root@atk ansible\]# ansible-playbo…

---

## [Not able to intall Ansible-Tower,  Connection failure: \[X509\] PEM lib (\_ssl.c:2831)](https://forum.ansible.com/t/not-able-to-intall-ansible-tower-connection-failure-x509-pem-lib-ssl-c-2831/24056)

<div class="topic-metadata">

**Author:** [@Siddharth](https://forum.ansible.com/u/Siddharth)\
**Replies:** 0\
**Last updated:** [March 24, 2017, 1:42pm UTC](https://forum.ansible.com/t/not-able-to-intall-ansible-tower-connection-failure-x509-pem-lib-ssl-c-2831/24056 "2017-03-24T13:42:44Z")

</div>

Hi, My Ansible tower installation fails with this, Any idea ? TASK \[packages\_ubuntu : install apt repository keys\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[localhost\] (item={u’url’: u’https://www.postgresql.org/media/keys…

---

## [How to create with\_items, on a submember?](https://forum.ansible.com/t/how-to-create-with-items-on-a-submember/24036)

<div class="topic-metadata">

**Author:** [@Bhavin\_Parmar](https://forum.ansible.com/u/Bhavin_Parmar)\
**Replies:** 10\
**Last updated:** [March 24, 2017, 1:41pm UTC](https://forum.ansible.com/t/how-to-create-with-items-on-a-submember/24036 "2017-03-24T13:41:14Z")

</div>

The output (i.e. module: ec2\_snapshot) of a registered variable (i.e. ec2\_snap) returns multiple members. Playbook is: — # Take Snapshot of EC2s name: Take snapshot of EC2s hosts: local become: no connection: loc…

---

## [Single quotes in Ansible shell module](https://forum.ansible.com/t/single-quotes-in-ansible-shell-module/21209)

<div class="topic-metadata">

**Author:** [@Chris\_D](https://forum.ansible.com/u/Chris_D)\
**Replies:** 5\
**Last updated:** [March 24, 2017, 10:53am UTC](https://forum.ansible.com/t/single-quotes-in-ansible-shell-module/21209 "2017-03-24T10:53:15Z")

</div>

I’m trying to run a command using the Ansible shell module, but having some trouble. Basically, with this command, I want to list all postgres databases on a server, then run the psql -c ‘\\dx’ command against them to fin…

---

## [Newbie question regarding playbook execution logic](https://forum.ansible.com/t/newbie-question-regarding-playbook-execution-logic/24047)

<div class="topic-metadata">

**Author:** [@barnaclefluff](https://forum.ansible.com/u/barnaclefluff)\
**Replies:** 2\
**Last updated:** [March 24, 2017, 7:52am UTC](https://forum.ansible.com/t/newbie-question-regarding-playbook-execution-logic/24047 "2017-03-24T07:52:01Z")

</div>

Hi, i’m probably hitting a basic newbie misunderstanding here. What would be the best practice approach to write a playbook that does something like: Call a playbook like patch\_hosts.yml , targetting all hosts. patch\_…

---

## [Ansible throws unreachable error when using dellos6 module](https://forum.ansible.com/t/ansible-throws-unreachable-error-when-using-dellos6-module/24041)

<div class="topic-metadata">

**Author:** [@Chang\_Zhi](https://forum.ansible.com/u/Chang_Zhi)\
**Replies:** 2\
**Last updated:** [March 24, 2017, 7:38am UTC](https://forum.ansible.com/t/ansible-throws-unreachable-error-when-using-dellos6-module/24041 "2017-03-24T07:38:44Z")

</div>

Hi, I’m try to get switch’s version info by using ansible. So I create a yaml file like this: \`

---

## [DellOS6 module hangs when exec playbook](https://forum.ansible.com/t/dellos6-module-hangs-when-exec-playbook/24054)

<div class="topic-metadata">

**Author:** [@Chang\_Zhi](https://forum.ansible.com/u/Chang_Zhi)\
**Replies:** 0\
**Last updated:** [March 24, 2017, 7:04am UTC](https://forum.ansible.com/t/dellos6-module-hangs-when-exec-playbook/24054 "2017-03-24T07:04:40Z")

</div>

Hi, all A question confused me a long time. Ansible hangs when I was using networking dellos6 module. I create a yaml file like this: --- - hosts: dell connection: ssh gather\_facts: no vars: cli: usern…

---

## [When I develop a module. how can I share it to the github ?](https://forum.ansible.com/t/when-i-develop-a-module-how-can-i-share-it-to-the-github/24052)

<div class="topic-metadata">

**Author:** [@Yang\_Mark.S](https://forum.ansible.com/u/Yang_Mark.S)\
**Replies:** 1\
**Last updated:** [March 24, 2017, 6:43am UTC](https://forum.ansible.com/t/when-i-develop-a-module-how-can-i-share-it-to-the-github/24052 "2017-03-24T06:43:18Z")

</div>

Dear sir, I try to develop a module for switch device. and test it finished. how can I share my module to the github ?

---

## [An included role is incorrectly skipped when an earlier dependency is skipped](https://forum.ansible.com/t/an-included-role-is-incorrectly-skipped-when-an-earlier-dependency-is-skipped/24053)

<div class="topic-metadata">

**Author:** [@asavtch](https://forum.ansible.com/u/asavtch)\
**Replies:** 0\
**Last updated:** [March 24, 2017, 6:37am UTC](https://forum.ansible.com/t/an-included-role-is-incorrectly-skipped-when-an-earlier-dependency-is-skipped/24053 "2017-03-24T06:37:03Z")

</div>

Ansible 2.2.1.0 Configuration: one role (sample role) has a dependency (dep\_role) and an included role (common) The files: $ find -type f ./playbook.yml ./roles/common/tasks/main.yml ./roles/dep\_role/tasks/main.yml …

---

## [openstack os\_project endpoint error](https://forum.ansible.com/t/openstack-os-project-endpoint-error/20483)

<div class="topic-metadata">

**Author:** [@Scott](https://forum.ansible.com/u/Scott)\
**Replies:** 5\
**Last updated:** [March 24, 2017, 5:17am UTC](https://forum.ansible.com/t/openstack-os-project-endpoint-error/20483 "2017-03-24T05:17:34Z")

</div>

We have just deployed a new openstack (HP HELION) enviroment and trying to use ansible to createa project but getting an error “Could not find a suitable endpoint for client version: 2.0”. ansible version: 2.0.0.2 Thes…

---

## [F5 bigip\_pool\_member any way to update Priority Group?](https://forum.ansible.com/t/f5-bigip-pool-member-any-way-to-update-priority-group/24051)

<div class="topic-metadata">

**Author:** [@Scott\_Frisbie](https://forum.ansible.com/u/Scott_Frisbie)\
**Replies:** 1\
**Last updated:** [March 24, 2017, 5:15am UTC](https://forum.ansible.com/t/f5-bigip-pool-member-any-way-to-update-priority-group/24051 "2017-03-24T05:15:57Z")

</div>

Ansible 2.1.1.0 Core. With our network, we have a system where we switch back and forth between two groups of servers. In the F5, we use iRules and priority groups to direct the traffic to the live group of servers. Righ…

---

## [Override the Ansible\_ssh\_password set in the dynamic inventory script](https://forum.ansible.com/t/override-the-ansible-ssh-password-set-in-the-dynamic-inventory-script/24050)

<div class="topic-metadata">

**Author:** [@Levi\_Blaney](https://forum.ansible.com/u/Levi_Blaney)\
**Replies:** 1\
**Last updated:** [March 24, 2017, 1:06am UTC](https://forum.ansible.com/t/override-the-ansible-ssh-password-set-in-the-dynamic-inventory-script/24050 "2017-03-24T01:06:07Z")

</div>

Hey, I have a dynamic inventory script. The script sets these variables… \` “Server01”{ “ansible\_host”: “xxx.xxx.xxx.xxx”, “ansible\_ssh\_host”: “xxx.xxx.xxx.xxx”, “ansible\_ssh\_pass”: “xxxxxxxxxxxx”, } \` That way w…

---

## [ansible 2.3 win\_copy fails when trying to get file from network drive](https://forum.ansible.com/t/ansible-2-3-win-copy-fails-when-trying-to-get-file-from-network-drive/24039)

<div class="topic-metadata">

**Author:** [@patrick\_korsnick](https://forum.ansible.com/u/patrick_korsnick)\
**Replies:** 5\
**Last updated:** [March 24, 2017, 1:00am UTC](https://forum.ansible.com/t/ansible-2-3-win-copy-fails-when-trying-to-get-file-from-network-drive/24039 "2017-03-24T01:00:27Z")

</div>

Hi all, Has anyone had any luck using the new in 2.3 feature of win\_copy (remote\_src) to copy files to/from a mapped network drive? essentially I’m trying to do this: name: copy from share win\_copy: src: w:\\foo de…

---

## [win\_share Module Failure - no real error message?](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24049)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 1\
**Last updated:** [March 23, 2017, 10:40pm UTC](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24049 "2017-03-23T22:40:55Z")

</div>

The the win\_share module currently catches all exceptions and doesn’t output the exception message in the final JSON output. I’ve raised a PR to add this feature as I’ve come across it just recently https://github.com/an…

---

## [OSError: \[Errno 32\] Broken pipe](https://forum.ansible.com/t/oserror-errno-32-broken-pipe/23348)

<div class="topic-metadata">

**Author:** [@Kevin\_Csuka1](https://forum.ansible.com/u/Kevin_Csuka1)\
**Replies:** 2\
**Last updated:** [March 23, 2017, 2:47pm UTC](https://forum.ansible.com/t/oserror-errno-32-broken-pipe/23348 "2017-03-23T14:47:50Z")

</div>

Ansible version: 2.1.2.0 My task: - name: "Managing groups with gid set" become: true group: name: "{{ item.value.name }}" state: "{{ item.value.state | default('present')}}" system: "{{ item.value.system | …

---

## [Timeout problem with far distance host](https://forum.ansible.com/t/timeout-problem-with-far-distance-host/23825)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 8\
**Last updated:** [March 23, 2017, 1:46pm UTC](https://forum.ansible.com/t/timeout-problem-with-far-distance-host/23825 "2017-03-23T13:46:59Z")

</div>

This has been discussed at many places but this scenario is certainly different. Within my repository I do have one host which is on mainland China, i.e. inside the great firewall. And therefore the connection is signifi…

---

## [for loop in a playbook task](https://forum.ansible.com/t/for-loop-in-a-playbook-task/24043)

<div class="topic-metadata">

**Author:** [@Eric\_Marquez](https://forum.ansible.com/u/Eric_Marquez)\
**Replies:** 1\
**Last updated:** [March 23, 2017, 1:34pm UTC](https://forum.ansible.com/t/for-loop-in-a-playbook-task/24043 "2017-03-23T13:34:28Z")

</div>

Is it possible to create a for loop in a task? I have a switch Access-Control list I need to build. In my host\_vars file I have a YAML object that contains all the source and destination addresses in an array. This wa…

---

## [vsphere\_guest gather\_vmware\_facts not returing ip addresses of vms running in esx hypervisor v5.5.0](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155)

<div class="topic-metadata">

**Author:** [@Earl\_Robinson](https://forum.ansible.com/u/Earl_Robinson)\
**Replies:** 4\
**Last updated:** [March 23, 2017, 1:21pm UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155 "2017-03-23T13:21:37Z")

</div>

When using the gather\_vmware\_facts option in the vsphere\_guest module : \` $cat vmguest\_facts.yml

---

## [variable param with start](https://forum.ansible.com/t/variable-param-with-start/24042)

<div class="topic-metadata">

**Author:** [@Manoj\_K](https://forum.ansible.com/u/Manoj_K)\
**Replies:** 0\
**Last updated:** [March 23, 2017, 8:26am UTC](https://forum.ansible.com/t/variable-param-with-start/24042 "2017-03-23T08:26:02Z")

</div>

Is it possible to use star to assume the remaining path. set\_fact: tomcat\_native: “/tmp/tomcat-native-\*/” Regards, Manoj K

---

## [win\_share Module Failure - no real error message?](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24040)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 0\
**Last updated:** [March 23, 2017, 5:41am UTC](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24040 "2017-03-23T05:41:10Z")

</div>

Looking at your logging I think there might be an error message there that is getting swallowed.

---

## [windows domain controller(s) set up](https://forum.ansible.com/t/windows-domain-controller-s-set-up/24035)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 4\
**Last updated:** [March 23, 2017, 5:13am UTC](https://forum.ansible.com/t/windows-domain-controller-s-set-up/24035 "2017-03-23T05:13:17Z")

</div>

Hello, There are 3 new modules in ansible 2.3 to do with creating and setting up Windows Active Directory domain controllers. https://docs.ansible.com/ansible/win\_domain\_module.html https://docs.ansible.com/ansible/wi…

---

## [Variable pointer](https://forum.ansible.com/t/variable-pointer/23957)

<div class="topic-metadata">

**Author:** [@Vinicius\_Leal](https://forum.ansible.com/u/Vinicius_Leal)\
**Replies:** 1\
**Last updated:** [March 23, 2017, 3:42am UTC](https://forum.ansible.com/t/variable-pointer/23957 "2017-03-23T03:42:31Z")

</div>

I have following situation vars: var1: test var2: var1 tasks: debug: msg=“{{ {{ var2 }} }}” Exist some syntax to get “test” in debug msg?

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

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