# Archives

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

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

**Page:** 529

---

## [Back-porting module bug fix to 2.2‏](https://forum.ansible.com/t/back-porting-module-bug-fix-to-2-2/23300)

<div class="topic-metadata">

**Author:** [@Genadi\_Postrilko](https://forum.ansible.com/u/Genadi_Postrilko)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 9:46pm UTC](https://forum.ansible.com/t/back-porting-module-bug-fix-to-2-2/23300 "2016-12-20T21:46:29Z")

</div>

Hello, I have encountered a uri module digest authentication bug on ansible 2.2.0: https://github.com/ansible/ansible/issues/16936 The issue will be resolved at 2.3 by the following pull request: https://github.com/a…

---

## [macOS Sierra - pip module not working](https://forum.ansible.com/t/macos-sierra-pip-module-not-working/23289)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Wen](https://forum.ansible.com/u/Jeffrey_Wen)\
**Replies:** 1\
**Last updated:** [December 20, 2016, 5:48pm UTC](https://forum.ansible.com/t/macos-sierra-pip-module-not-working/23289 "2016-12-20T17:48:32Z")

</div>

Hello, I posted this on GitHub issues, but I was redirected here for more user-like questions. Instead of re-posting my question, here is the link to the GitHub issue.

---

## [Hi I am attempting to trouble shoot this error "argument of type 'NoneType' is not iterable"](https://forum.ansible.com/t/hi-i-am-attempting-to-trouble-shoot-this-error-argument-of-type-nonetype-is-not-iterable/23297)

<div class="topic-metadata">

**Author:** [@Brian\_Keyes](https://forum.ansible.com/u/Brian_Keyes)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 4:16pm UTC](https://forum.ansible.com/t/hi-i-am-attempting-to-trouble-shoot-this-error-argument-of-type-nonetype-is-not-iterable/23297 "2016-12-20T16:16:49Z")

</div>

I am geting this when I attempt to use I understand that “argument of type ‘NoneType’ is not iterable” may be due to none being being passed as a variable? how can I find out exactly where the “argument of type ‘NoneTyp…

---

## [Change AWS EC2 Instance Type](https://forum.ansible.com/t/change-aws-ec2-instance-type/23296)

<div class="topic-metadata">

**Author:** [@tiger.peng](https://forum.ansible.com/u/tiger.peng)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 3:28pm UTC](https://forum.ansible.com/t/change-aws-ec2-instance-type/23296 "2016-12-20T15:28:59Z")

</div>

Hello All, After launching an AWS stack, I’d like to change the power of instances by changing their instance types. It seems simply update the value (variable) in ec2 task does not work. Do I miss something? or I shoul…

---

## [Ansible Can not handle .tar.gz file and gives error](https://forum.ansible.com/t/ansible-can-not-handle-tar-gz-file-and-gives-error/23212)

<div class="topic-metadata">

**Author:** [@Balu\_Kompalli](https://forum.ansible.com/u/Balu_Kompalli)\
**Replies:** 8\
**Last updated:** [December 20, 2016, 3:08pm UTC](https://forum.ansible.com/t/ansible-can-not-handle-tar-gz-file-and-gives-error/23212 "2016-12-20T15:08:22Z")

</div>

Hello Team, I got the below error. I tried So many things which were failed to do things good. If you have any knowledge to rectify this error, please inform the references or commands to use. fatal: \[192.168.1.223\]: F…

---

## [Facing issues with WinRM connection](https://forum.ansible.com/t/facing-issues-with-winrm-connection/21090)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 5\
**Last updated:** [December 20, 2016, 12:12pm UTC](https://forum.ansible.com/t/facing-issues-with-winrm-connection/21090 "2016-12-20T12:12:12Z")

</div>

WinRM is already set up to receive requests on this computer. WinRM has been updated for remote management. Created a WinRM listener on HTTP://\* to accept WS-Man requests to any IP on this machine. WinRM firewall exce…

---

## [Issue with group\_vars like OSError: \[Errno 20\] Not a directory: '/vagrant/ansible/playbooks/local/group\_vars](https://forum.ansible.com/t/issue-with-group-vars-like-oserror-errno-20-not-a-directory-vagrant-ansible-playbooks-local-group-vars/23294)

<div class="topic-metadata">

**Author:** [@n\_nagesh](https://forum.ansible.com/u/n_nagesh)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 11:02am UTC](https://forum.ansible.com/t/issue-with-group-vars-like-oserror-errno-20-not-a-directory-vagrant-ansible-playbooks-local-group-vars/23294 "2016-12-20T11:02:05Z")

</div>

I am currently writing ansible playbook for adding user for local vm to local vm in ubuntu and also installing some stuff related to database. Here is my project structure: AnsibleProject: ---------------files ----…

---

## [Loop of JSON called by Ansible task - Jinja2](https://forum.ansible.com/t/loop-of-json-called-by-ansible-task-jinja2/23292)

<div class="topic-metadata">

**Author:** [@Hector\_Marina1](https://forum.ansible.com/u/Hector_Marina1)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 9:36am UTC](https://forum.ansible.com/t/loop-of-json-called-by-ansible-task-jinja2/23292 "2016-12-20T09:36:30Z")

</div>

ISSUE TYPE Feature Idea COMPONENT NAME Template module and URI module ANSIBLE VERSION ansible 2.1.1.0 OS / ENVIRONMENT Centos 6.7 SUMMARY I need to pass to a template several variables, from 2 different tasks with a…

---

## [Unable to create AAAA records with os\_recordset (OpenStack Designate)](https://forum.ansible.com/t/unable-to-create-aaaa-records-with-os-recordset-openstack-designate/23291)

<div class="topic-metadata">

**Author:** [@Andrew\_Klaus](https://forum.ansible.com/u/Andrew_Klaus)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 6:09am UTC](https://forum.ansible.com/t/unable-to-create-aaaa-records-with-os-recordset-openstack-designate/23291 "2016-12-20T06:09:28Z")

</div>

Hi guys, I’m trying to use Ansible to provision DNS records in OpenStack using the os\_recordset module. I’m running Ansible 2.2.0.0 installed from python pip on Ubuntu 16.04. I have an A record setup already for this …

---

## [ansible caches playbook](https://forum.ansible.com/t/ansible-caches-playbook/23273)

<div class="topic-metadata">

**Author:** [@Ilia\_Ternovich](https://forum.ansible.com/u/Ilia_Ternovich)\
**Replies:** 3\
**Last updated:** [December 20, 2016, 2:15am UTC](https://forum.ansible.com/t/ansible-caches-playbook/23273 "2016-12-20T02:15:53Z")

</div>

Hi, I’m using vagrant + ansible for proof of concept of IoT solution. I have successfully executed ansible playbook and destroyed virtual machine (e.g. vagrant destroy ‘slave’). But when I recreate ‘slave’ ansible does…

---

## [Problems with Async commands](https://forum.ansible.com/t/problems-with-async-commands/23276)

<div class="topic-metadata">

**Author:** [@Chris\_Parish](https://forum.ansible.com/u/Chris_Parish)\
**Replies:** 5\
**Last updated:** [December 20, 2016, 1:56am UTC](https://forum.ansible.com/t/problems-with-async-commands/23276 "2016-12-20T01:56:04Z")

</div>

Hi, I am trying to get my remote machine to reboot using the following code \` name: restart machine shell: sleep 2 && shutdown -r now “Ansible updates triggered” async: 1 poll: 0 sudo: true ignore\_errors: true …

---

## [Write to a config file on each server with a certain line from a CSV file stored locally using Ansible](https://forum.ansible.com/t/write-to-a-config-file-on-each-server-with-a-certain-line-from-a-csv-file-stored-locally-using-ansible/23278)

<div class="topic-metadata">

**Author:** [@Akashi\_Seih](https://forum.ansible.com/u/Akashi_Seih)\
**Replies:** 1\
**Last updated:** [December 19, 2016, 9:27pm UTC](https://forum.ansible.com/t/write-to-a-config-file-on-each-server-with-a-certain-line-from-a-csv-file-stored-locally-using-ansible/23278 "2016-12-19T21:27:14Z")

</div>

I have 15 servers that I need to set up and configure. I’ve been playing with Ansible a bit and I’ve come very far. I have one last thing to do that I don’t know how to solve, and that is: Each server has a file called …

---

## [Write to a config file on each server with a certain line from a CSV file stored locally using Ansible](https://forum.ansible.com/t/write-to-a-config-file-on-each-server-with-a-certain-line-from-a-csv-file-stored-locally-using-ansible/23277)

<div class="topic-metadata">

**Author:** [@Akashi\_Seih](https://forum.ansible.com/u/Akashi_Seih)\
**Replies:** 1\
**Last updated:** [December 19, 2016, 8:18pm UTC](https://forum.ansible.com/t/write-to-a-config-file-on-each-server-with-a-certain-line-from-a-csv-file-stored-locally-using-ansible/23277 "2016-12-19T20:18:20Z")

</div>

I have 15 servers that I need to set up and configure. I’ve been playing with Ansible a bit and I’ve come very far. I have one last thing to do that I don’t know how to solve, and that is: Each server has a file called …

---

## [Deploy application on a newly created AWS](https://forum.ansible.com/t/deploy-application-on-a-newly-created-aws/23287)

<div class="topic-metadata">

**Author:** [@farahfa89](https://forum.ansible.com/u/farahfa89)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 7:48pm UTC](https://forum.ansible.com/t/deploy-application-on-a-newly-created-aws/23287 "2016-12-19T19:48:53Z")

</div>

I am creating an Ansible playbook that has two roles: one role that creates an AWS instance (from a pre-made AMI which includes Ansible), then another role that deploys Sonatype Nexus into that instance. I’ve tested the …

---

## [with\_item and access array to pass separate value each time loop is executed](https://forum.ansible.com/t/with-item-and-access-array-to-pass-separate-value-each-time-loop-is-executed/23286)

<div class="topic-metadata">

**Author:** [@marcin\_zimnica](https://forum.ansible.com/u/marcin_zimnica)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 7:01pm UTC](https://forum.ansible.com/t/with-item-and-access-array-to-pass-separate-value-each-time-loop-is-executed/23286 "2016-12-19T19:01:23Z")

</div>

Hi, I have following code and trying to figure out how I can pass each value from array access to the eos\_config using iteration. I want to run the scripts eos\_config only on all access port not routed. name: change d…

---

## [Async jobs fail with "could not find job"](https://forum.ansible.com/t/async-jobs-fail-with-could-not-find-job/22280)

<div class="topic-metadata">

**Author:** [@Jakov\_Sosic](https://forum.ansible.com/u/Jakov_Sosic)\
**Replies:** 1\
**Last updated:** [December 19, 2016, 3:26pm UTC](https://forum.ansible.com/t/async-jobs-fail-with-could-not-find-job/22280 "2016-12-19T15:26:35Z")

</div>

Hi guys, I'm using 2.0.2.0, and this occurs with my playbook/role: fatal: \[test.vagrant\]: FAILED! =\> {"ansible\_job\_id": "108438168033.26787", "changed": false, "failed": true, "finished": 1, "msg": "could not find job"…

---

## [with\_nested with range()](https://forum.ansible.com/t/with-nested-with-range/23283)

<div class="topic-metadata">

**Author:** [@Lukasz\_Gorski](https://forum.ansible.com/u/Lukasz_Gorski)\
**Replies:** 2\
**Last updated:** [December 19, 2016, 3:13pm UTC](https://forum.ansible.com/t/with-nested-with-range/23283 "2016-12-19T15:13:11Z")

</div>

Hi, I need to create a nested loop referencing a variable from the outer loop. Basically something along the lines of: hosts = \[{‘name’: ‘first’, ‘limit’: 3}, {‘name’: ‘second’, ‘limit’: 5}\] for host in hosts: for i …

---

## [vmware\_inventory group\_by](https://forum.ansible.com/t/vmware-inventory-group-by/23284)

<div class="topic-metadata">

**Author:** [@Karen\_Tovmasian](https://forum.ansible.com/u/Karen_Tovmasian)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 2:04pm UTC](https://forum.ansible.com/t/vmware-inventory-group-by/23284 "2016-12-19T14:04:32Z")

</div>

Hi all. I’m investigatin the dynamic inventory script "vmware\_inventory.py (this one https://github.com/ansible/ansible/blob/devel/contrib/inventory/vmware\_inventory.py) I’d like to know how can i use \_meta vars or oth…

---

## [best way to log to the splunk](https://forum.ansible.com/t/best-way-to-log-to-the-splunk/23282)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 6:38am UTC](https://forum.ansible.com/t/best-way-to-log-to-the-splunk/23282 "2016-12-19T06:38:14Z")

</div>

What is the best way to log to the splunk while using ansible from cli? Regards.

---

## [launch EC2 instances with tags and installing a patch on them](https://forum.ansible.com/t/launch-ec2-instances-with-tags-and-installing-a-patch-on-them/23281)

<div class="topic-metadata">

**Author:** [@Sukhdeep\_Singh\_Aulak](https://forum.ansible.com/u/Sukhdeep_Singh_Aulak)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 6:26am UTC](https://forum.ansible.com/t/launch-ec2-instances-with-tags-and-installing-a-patch-on-them/23281 "2016-12-19T06:26:07Z")

</div>

Hi All, I am able to launch the EC2 instances with a particular tag ,and can perform some tasks on them in same playbook. What is the way to install some application on the running instances from a different playbook o…

---

## [ansible on aws](https://forum.ansible.com/t/ansible-on-aws/23280)

<div class="topic-metadata">

**Author:** [@kaja\_salaam](https://forum.ansible.com/u/kaja_salaam)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 12:33am UTC](https://forum.ansible.com/t/ansible-on-aws/23280 "2016-12-19T00:33:21Z")

</div>

ISSUE TYPE Bug Report COMPONENT NAME /etc/ansible/ec2.py ANSIBLE VERSION ansible --version ansible 2.3.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides CONFIGURATION r…

---

## [Managing docker containers like GCE instances](https://forum.ansible.com/t/managing-docker-containers-like-gce-instances/23279)

<div class="topic-metadata">

**Author:** [@louis](https://forum.ansible.com/u/louis)\
**Replies:** 0\
**Last updated:** [December 18, 2016, 6:13pm UTC](https://forum.ansible.com/t/managing-docker-containers-like-gce-instances/23279 "2016-12-18T18:13:44Z")

</div>

Hey guys, I have a quick question. I’m currently using ansible as more of a orchestration tool then configuration management. What I currently do is use the GCE dynamic inventory script to target tags of specific cluste…

---

## [Skip task in callback\_plugin or stop playbook execution](https://forum.ansible.com/t/skip-task-in-callback-plugin-or-stop-playbook-execution/23221)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 3\
**Last updated:** [December 17, 2016, 11:44pm UTC](https://forum.ansible.com/t/skip-task-in-callback-plugin-or-stop-playbook-execution/23221 "2016-12-17T23:44:13Z")

</div>

I would like to skip a task or all tasks conditionally in my callback\_plugin. Is that possible? I am trying to implement a stop playbook feature where I query an external API in my callback\_plugin, and if a stop flag is …

---

## [How to perform tasks only one host, based on previous output](https://forum.ansible.com/t/how-to-perform-tasks-only-one-host-based-on-previous-output/23200)

<div class="topic-metadata">

**Author:** [@Kevin\_Csuka1](https://forum.ansible.com/u/Kevin_Csuka1)\
**Replies:** 26\
**Last updated:** [December 17, 2016, 9:23pm UTC](https://forum.ansible.com/t/how-to-perform-tasks-only-one-host-based-on-previous-output/23200 "2016-12-17T21:23:32Z")

</div>

Hi, My goal is to perform tasks only one host based on the output. Searched for --limit module to use in playbooks, but it is not present. A shell script is executed on 3 nodes, which returns a boolean. ok: \[localMult…

---

## [Installing Passenger fails: "repomd.xml signature could not be verified for passenger" but works interactively](https://forum.ansible.com/t/installing-passenger-fails-repomd-xml-signature-could-not-be-verified-for-passenger-but-works-interactively/21048)

<div class="topic-metadata">

**Author:** [@TJG](https://forum.ansible.com/u/TJG)\
**Replies:** 7\
**Last updated:** [December 17, 2016, 4:23pm UTC](https://forum.ansible.com/t/installing-passenger-fails-repomd-xml-signature-could-not-be-verified-for-passenger-but-works-interactively/21048 "2016-12-17T16:23:55Z")

</div>

Hi all; I’m pretty new to Ansible, but have generally made good progress with a playbook to set up a (vagrant) CentOS 7 box. One point of grief is my translation of Phusion’s instructions for installing Passenger, from h…

---

## [Ansible 2.2.1 RC2 is ready for testing](https://forum.ansible.com/t/ansible-2-2-1-rc2-is-ready-for-testing/23258)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [December 17, 2016, 11:11am UTC](https://forum.ansible.com/t/ansible-2-2-1-rc2-is-ready-for-testing/23258 "2016-12-17T11:11:44Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.2.1 RC2 is ready for testing! Some bug fix highlights: Fixed a bug in the path searching/resolution for jinja2 includes in template files. Fixed a bug where include\_…

---

## [Strange iptables\_raw + with\_together behaviour](https://forum.ansible.com/t/strange-iptables-raw-with-together-behaviour/23251)

<div class="topic-metadata">

**Author:** [@andrew.hudson](https://forum.ansible.com/u/andrew.hudson)\
**Replies:** 1\
**Last updated:** [December 17, 2016, 8:50am UTC](https://forum.ansible.com/t/strange-iptables-raw-with-together-behaviour/23251 "2016-12-17T08:50:04Z")

</div>

Hi all Ive come across a quirk when using the ‘iptables\_raw’ module along with the ‘with\_together’ loop. Logically, im inserting three new iptables input rules (for ftp) and giving them a name I would expect that with…

---

## [Counting hosts in a group form an ec2 dynamic inventory](https://forum.ansible.com/t/counting-hosts-in-a-group-form-an-ec2-dynamic-inventory/23264)

<div class="topic-metadata">

**Author:** [@Jon\_Kellyevans](https://forum.ansible.com/u/Jon_Kellyevans)\
**Replies:** 1\
**Last updated:** [December 17, 2016, 8:22am UTC](https://forum.ansible.com/t/counting-hosts-in-a-group-form-an-ec2-dynamic-inventory/23264 "2016-12-17T08:22:43Z")

</div>

Is it possible in a playbook to get a list of all (including disabled) hosts in a group using a dynamic inventory connected to ec2. We have a 10 host limit on our ansible tower which allows a small team to spin up ec2 i…

---

## [setting ansible\_connection=winrm overrides connection: local in play](https://forum.ansible.com/t/setting-ansible-connection-winrm-overrides-connection-local-in-play/17815)

<div class="topic-metadata">

**Author:** [@andy2](https://forum.ansible.com/u/andy2)\
**Replies:** 2\
**Last updated:** [December 16, 2016, 10:26pm UTC](https://forum.ansible.com/t/setting-ansible-connection-winrm-overrides-connection-local-in-play/17815 "2016-12-16T22:26:57Z")

</div>

We’re using playbooks to bring up AWS infrastructure, then provision within the OS This works fine for linux hosts, as we just use connection: local in the plays that do instance provisioning etc. and can bring hosts up…

---

## [HELP using group\_vars and roles](https://forum.ansible.com/t/help-using-group-vars-and-roles/23274)

<div class="topic-metadata">

**Author:** [@Eric\_Marquez](https://forum.ansible.com/u/Eric_Marquez)\
**Replies:** 6\
**Last updated:** [December 16, 2016, 10:08pm UTC](https://forum.ansible.com/t/help-using-group-vars-and-roles/23274 "2016-12-16T22:08:11Z")

</div>

I have a question about the use of group\_vars in Ansible. I would like to use the data dictionaries values from swtich.json, I also need it to be global set of values almost like all. When I call it in Ansible it become…

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

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