# Latest

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

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

**Page:** 747

---

## [Ansible AWS "Cloud-Control" Modules: Clarification](https://forum.ansible.com/t/ansible-aws-cloud-control-modules-clarification/21937)

<div class="topic-metadata">

**Author:** [@Robert\_Glenn](https://forum.ansible.com/u/Robert_Glenn)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 5:06pm UTC](https://forum.ansible.com/t/ansible-aws-cloud-control-modules-clarification/21937 "2016-07-06T17:06:43Z")

</div>

Whereas classically ansible will execute tasks in its host loop against multiple remote machines, most cloud-control steps occur on your local machine with reference to the regions to control. Some of the AWS module…

---

## [Do lists and dicts keep the same order for every task?](https://forum.ansible.com/t/do-lists-and-dicts-keep-the-same-order-for-every-task/21935)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 4:38pm UTC](https://forum.ansible.com/t/do-lists-and-dicts-keep-the-same-order-for-every-task/21935 "2016-07-06T16:38:07Z")

</div>

I am curious whether lists and dicts maintain their order when used in different tasks. I want to make sure I don’t accidentally scramble my user/group data as I migrate.

---

## [Ansible 2.1 - Dynamic vars\_files and "skipping vars\_file" output messages with -vvv](https://forum.ansible.com/t/ansible-2-1-dynamic-vars-files-and-skipping-vars-file-output-messages-with-vvv/21934)

<div class="topic-metadata">

**Author:** [@Chris\_DiGiovanni](https://forum.ansible.com/u/Chris_DiGiovanni)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 3:39pm UTC](https://forum.ansible.com/t/ansible-2-1-dynamic-vars-files-and-skipping-vars-file-output-messages-with-vvv/21934 "2016-07-06T15:39:49Z")

</div>

Hello, While trying to move over to Ansible 2.1 from 1.9.2, I’ve noticed Ansible having a lot of output about skipping vars\_file when I pass “-vvv” to ansible-playbook. I’m including 3 vars\_file(s) using variable substi…

---

## [Execute tasks on multiple hosts in parallel which fall under different group](https://forum.ansible.com/t/execute-tasks-on-multiple-hosts-in-parallel-which-fall-under-different-group/21932)

<div class="topic-metadata">

**Author:** [@Shwetha\_Hadimani](https://forum.ansible.com/u/Shwetha_Hadimani)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 1:29pm UTC](https://forum.ansible.com/t/execute-tasks-on-multiple-hosts-in-parallel-which-fall-under-different-group/21932 "2016-07-06T13:29:55Z")

</div>

Hi, I want to execute tasks on multiple hosts in parallel which fall under different group. I have a host file which looks like below, \[groupa\] 10.0.1.29 \[groupb\] 10.0.1.45 \[groupc\] 10.0.1.56 My playbook looks li…

---

## [Is it possible to get the child groups of a given group in an expression](https://forum.ansible.com/t/is-it-possible-to-get-the-child-groups-of-a-given-group-in-an-expression/21931)

<div class="topic-metadata">

**Author:** [@Mark\_Davis](https://forum.ansible.com/u/Mark_Davis)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 10:02am UTC](https://forum.ansible.com/t/is-it-possible-to-get-the-child-groups-of-a-given-group-in-an-expression/21931 "2016-07-06T10:02:40Z")

</div>

From a quick look at https://github.com/ansible/ansible/blob/devel/lib/ansible/inventory/group.py I think the answer is “no” as child\_groups doesn’t have a getter, but just in case… Is it possible to get the list of chi…

---

## [how to convert an inventory file/directory into json format?](https://forum.ansible.com/t/how-to-convert-an-inventory-file-directory-into-json-format/21929)

<div class="topic-metadata">

**Author:** [@Aneesh\_Joseph](https://forum.ansible.com/u/Aneesh_Joseph)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 3:19am UTC](https://forum.ansible.com/t/how-to-convert-an-inventory-file-directory-into-json-format/21929 "2016-07-06T03:19:30Z")

</div>

Hi all, Is there a quick clean way to convert an inventory file/directory into json format which can then be fed in as a dynamic inventory (with some tweaks to the json) Thanks, Aneesh

---

## [Failure talking to yum: Can not create index on requires table: disk I/O error](https://forum.ansible.com/t/failure-talking-to-yum-can-not-create-index-on-requires-table-disk-i-o-error/20646)

<div class="topic-metadata">

**Author:** [@nsrea408](https://forum.ansible.com/u/nsrea408)\
**Replies:** 1\
**Last updated:** [July 6, 2016, 1:53am UTC](https://forum.ansible.com/t/failure-talking-to-yum-can-not-create-index-on-requires-table-disk-i-o-error/20646 "2016-07-06T01:53:53Z")

</div>

Hello there amazing ansible community, We’re using the latest Amazon Linux AMIs with ansible 2.0.0.2 and are getting following errors intermittently: TASK \[APPNAME\_HERE : Install Development tools for gem extensions\] \*…

---

## [Error Creating Azure Security Group](https://forum.ansible.com/t/error-creating-azure-security-group/21909)

<div class="topic-metadata">

**Author:** [@Steven\_Carter](https://forum.ansible.com/u/Steven_Carter)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 11:46pm UTC](https://forum.ansible.com/t/error-creating-azure-security-group/21909 "2016-07-05T23:46:56Z")

</div>

When I do the following in my playbook: name: Create CSR Security Group azure\_rm\_securitygroup: resource\_group: ‘{{ resource\_group }}’ name: csr\_security\_group purge\_rules: yes rules: name: AllowSSH protocol: Tcp …

---

## [Windows Task in a role for Linux hosts?  How?](https://forum.ansible.com/t/windows-task-in-a-role-for-linux-hosts-how/21920)

<div class="topic-metadata">

**Author:** [@Niels\_Jensen](https://forum.ansible.com/u/Niels_Jensen)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 10:00pm UTC](https://forum.ansible.com/t/windows-task-in-a-role-for-linux-hosts-how/21920 "2016-07-05T22:00:05Z")

</div>

Hi, I’ve put together a role that configures a number of defined proxy\_hosts in nginx. The playbook that calls this role is assigned to \[nginx\_proxy\] in my inventory file that currently contains 3 x linux hosts. The ro…

---

## [Create DNS record from remote machine](https://forum.ansible.com/t/create-dns-record-from-remote-machine/21926)

<div class="topic-metadata">

**Author:** [@Alvaro\_Gil](https://forum.ansible.com/u/Alvaro_Gil)\
**Replies:** 1\
**Last updated:** [July 5, 2016, 9:56pm UTC](https://forum.ansible.com/t/create-dns-record-from-remote-machine/21926 "2016-07-05T21:56:41Z")

</div>

I am very new to Ansible so perhaps some concepts are still not clear to me. I have a set of roles and playbooks working correctly to create ec2 instances, provision them and deploy. I am looking for create DNS records…

---

## [Error in win\_share](https://forum.ansible.com/t/error-in-win-share/21923)

<div class="topic-metadata">

**Author:** [@megha\_sharma](https://forum.ansible.com/u/megha_sharma)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 9:47pm UTC](https://forum.ansible.com/t/error-in-win-share/21923 "2016-07-05T21:47:29Z")

</div>

name: Windows Sharing hosts: newserver tasks: name: Add secret share win\_share: name: internal description: top secret share path: D:\\10 year list: ‘no’ full: Administrators read: Users Trying to run the above…

---

## [Ansible + Vagrant question please](https://forum.ansible.com/t/ansible-vagrant-question-please/21894)

<div class="topic-metadata">

**Author:** [@Sargon](https://forum.ansible.com/u/Sargon)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 8:25pm UTC](https://forum.ansible.com/t/ansible-vagrant-question-please/21894 "2016-07-05T20:25:37Z")

</div>

I want to create a Virtualbox VM and provision it. Now I can run: vagrant init bento/centos-6.7; vagrant up --provider virtualbox And it's there. I can put this command as a local command in Ansible, but I gather the…

---

## [delete last blank line in the file](https://forum.ansible.com/t/delete-last-blank-line-in-the-file/21928)

<div class="topic-metadata">

**Author:** [@John.1209](https://forum.ansible.com/u/John.1209)\
**Replies:** 0\
**Last updated:** [July 5, 2016, 8:25pm UTC](https://forum.ansible.com/t/delete-last-blank-line-in-the-file/21928 "2016-07-05T20:25:24Z")

</div>

Can someone suggest an ansible regex that deletes the last blank line in a file, if it is blank. TIA

---

## [include\_vars look up files in wrong directory if used with local\_action](https://forum.ansible.com/t/include-vars-look-up-files-in-wrong-directory-if-used-with-local-action/20102)

<div class="topic-metadata">

**Author:** [@Paulo\_Suderio](https://forum.ansible.com/u/Paulo_Suderio)\
**Replies:** 3\
**Last updated:** [July 5, 2016, 6:29pm UTC](https://forum.ansible.com/t/include-vars-look-up-files-in-wrong-directory-if-used-with-local-action/20102 "2016-07-05T18:29:53Z")

</div>

I believe it is a bug, but since I am an ansible beginner I would like to check with someone before reporting - either for comfirmation or some indication that I am doing it the wrong way: I am trying to load some varia…

---

## ["--file" mechanism in os\_server module?](https://forum.ansible.com/t/file-mechanism-in-os-server-module/21890)

<div class="topic-metadata">

**Author:** [@Steven\_Carter](https://forum.ansible.com/u/Steven_Carter)\
**Replies:** 3\
**Last updated:** [July 5, 2016, 4:43pm UTC](https://forum.ansible.com/t/file-mechanism-in-os-server-module/21890 "2016-07-05T16:43:32Z")

</div>

I do not see a way to specify the --file option in the os\_server module to store files on the instance. Is there a way to do this with the os\_server module? Thanks, Steven.

---

## [Introducing Ansible Container](https://forum.ansible.com/t/introducing-ansible-container/21646)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 8\
**Last updated:** [July 5, 2016, 4:03pm UTC](https://forum.ansible.com/t/introducing-ansible-container/21646 "2016-07-05T16:03:31Z")

</div>

Many thanks to Joshua Ginsberg and Chris Houseknecht of Ansible for starting this new project: https://github.com/ansible/ansible-container Still in its infancy, so please take it for a spin and let us know how it wo…

---

## [What does {{ vars|random }} do ?](https://forum.ansible.com/t/what-does-vars-random-do/21925)

<div class="topic-metadata">

**Author:** [@Anthony\_Cheng](https://forum.ansible.com/u/Anthony_Cheng)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 3:52pm UTC](https://forum.ansible.com/t/what-does-vars-random-do/21925 "2016-07-05T15:52:37Z")

</div>

Looking over some ansible ec2 script I see reference to: “{{ vars|random }}” e.g. vpc\_subnet\_id: “{{ ec2\_subnet\_id|random }}” (http://allandenot.com/devops/2015/01/31/provisioning-ec2-hosts-with-ansible.html) Does t…

---

## [playbook to create new openstack project and virtual networks](https://forum.ansible.com/t/playbook-to-create-new-openstack-project-and-virtual-networks/21927)

<div class="topic-metadata">

**Author:** [@Maurizio\_Santovito](https://forum.ansible.com/u/Maurizio_Santovito)\
**Replies:** 0\
**Last updated:** [July 5, 2016, 3:51pm UTC](https://forum.ansible.com/t/playbook-to-create-new-openstack-project-and-virtual-networks/21927 "2016-07-05T15:51:48Z")

</div>

Hi all, I’m quite new in Ansuble and I’m struggling a bit ti find a way to use openstack modules to create a new Openstack project and some very basic virtual networks by neutron. Is it a valid question? And if yes, i…

---

## [nested playbooks](https://forum.ansible.com/t/nested-playbooks/21924)

<div class="topic-metadata">

**Author:** [@dch](https://forum.ansible.com/u/dch)\
**Replies:** 1\
**Last updated:** [July 5, 2016, 3:04pm UTC](https://forum.ansible.com/t/nested-playbooks/21924 "2016-07-05T15:04:18Z")

</div>

Hi My nested playbooks fail with this error: $ ansible-playbook site.yml --limit dev ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. The error appears to h…

---

## [How to obtain "Alias Hosted Zone ID"?](https://forum.ansible.com/t/how-to-obtain-alias-hosted-zone-id/19098)

<div class="topic-metadata">

**Author:** [@Stanley\_Nguyen](https://forum.ansible.com/u/Stanley_Nguyen)\
**Replies:** 1\
**Last updated:** [July 5, 2016, 2:27pm UTC](https://forum.ansible.com/t/how-to-obtain-alias-hosted-zone-id/19098 "2016-07-05T14:27:52Z")

</div>

Hi, I’m using route53 modules and wondering how you can obtain “Alias Hosted Zone ID” without hard-coding it? thanks, stanley

---

## [Running Ansible playbook without an inventory file (use other source for getting inventory)](https://forum.ansible.com/t/running-ansible-playbook-without-an-inventory-file-use-other-source-for-getting-inventory/21904)

<div class="topic-metadata">

**Author:** [@Arpit\_Ghiya](https://forum.ansible.com/u/Arpit_Ghiya)\
**Replies:** 3\
**Last updated:** [July 5, 2016, 12:33pm UTC](https://forum.ansible.com/t/running-ansible-playbook-without-an-inventory-file-use-other-source-for-getting-inventory/21904 "2016-07-05T12:33:02Z")

</div>

Hello We are currently in a process to switch from our current legacy systems to Ansible for server provisioning and deployment. All of our server details are stored in ruby configuration files \[.rb\], which is obviously…

---

## [NameError: name 'ansible' is not defined](https://forum.ansible.com/t/nameerror-name-ansible-is-not-defined/18985)

<div class="topic-metadata">

**Author:** [@Karthik\_Rengarajan](https://forum.ansible.com/u/Karthik_Rengarajan)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 12:27pm UTC](https://forum.ansible.com/t/nameerror-name-ansible-is-not-defined/18985 "2016-07-05T12:27:50Z")

</div>

Hi, I am new to ansible and learning ansible from a tutorial. I am using windows 7 (unfortunately) and Vagrant with VirtualBox. I have installed ansible 2.0.0 on one vagrant ubuntu box and the ansible inventory file has …

---

## [Ping module - SSH connection fails on my Fedora 23 box](https://forum.ansible.com/t/ping-module-ssh-connection-fails-on-my-fedora-23-box/21885)

<div class="topic-metadata">

**Author:** [@Hornbachner\_Simon](https://forum.ansible.com/u/Hornbachner_Simon)\
**Replies:** 4\
**Last updated:** [July 5, 2016, 8:55am UTC](https://forum.ansible.com/t/ping-module-ssh-connection-fails-on-my-fedora-23-box/21885 "2016-07-05T08:55:55Z")

</div>

Ahoy hoy Ansiblers, I can't get Ansible to work from my Fedora 23 box. I don't have any firewall running, but can't even connect to localhost. Doing ssh user@m yhost manually works perfectly. And most interestingly, i…

---

## [How to run multiple playbooks in parallel? Async and poll don't seem to support "Include playbook"](https://forum.ansible.com/t/how-to-run-multiple-playbooks-in-parallel-async-and-poll-dont-seem-to-support-include-playbook/21918)

<div class="topic-metadata">

**Author:** [@Shruti\_Kembhavi](https://forum.ansible.com/u/Shruti_Kembhavi)\
**Replies:** 0\
**Last updated:** [July 4, 2016, 11:16pm UTC](https://forum.ansible.com/t/how-to-run-multiple-playbooks-in-parallel-async-and-poll-dont-seem-to-support-include-playbook/21918 "2016-07-04T23:16:14Z")

</div>

How to run multiple playbooks in parallel? Async and poll don’t seem to support “Include playbook” I want to do something like include: …/abc.yml async: 500 poll: 0 tags: \[abc\] include: …/xyz.yml async: 500 …

---

## [How to use new Azure modules](https://forum.ansible.com/t/how-to-use-new-azure-modules/21598)

<div class="topic-metadata">

**Author:** [@Takeshi\_Kuramochi](https://forum.ansible.com/u/Takeshi_Kuramochi)\
**Replies:** 4\
**Last updated:** [July 4, 2016, 7:28pm UTC](https://forum.ansible.com/t/how-to-use-new-azure-modules/21598 "2016-07-04T19:28:56Z")

</div>

Hi All, I would like to know details to use Azure modules ( azure\_rm\_xxxxxx ) . because it failed tasks for azure. I already have own azure account. I think that I must get some objects ( ad\_user / password ) on my …

---

## [Action plugin: Delegate task to different host](https://forum.ansible.com/t/action-plugin-delegate-task-to-different-host/21916)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://forum.ansible.com/u/Daniel_Schroeder)\
**Replies:** 1\
**Last updated:** [July 4, 2016, 1:48pm UTC](https://forum.ansible.com/t/action-plugin-delegate-task-to-different-host/21916 "2016-07-04T13:48:49Z")

</div>

Holla! I have an action plugin that will run some modules on the target host per self.\_execute\_module(…) Now I want one single module to be delegated to a different host.\* The name of this host is a parameter of my cus…

---

## [variables in hostname doesn't work well with jinja2 templates](https://forum.ansible.com/t/variables-in-hostname-doesnt-work-well-with-jinja2-templates/21910)

<div class="topic-metadata">

**Author:** [@Aneesh\_Joseph](https://forum.ansible.com/u/Aneesh_Joseph)\
**Replies:** 2\
**Last updated:** [July 4, 2016, 12:07pm UTC](https://forum.ansible.com/t/variables-in-hostname-doesnt-work-well-with-jinja2-templates/21910 "2016-07-04T12:07:30Z")

</div>

I’m using variables within the inventory host name to provision environments dynamically using the ansible openstack modules and this is working well \[openstack\] myserver-{{env}}.subdomain.mycompany.com but, when I try…

---

## [How to run multiple playbooks in parallel? Async and poll don't seem to support "Include playbook"](https://forum.ansible.com/t/how-to-run-multiple-playbooks-in-parallel-async-and-poll-dont-seem-to-support-include-playbook/21912)

<div class="topic-metadata">

**Author:** [@Shruti\_Kembhavi](https://forum.ansible.com/u/Shruti_Kembhavi)\
**Replies:** 1\
**Last updated:** [July 4, 2016, 8:09am UTC](https://forum.ansible.com/t/how-to-run-multiple-playbooks-in-parallel-async-and-poll-dont-seem-to-support-include-playbook/21912 "2016-07-04T08:09:25Z")

</div>

How to run multiple playbooks in parallel? Async and poll don’t seem to support “Include playbook” I want to do something like include: …/abc.yml async: 500 poll: 0 tags: \[abc\] include: …/xyz.yml async: 500 …

---

## [VMware VM's Configuring Server Names](https://forum.ansible.com/t/vmware-vms-configuring-server-names/21906)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 1\
**Last updated:** [July 4, 2016, 8:05am UTC](https://forum.ansible.com/t/vmware-vms-configuring-server-names/21906 "2016-07-04T08:05:37Z")

</div>

Hi I have a playbook that creates multiple VM’s in VMware (see below). When the VM’s have all been created they have the same server name as the template. So I have 20 new VM’s all with the same OS name. I want the OS…

---

## [Man page of ansible displays: ERROR: Missing target hosts.](https://forum.ansible.com/t/man-page-of-ansible-displays-error-missing-target-hosts/21915)

<div class="topic-metadata">

**Author:** [@akansha\_agarwal](https://forum.ansible.com/u/akansha_agarwal)\
**Replies:** 0\
**Last updated:** [July 4, 2016, 7:00am UTC](https://forum.ansible.com/t/man-page-of-ansible-displays-error-missing-target-hosts/21915 "2016-07-04T07:00:25Z")

</div>

I am running latest version of ansible:2.1.0.0 on CentOS 6.8. But man page of ansible displays: ERROR: Missing target hosts. Can anyone please help?

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

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