# Latest

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

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

**Page:** 644

---

## [Role tag?](https://forum.ansible.com/t/role-tag/24943)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [July 10, 2017, 5:28pm UTC](https://forum.ansible.com/t/role-tag/24943 "2017-07-10T17:28:18Z")

</div>

Hi I'm often finding myself having to run a specific role from some of our playbooks. Currently I'm using the '--tags' option for ansible-playbook, and we tag the role in our playbook like this: roles: - somerole …

---

## [dynamic inventory not working properly](https://forum.ansible.com/t/dynamic-inventory-not-working-properly/24941)

<div class="topic-metadata">

**Author:** [@Babatunde\_Busari](https://forum.ansible.com/u/Babatunde_Busari)\
**Replies:** 0\
**Last updated:** [July 10, 2017, 3:24pm UTC](https://forum.ansible.com/t/dynamic-inventory-not-working-properly/24941 "2017-07-10T15:24:03Z")

</div>

Original post https://github.com/ansible/ansible/issues/26574#####

---

## [Ansible Configuration property - executable and quoting](https://forum.ansible.com/t/ansible-configuration-property-executable-and-quoting/24940)

<div class="topic-metadata">

**Author:** [@etcshadow](https://forum.ansible.com/u/etcshadow)\
**Replies:** 0\
**Last updated:** [July 10, 2017, 12:45pm UTC](https://forum.ansible.com/t/ansible-configuration-property-executable-and-quoting/24940 "2017-07-10T12:45:26Z")

</div>

Hello, I would like to ask if there is a why to set "executable=" configuration property to nothing as I don't want to spawn another shell for the sudo elevation. Cause I am not allowed to. The issue I faced is related…

---

## [Not able to use ec2\_vpc\_endpoint](https://forum.ansible.com/t/not-able-to-use-ec2-vpc-endpoint/24939)

<div class="topic-metadata">

**Author:** [@shuvam\_jha](https://forum.ansible.com/u/shuvam_jha)\
**Replies:** 0\
**Last updated:** [July 10, 2017, 10:45am UTC](https://forum.ansible.com/t/not-able-to-use-ec2-vpc-endpoint/24939 "2017-07-10T10:45:51Z")

</div>

Hi , I am using ansible 2.3.1.0 , python version = 2.7.5. I am trying to use ec2\_vpc\_endpoint module , but it is giving error. I have use other ec2 or aws module . I have updated the ansible . I have run ansible\_doc -l…

---

## [Nested variables and Regex...](https://forum.ansible.com/t/nested-variables-and-regex/24920)

<div class="topic-metadata">

**Author:** [@rene](https://forum.ansible.com/u/rene)\
**Replies:** 2\
**Last updated:** [July 10, 2017, 9:03am UTC](https://forum.ansible.com/t/nested-variables-and-regex/24920 "2017-07-10T09:03:40Z")

</div>

Dear community, sorry that I have to bother you but I don’t get it. My goal is to create a nested variables which consists of a static text and two other variables. The thing is, the two variables may contain character…

---

## [Add role dependency to another role without it being executed automatically](https://forum.ansible.com/t/add-role-dependency-to-another-role-without-it-being-executed-automatically/24929)

<div class="topic-metadata">

**Author:** [@Lee\_Connell](https://forum.ansible.com/u/Lee_Connell)\
**Replies:** 4\
**Last updated:** [July 9, 2017, 6:45pm UTC](https://forum.ansible.com/t/add-role-dependency-to-another-role-without-it-being-executed-automatically/24929 "2017-07-09T18:45:19Z")

</div>

Hi all, I have a role that has a dependency on another role, however by default, Ansible will execute the dependency first. In my case, I do not want this to happen. I don’t want the role executed automatically at all. …

---

## [Cisco IOS backup and write to file with timestamp](https://forum.ansible.com/t/cisco-ios-backup-and-write-to-file-with-timestamp/22694)

<div class="topic-metadata">

**Author:** [@James\_Baird](https://forum.ansible.com/u/James_Baird)\
**Replies:** 7\
**Last updated:** [July 9, 2017, 1:56pm UTC](https://forum.ansible.com/t/cisco-ios-backup-and-write-to-file-with-timestamp/22694 "2017-07-09T13:56:59Z")

</div>

I am relatively knew to ansible and need a little assistance. We are trying to use ansible to backup our Cisco configuration. I figured that this would be fairly simple and I have made some progress but I am stuck at the…

---

## [Attach an IAM role to existing EC2 instances](https://forum.ansible.com/t/attach-an-iam-role-to-existing-ec2-instances/24936)

<div class="topic-metadata">

**Author:** [@Bond](https://forum.ansible.com/u/Bond)\
**Replies:** 0\
**Last updated:** [July 9, 2017, 6:15am UTC](https://forum.ansible.com/t/attach-an-iam-role-to-existing-ec2-instances/24936 "2017-07-09T06:15:02Z")

</div>

Hi, I am trying to attach and IAM role to a set of existing EC2 instances based on the Tag value. Is there a module readily available in Ansible now? Any suggestions?

---

## [ansible 2 lists in playbook vars file](https://forum.ansible.com/t/ansible-2-lists-in-playbook-vars-file/24935)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 4\
**Last updated:** [July 8, 2017, 10:25pm UTC](https://forum.ansible.com/t/ansible-2-lists-in-playbook-vars-file/24935 "2017-07-08T22:25:44Z")

</div>

Trying to get a playbook working with yml file containing 2 lists and passing that into the main file to loop over. Can someone help with letting me know what I’m doing wrong? Thanks copylist.yml

---

## [Cannot read group\_variable from role task - Ansible 2.3.1.0 (works fine with 2.1) -](https://forum.ansible.com/t/cannot-read-group-variable-from-role-task-ansible-2-3-1-0-works-fine-with-2-1/24897)

<div class="topic-metadata">

**Author:** [@Paolo\_Galizzi](https://forum.ansible.com/u/Paolo_Galizzi)\
**Replies:** 4\
**Last updated:** [July 8, 2017, 12:29pm UTC](https://forum.ansible.com/t/cannot-read-group-variable-from-role-task-ansible-2-3-1-0-works-fine-with-2-1/24897 "2017-07-08T12:29:18Z")

</div>

Hello, I have some trouble on reusing a code wrote for Ansible 2.1.1.0 with Ansible 2.3.1.0. With Ansible 2.3 when I try reading, from a task of a role, a nested variable that comes from “group\_vars”, tells me that var…

---

## [get\_url runs but doesnt download the file](https://forum.ansible.com/t/get-url-runs-but-doesnt-download-the-file/24882)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 7\
**Last updated:** [July 7, 2017, 10:24pm UTC](https://forum.ansible.com/t/get-url-runs-but-doesnt-download-the-file/24882 "2017-07-07T22:24:39Z")

</div>

I have 2 vms both running centos and ansible, running a get\_url test and the playbook runs fine and says changed = 1 but the file never gets downloaded to the target I have apache running on the server that hosts the fi…

---

## [Creating users & groups with vars - not working](https://forum.ansible.com/t/creating-users-groups-with-vars-not-working/24918)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 5\
**Last updated:** [July 7, 2017, 10:22pm UTC](https://forum.ansible.com/t/creating-users-groups-with-vars-not-working/24918 "2017-07-07T22:22:44Z")

</div>

Trying to create users and groups with vars inline…this is not working…what am I missing here? — # Users and Groups hosts: localhost become: yes vars: groups: devops dbadbmins serveradmins users: frank joe …

---

## [Create users and groups using with\_files](https://forum.ansible.com/t/create-users-and-groups-using-with-files/24917)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 2\
**Last updated:** [July 7, 2017, 10:18pm UTC](https://forum.ansible.com/t/create-users-and-groups-using-with-files/24917 "2017-07-07T22:18:00Z")

</div>

Trying to create groups and then users using with files and its not working…How should the lists be represented in the groups vars file and the users vars file? It doesnt like it just as text below…how am I supposed to …

---

## [Migrating from Serena to Ansible](https://forum.ansible.com/t/migrating-from-serena-to-ansible/24930)

<div class="topic-metadata">

**Author:** [@manasi](https://forum.ansible.com/u/manasi)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 7:39pm UTC](https://forum.ansible.com/t/migrating-from-serena-to-ansible/24930 "2017-07-07T19:39:10Z")

</div>

Hi All , We are planning on migrating to Ansible. But need to know like How to migrate from Serena deployment automation to Ansible and how to go about it? What dependencies need to be handled and things that need to be…

---

## [Ansible to assign an IAM role to an existing instance](https://forum.ansible.com/t/ansible-to-assign-an-iam-role-to-an-existing-instance/24928)

<div class="topic-metadata">

**Author:** [@Bond](https://forum.ansible.com/u/Bond)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 6:42pm UTC](https://forum.ansible.com/t/ansible-to-assign-an-iam-role-to-an-existing-instance/24928 "2017-07-07T18:42:56Z")

</div>

Hi, I am trying to assign an IAM role to a bunch of existing EC2 instances using Ansible modules. I couldn’t find an appropriate module for that same and wasn’t sure if that is possible since this feature came out recen…

---

## [Ansible 2.3.2 RC2 is available for testing](https://forum.ansible.com/t/ansible-2-3-2-rc2-is-available-for-testing/24927)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 5:40pm UTC](https://forum.ansible.com/t/ansible-2-3-2-rc2-is-available-for-testing/24927 "2017-07-07T17:40:15Z")

</div>

Hi all, we’re happy to announce that Ansible 2.3.2 RC2 is available for testing. Going forward, a list of fixes can be found in the CHANGELOG here: https://github.com/ansible/ansible/blob/v2.3.2.0-0.2.rc2/CHANGELOG.md#…

---

## [Problem - Two route tables were created with one marked as the main with no subnets associated with it](https://forum.ansible.com/t/problem-two-route-tables-were-created-with-one-marked-as-the-main-with-no-subnets-associated-with-it/24925)

<div class="topic-metadata">

**Author:** [@wcloud7](https://forum.ansible.com/u/wcloud7)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 2:35pm UTC](https://forum.ansible.com/t/problem-two-route-tables-were-created-with-one-marked-as-the-main-with-no-subnets-associated-with-it/24925 "2017-07-07T14:35:29Z")

</div>

When I tried to create a route table via my playbook, two route tables were created. The main route table has 0 explicitly associated subnets while all the three subnets in this case are associated with the route table m…

---

## [How to do parameterized ansible-variable attribute-lookups?](https://forum.ansible.com/t/how-to-do-parameterized-ansible-variable-attribute-lookups/24924)

<div class="topic-metadata">

**Author:** [@moe\_22](https://forum.ansible.com/u/moe_22)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 1:03pm UTC](https://forum.ansible.com/t/how-to-do-parameterized-ansible-variable-attribute-lookups/24924 "2017-07-07T13:03:38Z")

</div>

This is best explained by this simple example:

---

## [How to run a task on a specific host which is not part of the hosts scope for the playbook?](https://forum.ansible.com/t/how-to-run-a-task-on-a-specific-host-which-is-not-part-of-the-hosts-scope-for-the-playbook/24909)

<div class="topic-metadata">

**Author:** [@Rasmus\_Sjorslev](https://forum.ansible.com/u/Rasmus_Sjorslev)\
**Replies:** 2\
**Last updated:** [July 7, 2017, 12:33pm UTC](https://forum.ansible.com/t/how-to-run-a-task-on-a-specific-host-which-is-not-part-of-the-hosts-scope-for-the-playbook/24909 "2017-07-07T12:33:22Z")

</div>

What i am trying to achieve: I have a playbook that provisions some virtual machines by running a role:

---

## [Add user to administrators or administrateurs group](https://forum.ansible.com/t/add-user-to-administrators-or-administrateurs-group/24921)

<div class="topic-metadata">

**Author:** [@fanchfanch44](https://forum.ansible.com/u/fanchfanch44)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 12:05pm UTC](https://forum.ansible.com/t/add-user-to-administrators-or-administrateurs-group/24921 "2017-07-07T12:05:45Z")

</div>

Hello, I would like to create a playbook that adds a user to the “administrators” group. his action is simple and is an example. But my problem is that I have servers in FR and the group is not “administrators” but “ad…

---

## [backward incompatible change in module find in ansible 2.3](https://forum.ansible.com/t/backward-incompatible-change-in-module-find-in-ansible-2-3/24910)

<div class="topic-metadata">

**Author:** [@Renaud\_Michel](https://forum.ansible.com/u/Renaud_Michel)\
**Replies:** 2\
**Last updated:** [July 7, 2017, 10:43am UTC](https://forum.ansible.com/t/backward-incompatible-change-in-module-find-in-ansible-2-3/24910 "2017-07-07T10:43:44Z")

</div>

Hello Thought I should mention this somewhere, there has been an incompatible change in the find module in ansible 2.3, which is not mentioned in the changelog (or I didn't understand it). Until ansible 2.2, the file…

---

## [Ansible with windows server 2008 r2 sp1 - sysprep](https://forum.ansible.com/t/ansible-with-windows-server-2008-r2-sp1-sysprep/24913)

<div class="topic-metadata">

**Author:** [@Fernando\_Henrique\_Bo](https://forum.ansible.com/u/Fernando_Henrique_Bo)\
**Replies:** 1\
**Last updated:** [July 7, 2017, 10:08am UTC](https://forum.ansible.com/t/ansible-with-windows-server-2008-r2-sp1-sysprep/24913 "2017-07-07T10:08:42Z")

</div>

Hi. I deployed one VM (Vcenter Server/ESXi 5.5.0) from windows server 2008 r2 template using ansible playbook. Now I 'd like to initialize it, but the vm is configured with sysprep, When the ansible start the vm, it st…

---

## [Ansible customization on vmware environment](https://forum.ansible.com/t/ansible-customization-on-vmware-environment/24919)

<div class="topic-metadata">

**Author:** [@Alessio\_Dini](https://forum.ansible.com/u/Alessio_Dini)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 8:13am UTC](https://forum.ansible.com/t/ansible-customization-on-vmware-environment/24919 "2017-07-07T08:13:25Z")

</div>

| Hello, I’m working on ansible using vmware\_guest module. Actually customer makes new vms using powercli utility leaving them: - running - with nic interfaces ( no ip, netmask, gw, etc.etc. ) - with multiple di…

---

## [AWS Ansible](https://forum.ansible.com/t/aws-ansible/24846)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 9\
**Last updated:** [July 7, 2017, 7:06am UTC](https://forum.ansible.com/t/aws-ansible/24846 "2017-07-07T07:06:26Z")

</div>

Hi Ansiblers, How can i use same playbook for multiple aws accounts, can i give the access key and secret key as command line paramters in playbook?

---

## [How to use set\_fact to set a new host fact based on when conditionals.](https://forum.ansible.com/t/how-to-use-set-fact-to-set-a-new-host-fact-based-on-when-conditionals/24907)

<div class="topic-metadata">

**Author:** [@Alex\_Lien](https://forum.ansible.com/u/Alex_Lien)\
**Replies:** 3\
**Last updated:** [July 6, 2017, 11:36pm UTC](https://forum.ansible.com/t/how-to-use-set-fact-to-set-a-new-host-fact-based-on-when-conditionals/24907 "2017-07-06T23:36:15Z")

</div>

Hi all, I am trying to set a new host fact (is\_master, is\_slave) based on comparison of a pre-assigned variable and ansible\_hostname fact. group\_vars/ master\_hostname: host1 slave\_hostname: host2 Tasks name: Set m…

---

## [Baremetal provisioning on Windows Hyper-V](https://forum.ansible.com/t/baremetal-provisioning-on-windows-hyper-v/20802)

<div class="topic-metadata">

**Author:** [@Bryn\_Ellis](https://forum.ansible.com/u/Bryn_Ellis)\
**Replies:** 17\
**Last updated:** [July 6, 2017, 9:30pm UTC](https://forum.ansible.com/t/baremetal-provisioning-on-windows-hyper-v/20802 "2017-07-06T21:30:51Z")

</div>

I’m very new to Ansible so please forgive me if I’m asking silly questions. From what we’ve tested internally it seems that ansible nicely supports provisioning of virtual machines on the VMware host. There seems to be…

---

## [Clear host errors not working as supposed - cannot retry task on unreachable host](https://forum.ansible.com/t/clear-host-errors-not-working-as-supposed-cannot-retry-task-on-unreachable-host/24916)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 4\
**Last updated:** [July 6, 2017, 9:06pm UTC](https://forum.ansible.com/t/clear-host-errors-not-working-as-supposed-cannot-retry-task-on-unreachable-host/24916 "2017-07-06T21:06:45Z")

</div>

HI al, I am running a playbook on a set of hosts of which I expect them to be offline. I want to check every 10 seconds whether they are online or not and then output a message when all is running, or another message wh…

---

## [File beat installation and configuration with Ansible](https://forum.ansible.com/t/file-beat-installation-and-configuration-with-ansible/24900)

<div class="topic-metadata">

**Author:** [@Omri](https://forum.ansible.com/u/Omri)\
**Replies:** 1\
**Last updated:** [July 6, 2017, 6:26pm UTC](https://forum.ansible.com/t/file-beat-installation-and-configuration-with-ansible/24900 "2017-07-06T18:26:40Z")

</div>

Hello, I’m writing an Ansible script that install and configure filebeat (agent of logstash). I’ve finished the installation part. Now i need to add the configuration part to the script. I pretty new with Ansible and i…

---

## [could not SSH to Cisco using CentOS](https://forum.ansible.com/t/could-not-ssh-to-cisco-using-centos/24914)

<div class="topic-metadata">

**Author:** [@Edvinas](https://forum.ansible.com/u/Edvinas)\
**Replies:** 1\
**Last updated:** [July 6, 2017, 5:20pm UTC](https://forum.ansible.com/t/could-not-ssh-to-cisco-using-centos/24914 "2017-07-06T17:20:40Z")

</div>

Hello, installed linux (CENTOS) and trying to run an ansible test ping. straight from linux box ssh cisco@172.1.1.2 works. but the “ansible -m ping all” doesnt. Maybe it’s clear where could be a problem from this out…

---

## [Specifying ssh key for delegate\_to target](https://forum.ansible.com/t/specifying-ssh-key-for-delegate-to-target/24915)

<div class="topic-metadata">

**Author:** [@Gin](https://forum.ansible.com/u/Gin)\
**Replies:** 0\
**Last updated:** [July 6, 2017, 4:03pm UTC](https://forum.ansible.com/t/specifying-ssh-key-for-delegate-to-target/24915 "2017-07-06T16:03:09Z")

</div>

Hi, I am trying to provision a couple of hosts: \` \[masters\] master-1 \[nodes\] node-1 \` Each host has an individual private key used to ssh to that particular server. I define ansible\_ssh\_private\_key\_file and store…

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

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