# Latest

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

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

**Page:** 700

---

## [bastion host type connection to ansible](https://forum.ansible.com/t/bastion-host-type-connection-to-ansible/23271)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 1\
**Last updated:** [December 21, 2016, 4:32pm UTC](https://forum.ansible.com/t/bastion-host-type-connection-to-ansible/23271 "2016-12-21T16:32:36Z")

</div>

How can use ansible with the below ssh.cfg Host test Hostname 10.35.74.241 User oyarimtepe@syslnx#host.foo.com@machine1.host.foo.com I am trying to connect machine1. The above settings let me connect with ssh test 1…

---

## [Include Vars inside of Variable Array](https://forum.ansible.com/t/include-vars-inside-of-variable-array/23310)

<div class="topic-metadata">

**Author:** [@steve5](https://forum.ansible.com/u/steve5)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 4:22pm UTC](https://forum.ansible.com/t/include-vars-inside-of-variable-array/23310 "2016-12-21T16:22:55Z")

</div>

I wasn’t sure if this is possible, but in the new “name” field in 2.2 is there a way to specify that you could create an array in that variable? I am trying to loop through a bunch of files with vars and want to prevent …

---

## [Is there any Ansible module to Deploy VM OVF Template ?](https://forum.ansible.com/t/is-there-any-ansible-module-to-deploy-vm-ovf-template/23309)

<div class="topic-metadata">

**Author:** [@Prasoon\_Kumar](https://forum.ansible.com/u/Prasoon_Kumar)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 2:47pm UTC](https://forum.ansible.com/t/is-there-any-ansible-module-to-deploy-vm-ovf-template/23309 "2016-12-21T14:47:09Z")

</div>

Hi, Is there any Ansible module to Deploy VM OVF Template ? Thanks Prasoon

---

## [Ansible enhancement request: persistent variables?](https://forum.ansible.com/t/ansible-enhancement-request-persistent-variables/23298)

<div class="topic-metadata">

**Author:** [@eric3](https://forum.ansible.com/u/eric3)\
**Replies:** 5\
**Last updated:** [December 21, 2016, 2:45pm UTC](https://forum.ansible.com/t/ansible-enhancement-request-persistent-variables/23298 "2016-12-21T14:45:58Z")

</div>

I’m looking for an enhancement to Ansible that I’m conceiving of as “persistent variables.” Specifically, when one part of my script does something that registers a variable, I’m typically using that registration to affe…

---

## [How Deploy VM in Azure and to install on it applications](https://forum.ansible.com/t/how-deploy-vm-in-azure-and-to-install-on-it-applications/23307)

<div class="topic-metadata">

**Author:** [@Shmulik\_Alfandari](https://forum.ansible.com/u/Shmulik_Alfandari)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 2:35pm UTC](https://forum.ansible.com/t/how-deploy-vm-in-azure-and-to-install-on-it-applications/23307 "2016-12-21T14:35:45Z")

</div>

Hi, I created playbook which deploy Centos VM in azure. It is working fine. I want in this playbook to install application on that deployed VM. How can I continue with this playbook and install application on this VM? …

---

## [How to deploy OVA template using Ansible?](https://forum.ansible.com/t/how-to-deploy-ova-template-using-ansible/23303)

<div class="topic-metadata">

**Author:** [@Prasoon\_Kumar](https://forum.ansible.com/u/Prasoon_Kumar)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 6:46am UTC](https://forum.ansible.com/t/how-to-deploy-ova-template-using-ansible/23303 "2016-12-21T06:46:27Z")

</div>

Hi, I am able to clone to VM from VM template but not able to deploy VM OVA template using Ansible. Please help. Thanks Prasoon

---

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

<div class="topic-metadata">

**Author:** [@farahfa89](https://forum.ansible.com/u/farahfa89)\
**Replies:** 1\
**Last updated:** [December 20, 2016, 11:07pm UTC](https://forum.ansible.com/t/deploy-application-on-a-newly-created-aws/23288 "2016-12-20T23:07:28Z")

</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 …

---

## [Complex set of default variables with custom plugin?](https://forum.ansible.com/t/complex-set-of-default-variables-with-custom-plugin/23301)

<div class="topic-metadata">

**Author:** [@Kamil\_Demecki](https://forum.ansible.com/u/Kamil_Demecki)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 9:51pm UTC](https://forum.ansible.com/t/complex-set-of-default-variables-with-custom-plugin/23301 "2016-12-20T21:51:44Z")

</div>

Hi, I’m looking for a solution to limit size of required setup for set of environments. Below it is small chunk of bigger setup where I’m defining variables having default values. \` app\_datasources: Target: Backend…

---

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

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

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