# Latest

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

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

**Page:** 893

---

## [Create an ec2 instance failed with ec2: error: unrecognized arguments](https://forum.ansible.com/t/create-an-ec2-instance-failed-with-ec2-error-unrecognized-arguments/17583)

<div class="topic-metadata">

**Author:** [@Xin\_Yi](https://forum.ansible.com/u/Xin_Yi)\
**Replies:** 1\
**Last updated:** [February 21, 2015, 7:21pm UTC](https://forum.ansible.com/t/create-an-ec2-instance-failed-with-ec2-error-unrecognized-arguments/17583 "2015-02-21T19:21:00Z")

</div>

I am a newbie to the ansible world. I followed your blog, https://djaodjin.com/blog/deploying-on-ec2-with-ansible.blog.html, to create a security group and an ec2 instance. The security group is created successfully, but…

---

## [Ansible 1.8.4 Released](https://forum.ansible.com/t/ansible-1-8-4-released/17568)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 5\
**Last updated:** [February 21, 2015, 6:11pm UTC](https://forum.ansible.com/t/ansible-1-8-4-released/17568 "2015-02-21T18:11:36Z")

</div>

Hi all, Ansible 1.8.4 has been released and is now available. This releases fixes two regressions in modules (ec2 and mount) introduced by the 1.8.3 release. This update is available via PyPi and releases.ansible.com n…

---

## [Ansible and name resolution](https://forum.ansible.com/t/ansible-and-name-resolution/17560)

<div class="topic-metadata">

**Author:** [@Charles\_Brown](https://forum.ansible.com/u/Charles_Brown)\
**Replies:** 5\
**Last updated:** [February 21, 2015, 1:43pm UTC](https://forum.ansible.com/t/ansible-and-name-resolution/17560 "2015-02-21T13:43:09Z")

</div>

Hello, How do I perform name-to-IP lookups form within ansible YAML? Or even better, a Jinja template? Thanks.

---

## [Playbook retry support](https://forum.ansible.com/t/playbook-retry-support/17585)

<div class="topic-metadata">

**Author:** [@Huy\_Le](https://forum.ansible.com/u/Huy_Le)\
**Replies:** 2\
**Last updated:** [February 21, 2015, 12:17am UTC](https://forum.ansible.com/t/playbook-retry-support/17585 "2015-02-21T00:17:49Z")

</div>

I am thinking of adding support to retry failed hosts in ansible-playbook cli. Is there any reason why we should not support that? Huy

---

## [Create EC2 instance by ansible with ec2: error: unrecognized arguments](https://forum.ansible.com/t/create-ec2-instance-by-ansible-with-ec2-error-unrecognized-arguments/17582)

<div class="topic-metadata">

**Author:** [@Xin\_Yi](https://forum.ansible.com/u/Xin_Yi)\
**Replies:** 0\
**Last updated:** [February 20, 2015, 8:00pm UTC](https://forum.ansible.com/t/create-ec2-instance-by-ansible-with-ec2-error-unrecognized-arguments/17582 "2015-02-20T20:00:57Z")

</div>

I am newbie to the ansible and follows, Deploying on EC2 with Ansible | DjaoDjin, to create a security group and an ec2 instance. The security group is created successfully, but creating ec2 instance is failed by ec2: er…

---

## [Using variable in hosts group name](https://forum.ansible.com/t/using-variable-in-hosts-group-name/17573)

<div class="topic-metadata">

**Author:** [@bumelant](https://forum.ansible.com/u/bumelant)\
**Replies:** 3\
**Last updated:** [February 20, 2015, 6:23pm UTC](https://forum.ansible.com/t/using-variable-in-hosts-group-name/17573 "2015-02-20T18:23:54Z")

</div>

Hi everyone, Is it possible to use variables in hosts: name, like so: name: This does not work hosts: “security\_group\_{{ cluster\_name }}” roles: my-cluster The variable {{ cluster\_name }} is defined in my-cluster v…

---

## [Idea: --list-tasks show task's tags](https://forum.ansible.com/t/idea-list-tasks-show-tasks-tags/17578)

<div class="topic-metadata">

**Author:** [@Leonel\_Galan\_Recinos](https://forum.ansible.com/u/Leonel_Galan_Recinos)\
**Replies:** 2\
**Last updated:** [February 20, 2015, 6:00pm UTC](https://forum.ansible.com/t/idea-list-tasks-show-tasks-tags/17578 "2015-02-20T18:00:30Z")

</div>

I’ve been learning Ansible in the last couple of months and when using roles from Ansible Galaxy, it’s hard to know which tags each tasks has. I’ve search and couldn’t find a way to show all tags a task has, when listing…

---

## [Template Calls List of Variables to Build Config](https://forum.ansible.com/t/template-calls-list-of-variables-to-build-config/17576)

<div class="topic-metadata">

**Author:** [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Replies:** 1\
**Last updated:** [February 20, 2015, 3:33pm UTC](https://forum.ansible.com/t/template-calls-list-of-variables-to-build-config/17576 "2015-02-20T15:33:58Z")

</div>

I’m trying to simplify a DNS sinkhole configuration with Ansible. Ultimately what I’d like is a file full of domains (potentially hundreds). I’d then like a template that has one line that iterates through the list of do…

---

## [tasks, roles and modules: how best to compose functionality?](https://forum.ansible.com/t/tasks-roles-and-modules-how-best-to-compose-functionality/17572)

<div class="topic-metadata">

**Author:** [@nrser](https://forum.ansible.com/u/nrser)\
**Replies:** 1\
**Last updated:** [February 20, 2015, 2:54pm UTC](https://forum.ansible.com/t/tasks-roles-and-modules-how-best-to-compose-functionality/17572 "2015-02-20T14:54:08Z")

</div>

i’m just getting started with Ansible, and would appreciate some help on how best to compose functionality with tasks, roles and modules. i’m thinking of a basic structure that i imagine is somewhat common, where hos…

---

## [does the core git module always make remote request?](https://forum.ansible.com/t/does-the-core-git-module-always-make-remote-request/17547)

<div class="topic-metadata">

**Author:** [@nrser](https://forum.ansible.com/u/nrser)\
**Replies:** 5\
**Last updated:** [February 20, 2015, 2:52pm UTC](https://forum.ansible.com/t/does-the-core-git-module-always-make-remote-request/17547 "2015-02-20T14:52:12Z")

</div>

hey everyone, i just got started with ansible today and have a question about the core git module - does it always make remote requests when a repo is specified, even when it’s in the desired state? i ask because ansibl…

---

## [Looping over 3 set of values and using each combination](https://forum.ansible.com/t/looping-over-3-set-of-values-and-using-each-combination/17575)

<div class="topic-metadata">

**Author:** [@Sebastian\_Gottschkes](https://forum.ansible.com/u/Sebastian_Gottschkes)\
**Replies:** 2\
**Last updated:** [February 20, 2015, 2:17pm UTC](https://forum.ansible.com/t/looping-over-3-set-of-values-and-using-each-combination/17575 "2015-02-20T14:17:54Z")

</div>

Hi, sorry for the title, it’s hard to describe in a short sentence. I need to use the acl module on all combination of 3 entities, 2 etypes and 2 names (dirs). Here is what I am doing right now (take a look at task “s…

---

## [problem when evaluating conditional](https://forum.ansible.com/t/problem-when-evaluating-conditional/17574)

<div class="topic-metadata">

**Author:** [@Pablo\_Escobar](https://forum.ansible.com/u/Pablo_Escobar)\
**Replies:** 2\
**Last updated:** [February 20, 2015, 1:38pm UTC](https://forum.ansible.com/t/problem-when-evaluating-conditional/17574 "2015-02-20T13:38:41Z")

</div>

Hi all, I have tried to execute these tasks inside a bigger playbook: name: Check if piwik folder already exists stat: path={{ item.documentroot }}/piwik/index.php with\_items: apache\_vhosts register: piwik\_files …

---

## [flexible hosts value with ansible-playbook?](https://forum.ansible.com/t/flexible-hosts-value-with-ansible-playbook/17570)

<div class="topic-metadata">

**Author:** [@rblists](https://forum.ansible.com/u/rblists)\
**Replies:** 1\
**Last updated:** [February 20, 2015, 1:03pm UTC](https://forum.ansible.com/t/flexible-hosts-value-with-ansible-playbook/17570 "2015-02-20T13:03:41Z")

</div>

Hi, I have a simple playbook to install packages on my servers/virtual machines. The package name to install is a variable, with prompt if needed. As a default behaviour I want it to install the package on all servers…

---

## [AttributeError: 'NoneType' object has no attribute 'group'](https://forum.ansible.com/t/attributeerror-nonetype-object-has-no-attribute-group/17565)

<div class="topic-metadata">

**Author:** [@shoquoot](https://forum.ansible.com/u/shoquoot)\
**Replies:** 1\
**Last updated:** [February 20, 2015, 12:44pm UTC](https://forum.ansible.com/t/attributeerror-nonetype-object-has-no-attribute-group/17565 "2015-02-20T12:44:45Z")

</div>

Hi, I use Ansible to manage my servers. One of my hosts can’t be managed by Ansible, I get an error but he’s configured like some other servers : Hosts file /etc/ansible/hosts : \[test\] ns1 ansible\_ssh\_port=2222 ns…

---

## [Cannot use variable for specifying role](https://forum.ansible.com/t/cannot-use-variable-for-specifying-role/17571)

<div class="topic-metadata">

**Author:** [@Abdullah\_Al\_Nahian](https://forum.ansible.com/u/Abdullah_Al_Nahian)\
**Replies:** 0\
**Last updated:** [February 20, 2015, 10:24am UTC](https://forum.ansible.com/t/cannot-use-variable-for-specifying-role/17571 "2015-02-20T10:24:28Z")

</div>

Previously, I was using variable to locate role so that I can execute different role based on variables i pass through command line argument and using variable file. In my playbook, \` roles: build\_init plugins “{{re…

---

## [ansible inconsistant behavor](https://forum.ansible.com/t/ansible-inconsistant-behavor/17562)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 2\
**Last updated:** [February 20, 2015, 10:12am UTC](https://forum.ansible.com/t/ansible-inconsistant-behavor/17562 "2015-02-20T10:12:50Z")

</div>

Hi, I’ve got following issues to rum yum module on compute node CentOS 6.5, some node (compute0) could not install sssd (but can install other packages), and some node (compute1) can install without any issues. When I w…

---

## [ec2\_vol create dynamic number](https://forum.ansible.com/t/ec2-vol-create-dynamic-number/17554)

<div class="topic-metadata">

**Author:** [@Mark\_Olliver1](https://forum.ansible.com/u/Mark_Olliver1)\
**Replies:** 1\
**Last updated:** [February 20, 2015, 10:11am UTC](https://forum.ansible.com/t/ec2-vol-create-dynamic-number/17554 "2015-02-20T10:11:05Z")

</div>

Hi, How can I extend the following code to allow me to specify a number of additional volumes to add? name: create ec2 vols for raid local\_action: ec2\_vol instance=“{{ item\[0\].id }}” volume\_size=“{{ md\_vol\_size }}” …

---

## [SSH connections on VPS while running ansible](https://forum.ansible.com/t/ssh-connections-on-vps-while-running-ansible/17569)

<div class="topic-metadata">

**Author:** [@Dominick\_Rivard](https://forum.ansible.com/u/Dominick_Rivard)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 10:47pm UTC](https://forum.ansible.com/t/ssh-connections-on-vps-while-running-ansible/17569 "2015-02-19T22:47:52Z")

</div>

Hi, I am using ansible 1.8.4 to automate my development environment and I got a bit of a situation here that I can’t explain. In my playbook I create some folders where I host my projects files. Once the directories a…

---

## [Ansible 1.8.3 Released](https://forum.ansible.com/t/ansible-1-8-3-released/17539)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 5\
**Last updated:** [February 19, 2015, 4:10pm UTC](https://forum.ansible.com/t/ansible-1-8-3-released/17539 "2015-02-19T16:10:46Z")

</div>

Hi all, Ansible 1.8.3 has been released and is now available. This releases fixes one security bug (temp files created when using “ansible-vault view ” are not created with a secure umask), as well as including fixes fo…

---

## [rpm does not update to latest on SLES machine](https://forum.ansible.com/t/rpm-does-not-update-to-latest-on-sles-machine/17524)

<div class="topic-metadata">

**Author:** [@Marc\_Patermann](https://forum.ansible.com/u/Marc_Patermann)\
**Replies:** 10\
**Last updated:** [February 19, 2015, 1:50pm UTC](https://forum.ansible.com/t/rpm-does-not-update-to-latest-on-sles-machine/17524 "2015-02-19T13:50:52Z")

</div>

Hi, this is about ansible 1.6.1 on and with SLES machines. I build newer versions of openldap in the SuSE Build Service. 2.4.39 is installed on the SLES 11 SP 3 machine. # rpm -qa | grep openldap openldap2-2.4.39-0 …

---

## [special dict hostvars](https://forum.ansible.com/t/special-dict-hostvars/17556)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 8\
**Last updated:** [February 19, 2015, 1:10pm UTC](https://forum.ansible.com/t/special-dict-hostvars/17556 "2015-02-19T13:10:54Z")

</div>

Hi, We’re used to do things like hostvars\[inventory\_hostname\].somevar Now, I wanted to debug someting and did ansible all -m debug -a var=hostvars I expected this to return something like { ‘hostvars’: ‘host1’: ‘…

---

## [header without "=" sign in uri command](https://forum.ansible.com/t/header-without-sign-in-uri-command/17567)

<div class="topic-metadata">

**Author:** [@Behdad\_Forghani](https://forum.ansible.com/u/Behdad_Forghani)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 12:20pm UTC](https://forum.ansible.com/t/header-without-sign-in-uri-command/17567 "2015-02-19T12:20:36Z")

</div>

Hi, I am trying to automate deployment of ambari cluster with Ansible and I do not seem to be able to get the POST method working. The command that I use with curl is: curl --user admin:admin -H ‘X-Requested-By:exapac…

---

## [altering existing security group](https://forum.ansible.com/t/altering-existing-security-group/17566)

<div class="topic-metadata">

**Author:** [@pawel.kaminski](https://forum.ansible.com/u/pawel.kaminski)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 11:29am UTC](https://forum.ansible.com/t/altering-existing-security-group/17566 "2015-02-19T11:29:47Z")

</div>

hi, I am creating sec group (lets call it A\_SEC) using ec2\_group and this works fine. I need (later) to change existing sec group (B\_SEC) and add rules to grant access to whatever is using A\_SEC. I cannot do this using…

---

## [Ansible on iPhone](https://forum.ansible.com/t/ansible-on-iphone/17552)

<div class="topic-metadata">

**Author:** [@Artem\_Grebenkin](https://forum.ansible.com/u/Artem_Grebenkin)\
**Replies:** 2\
**Last updated:** [February 19, 2015, 7:59am UTC](https://forum.ansible.com/t/ansible-on-iphone/17552 "2015-02-19T07:59:15Z")

</div>

Hi folks, an iPhone has apt-get, so I’d like to configure them with Ansible using condition when: ansible\_os\_family == ‘iOs’ or something like that. How can I extend Ansible so it sets ‘iOs’ value in ansible\_os\_family? …

---

## [Configure iPhone with Ansible](https://forum.ansible.com/t/configure-iphone-with-ansible/17564)

<div class="topic-metadata">

**Author:** [@Artem\_Grebenkin](https://forum.ansible.com/u/Artem_Grebenkin)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 7:56am UTC](https://forum.ansible.com/t/configure-iphone-with-ansible/17564 "2015-02-19T07:56:10Z")

</div>

Hi folks, an iPhone has apt-get, so I’d like to configure them with Ansible using condition when: ansible\_os\_family == ‘iOs’ or something like that. How can I extend Ansible so it sets ‘iOs’ value in ansible\_os\_family? …

---

## [Should omit not work, for philosophical reasons, when used with prefix/postfix string data?](https://forum.ansible.com/t/should-omit-not-work-for-philosophical-reasons-when-used-with-prefix-postfix-string-data/17563)

<div class="topic-metadata">

**Author:** [@Jacob\_Case](https://forum.ansible.com/u/Jacob_Case)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 5:05am UTC](https://forum.ansible.com/t/should-omit-not-work-for-philosophical-reasons-when-used-with-prefix-postfix-string-data/17563 "2015-02-19T05:05:32Z")

</div>

Hello, In the tests for test\_good\_parsing for integration tests, there is a test that fails if any extra string data is provided with an omit, like “prefix{{ omit }}”. Is there a reason that this is a preferred behavio…

---

## [OpenStack heat template syntax](https://forum.ansible.com/t/openstack-heat-template-syntax/17541)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 2\
**Last updated:** [February 19, 2015, 4:32am UTC](https://forum.ansible.com/t/openstack-heat-template-syntax/17541 "2015-02-19T04:32:21Z")

</div>

Hi, I am using OpenStack Heat template to generate vms, does anyone know how to increase numerical index? According to the heat document, the numerical index can be used in the template: name: my\_server\_%index% How …

---

## [EC2 ELB session stickiness](https://forum.ansible.com/t/ec2-elb-session-stickiness/17540)

<div class="topic-metadata">

**Author:** [@Tom\_Bamford](https://forum.ansible.com/u/Tom_Bamford)\
**Replies:** 2\
**Last updated:** [February 19, 2015, 1:21am UTC](https://forum.ansible.com/t/ec2-elb-session-stickiness/17540 "2015-02-19T01:21:21Z")

</div>

Hi all I’d like to set session stickiness policies for my EC2 elastic load balancers, which I am creating with the ec2\_elb\_lb module. I’ve looked at https://github.com/ansible/ansible-modules-core/issues/386 and https:…

---

## [combining with\_nested: + with\_together:](https://forum.ansible.com/t/combining-with-nested-with-together/17555)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 4\
**Last updated:** [February 18, 2015, 10:02pm UTC](https://forum.ansible.com/t/combining-with-nested-with-together/17555 "2015-02-18T22:02:59Z")

</div>

Hi, I've got 3 sets of data: foo: \[ A, B, C, D, ...\] bar: \[ 1, 2 \] tra: \[ a, b \] foo should be combined with bar and tra in a nested loop, but bar and tra should loop together. something like (not actually working…

---

## [Digital ocean dynamic inventory - just plain old barely works](https://forum.ansible.com/t/digital-ocean-dynamic-inventory-just-plain-old-barely-works/17453)

<div class="topic-metadata">

**Author:** [@Ryan\_Rawson](https://forum.ansible.com/u/Ryan_Rawson)\
**Replies:** 1\
**Last updated:** [February 18, 2015, 7:51pm UTC](https://forum.ansible.com/t/digital-ocean-dynamic-inventory-just-plain-old-barely-works/17453 "2015-02-18T19:51:37Z")

</div>

So I am doing a digital ocean thing. I saw the dynamic inventory scripts and thought my problems were solved. But turns out, it only covers the simplest case and doesn’t help you further. The background here is I’m doin…

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

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