# Latest

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

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

**Page:** 744

---

## [variables passed to modules getting escaped](https://forum.ansible.com/t/variables-passed-to-modules-getting-escaped/22028)

<div class="topic-metadata">

**Author:** [@Philippe\_Kueck](https://forum.ansible.com/u/Philippe_Kueck)\
**Replies:** 0\
**Last updated:** [July 15, 2016, 9:48am UTC](https://forum.ansible.com/t/variables-passed-to-modules-getting-escaped/22028 "2016-07-15T09:48:38Z")

</div>

Hi, I'm writing some modules/libraries for ansible (2.1.0.0) and was wondering why variables are getting escaped and whether or not this is an intended behaviour. Let's have a simple example: # testmodule #!/bin/s…

---

## [Feature Request: Option "gid" for user module](https://forum.ansible.com/t/feature-request-option-gid-for-user-module/22027)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 0\
**Last updated:** [July 15, 2016, 8:22am UTC](https://forum.ansible.com/t/feature-request-option-gid-for-user-module/22027 "2016-07-15T08:22:37Z")

</div>

Hi, in the core module user I could specify the user id with the option “uid”. The primary group instead could only be set by name. I like to have the option to specify the primary group by “gid” as well. The possibill…

---

## [Do no send .git directory with git module](https://forum.ansible.com/t/do-no-send-git-directory-with-git-module/15433)

<div class="topic-metadata">

**Author:** [@Renan\_Aguiar](https://forum.ansible.com/u/Renan_Aguiar)\
**Replies:** 3\
**Last updated:** [July 15, 2016, 5:58am UTC](https://forum.ansible.com/t/do-no-send-git-directory-with-git-module/15433 "2016-07-15T05:58:24Z")

</div>

i’m new to ansible and I’m doing a simple test deployment. Everything works fine. My problem is related to git module deploying the .git directory to server. I don’t want this. My playbook is simple

---

## [Very simple task works on Ansible 2.0, but not on Ansible 2.1.](https://forum.ansible.com/t/very-simple-task-works-on-ansible-2-0-but-not-on-ansible-2-1/22022)

<div class="topic-metadata">

**Author:** [@Thiago\_Martins](https://forum.ansible.com/u/Thiago_Martins)\
**Replies:** 1\
**Last updated:** [July 15, 2016, 2:54am UTC](https://forum.ansible.com/t/very-simple-task-works-on-ansible-2-0-but-not-on-ansible-2-1/22022 "2016-07-15T02:54:57Z")

</div>

Guys, I have a very simple task that works on Ansible 2.0 (both first and subsequent runs) but, doesn’t work on Ansible 2.1 (only subsequent runs fails, first run also works on 2.1), as follows: My group\_vars/all have: …

---

## [Role directory path variable](https://forum.ansible.com/t/role-directory-path-variable/22010)

<div class="topic-metadata">

**Author:** [@neubyr](https://forum.ansible.com/u/neubyr)\
**Replies:** 4\
**Last updated:** [July 14, 2016, 9:20pm UTC](https://forum.ansible.com/t/role-directory-path-variable/22010 "2016-07-14T21:20:04Z")

</div>

I am wondering if there is any recommended approach for passing filename paths across roles. As an example, take a look at https://bitbucket.org/neubyr/ansible-example/src repository. There are two roles myapp and webse…

---

## [dynamically generated inventory (add\_host) and playbook failures](https://forum.ansible.com/t/dynamically-generated-inventory-add-host-and-playbook-failures/22018)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 2\
**Last updated:** [July 14, 2016, 9:06pm UTC](https://forum.ansible.com/t/dynamically-generated-inventory-add-host-and-playbook-failures/22018 "2016-07-14T21:06:09Z")

</div>

I’m building a playbook for patching our servers, however I keep on getting 2016-07-14 09:30:29,186 p=55840 u=dimon | PLAY \[report\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* 2016-07-14 09:30:2…

---

## [Cannot specify volume\_size together with id or snapshot (ec2\_vol) - How to increase size while creating volume from snapshot?](https://forum.ansible.com/t/cannot-specify-volume-size-together-with-id-or-snapshot-ec2-vol-how-to-increase-size-while-creating-volume-from-snapshot/22021)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 8:22pm UTC](https://forum.ansible.com/t/cannot-specify-volume-size-together-with-id-or-snapshot-ec2-vol-how-to-increase-size-while-creating-volume-from-snapshot/22021 "2016-07-14T20:22:40Z")

</div>

I have the use case where I want to create a snapshot, make a new volume from that snapshot, but larger, and then attach the new volume to an instance. So far, I have the snapshot creation working, but the ec2\_vol modul…

---

## [EC2 slow cloud-init, Ansible SSH connection fails due to race condition (wait\_for is not good enough)](https://forum.ansible.com/t/ec2-slow-cloud-init-ansible-ssh-connection-fails-due-to-race-condition-wait-for-is-not-good-enough/20345)

<div class="topic-metadata">

**Author:** [@James\_Cuzella](https://forum.ansible.com/u/James_Cuzella)\
**Replies:** 4\
**Last updated:** [July 14, 2016, 8:16pm UTC](https://forum.ansible.com/t/ec2-slow-cloud-init-ansible-ssh-connection-fails-due-to-race-condition-wait-for-is-not-good-enough/20345 "2016-07-14T20:16:53Z")

</div>

Hello, I believe I’ve found an interesting race condition during EC2 instance creation due to a slow-running cloud-init process. The issue is that cloud-init appears to create the initial login user & installs the publi…

---

## [ec2\_snapshot module - how to get snapshot id of newly created snapshot?](https://forum.ansible.com/t/ec2-snapshot-module-how-to-get-snapshot-id-of-newly-created-snapshot/22019)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 2\
**Last updated:** [July 14, 2016, 7:46pm UTC](https://forum.ansible.com/t/ec2-snapshot-module-how-to-get-snapshot-id-of-newly-created-snapshot/22019 "2016-07-14T19:46:02Z")

</div>

I am using the ec2\_snapshot module to make a snapshot of a volume. In the next task, I want to use that new snapshot to create a new volume for a different server. How do I get the new snapshot volume id from the ec2\_sna…

---

## [Core mount module Solaris support](https://forum.ansible.com/t/core-mount-module-solaris-support/22020)

<div class="topic-metadata">

**Author:** [@Clint\_Allen](https://forum.ansible.com/u/Clint_Allen)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 7:45pm UTC](https://forum.ansible.com/t/core-mount-module-solaris-support/22020 "2016-07-14T19:45:17Z")

</div>

I have added Solaris support to the core mount module: https://github.com/clallen/ansible-modules-core/blob/devel/system/mount.py I have used it in my own playbooks and ran the module test. I would like to submit a pul…

---

## [Local repo in CentOs7 using Ansible](https://forum.ansible.com/t/local-repo-in-centos7-using-ansible/22001)

<div class="topic-metadata">

**Author:** [@Hariprasad\_S](https://forum.ansible.com/u/Hariprasad_S)\
**Replies:** 1\
**Last updated:** [July 14, 2016, 7:31pm UTC](https://forum.ansible.com/t/local-repo-in-centos7-using-ansible/22001 "2016-07-14T19:31:51Z")

</div>

Hi All, I’m pretty new to Ansible. Have started working on Ansible about a week back. I have given a task to create a local repo using ansible in CentOs system. This is my yaml file:

---

## [Cant ping nodes via ssh](https://forum.ansible.com/t/cant-ping-nodes-via-ssh/21994)

<div class="topic-metadata">

**Author:** [@Jorgen\_Hoyer](https://forum.ansible.com/u/Jorgen_Hoyer)\
**Replies:** 2\
**Last updated:** [July 14, 2016, 7:29pm UTC](https://forum.ansible.com/t/cant-ping-nodes-via-ssh/21994 "2016-07-14T19:29:48Z")

</div>

I’m trying to set upp ansible for a project with multiple Raspberry Pi’s. I created sshkey’s and copied them to my test node. I also made a host list. When i try to ping (ansible all -m ping) the node i keep getting the …

---

## [Roles search path in 2.1 vs 1.9.4](https://forum.ansible.com/t/roles-search-path-in-2-1-vs-1-9-4/22009)

<div class="topic-metadata">

**Author:** [@jpeacock](https://forum.ansible.com/u/jpeacock)\
**Replies:** 1\
**Last updated:** [July 14, 2016, 7:23pm UTC](https://forum.ansible.com/t/roles-search-path-in-2-1-vs-1-9-4/22009 "2016-07-14T19:23:26Z")

</div>

I have an environment where we have multiple roles with the same name that vary depending on the environment they install in (don’t bother complaining about this). Some roles are common no matter which environment they a…

---

## [OpenSSL (Private Keys, CSR, Certificates) management - Request for feedbacks](https://forum.ansible.com/t/openssl-private-keys-csr-certificates-management-request-for-feedbacks/21605)

<div class="topic-metadata">

**Author:** [@Yanis\_Guenane](https://forum.ansible.com/u/Yanis_Guenane)\
**Replies:** 1\
**Last updated:** [July 14, 2016, 2:33pm UTC](https://forum.ansible.com/t/openssl-private-keys-csr-certificates-management-request-for-feedbacks/21605 "2016-07-14T14:33:53Z")

</div>

Hello the Ansible Community, After looking into ansible-modules-core\[1\] and ansible-modules-extras\[2\], I’ve seen no current modules for managing OpenSSL private keys, certificate signing requests and certificates. He…

---

## [Executing similar task on group of servers with different parameter](https://forum.ansible.com/t/executing-similar-task-on-group-of-servers-with-different-parameter/22016)

<div class="topic-metadata">

**Author:** [@Gurumurti\_Maharana](https://forum.ansible.com/u/Gurumurti_Maharana)\
**Replies:** 2\
**Last updated:** [July 14, 2016, 2:18pm UTC](https://forum.ansible.com/t/executing-similar-task-on-group-of-servers-with-different-parameter/22016 "2016-07-14T14:18:54Z")

</div>

Hi All , I need to execute same task parallelly of multiple hosts with different arguments based on host machine. for example: I want to install specific webservice service with id web1 , web2 web3 etc. I have create…

---

## [Ansible 1.9 set\_fact and multiple vars?](https://forum.ansible.com/t/ansible-1-9-set-fact-and-multiple-vars/21993)

<div class="topic-metadata">

**Author:** [@jvanns.ilm](https://forum.ansible.com/u/jvanns.ilm)\
**Replies:** 1\
**Last updated:** [July 14, 2016, 1:39pm UTC](https://forum.ansible.com/t/ansible-1-9-set-fact-and-multiple-vars/21993 "2016-07-14T13:39:22Z")

</div>

Hi, I’m attempting to define a variable for use with set\_fact and then refer to it again when defining another variable. Is this possible/supported? Eg. name: Attempt to store host name in a temporary dictionary set\_f…

---

## [ansible-playbook fail with --ask-become-pass module to hp-ux](https://forum.ansible.com/t/ansible-playbook-fail-with-ask-become-pass-module-to-hp-ux/22015)

<div class="topic-metadata">

**Author:** [@Jesus\_Vidal](https://forum.ansible.com/u/Jesus_Vidal)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 10:57am UTC](https://forum.ansible.com/t/ansible-playbook-fail-with-ask-become-pass-module-to-hp-ux/22015 "2016-07-14T10:57:24Z")

</div>

I’ve create a simple playbook to test connectivity from my ansible server to an hp-ux with --ask-become-pass module, and seem not to work. What I can see follows: The playbook is: ansible/playbooks $ cat TPAM.yml

---

## [ansible-playbook with --ask-become-pass in hp-ux](https://forum.ansible.com/t/ansible-playbook-with-ask-become-pass-in-hp-ux/22014)

<div class="topic-metadata">

**Author:** [@Jesus\_Vidal](https://forum.ansible.com/u/Jesus_Vidal)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 10:29am UTC](https://forum.ansible.com/t/ansible-playbook-with-ask-become-pass-in-hp-ux/22014 "2016-07-14T10:29:42Z")

</div>

I’ve create a simple playbook to test connectivity from my ansible server to an hp-ux with --ask-become-pass module, and seem not to work. What I can see follows: The playbook is: ansible/playbooks $ cat TPAM.yml

---

## [problem about include statement and host queue](https://forum.ansible.com/t/problem-about-include-statement-and-host-queue/22013)

<div class="topic-metadata">

**Author:** [@stillfox.lee](https://forum.ansible.com/u/stillfox.lee)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 8:45am UTC](https://forum.ansible.com/t/problem-about-include-statement-and-host-queue/22013 "2016-07-14T08:45:13Z")

</div>

I use include in my playbook, but it influenced host queue.Here is the problem: I got a playbook like this: \` name: Init base system env hosts: all gather\_facts: yes sudo: yes vars\_files: secrets.yml roles: syst…

---

## [Create jira issue in ansible](https://forum.ansible.com/t/create-jira-issue-in-ansible/22007)

<div class="topic-metadata">

**Author:** [@Ivo\_Hechmann](https://forum.ansible.com/u/Ivo_Hechmann)\
**Replies:** 2\
**Last updated:** [July 14, 2016, 7:49am UTC](https://forum.ansible.com/t/create-jira-issue-in-ansible/22007 "2016-07-14T07:49:39Z")

</div>

Hello Team ansible. Since upgrade to 2.1.0.0, I cannot use the jira module anymore. Error message is “fatal: \[hostname\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “dictionary update sequence element #0 has l…

---

## [How to modify the Ansible-galaxy timeout while installing roles from git](https://forum.ansible.com/t/how-to-modify-the-ansible-galaxy-timeout-while-installing-roles-from-git/22012)

<div class="topic-metadata">

**Author:** [@Sharath\_Arakere](https://forum.ansible.com/u/Sharath_Arakere)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 5:42am UTC](https://forum.ansible.com/t/how-to-modify-the-ansible-galaxy-timeout-while-installing-roles-from-git/22012 "2016-07-14T05:42:16Z")

</div>

down votefavorite | I have a little heavy Ansible role in Git which I am trying to install in my local using ansible-galaxy but I am getting CRC check failed error may be because connection is timing out while d…

---

## [\[Ansible container\] Question about a use case](https://forum.ansible.com/t/ansible-container-question-about-a-use-case/22000)

<div class="topic-metadata">

**Author:** [@Hristo\_Stoyanov](https://forum.ansible.com/u/Hristo_Stoyanov)\
**Replies:** 2\
**Last updated:** [July 13, 2016, 9:49pm UTC](https://forum.ansible.com/t/ansible-container-question-about-a-use-case/22000 "2016-07-13T21:49:06Z")

</div>

In the new Ansible Container readme, there is this use case: Many people use Docker for development environments only but then use Ansible playbooks to push out to staging or production. This allows you to use the sam…

---

## [Cisco Modules](https://forum.ansible.com/t/cisco-modules/20990)

<div class="topic-metadata">

**Author:** [@Roger\_Gomez](https://forum.ansible.com/u/Roger_Gomez)\
**Replies:** 1\
**Last updated:** [July 13, 2016, 8:29pm UTC](https://forum.ansible.com/t/cisco-modules/20990 "2016-07-13T20:29:35Z")

</div>

Normally when we use regular plays, we define a group of hosts and all the tasks in the playbook are executed in the list of hosts defined. For the case of the Cisco modules we need an additional host inside each module …

---

## [install guest OS using virt module](https://forum.ansible.com/t/install-guest-os-using-virt-module/21998)

<div class="topic-metadata">

**Author:** [@Kai1](https://forum.ansible.com/u/Kai1)\
**Replies:** 4\
**Last updated:** [July 13, 2016, 2:22pm UTC](https://forum.ansible.com/t/install-guest-os-using-virt-module/21998 "2016-07-13T14:22:40Z")

</div>

Dear all! Does a kind soul have a pointer for me to a more detailed documentation of the virt module or of handling libvirt VMs in general? I can define a VM, I should be able to start/stop it. What I didn't figure o…

---

## [callback plugin api; are there changes between v2.0 and v.2.1.1?](https://forum.ansible.com/t/callback-plugin-api-are-there-changes-between-v2-0-and-v-2-1-1/21830)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [July 13, 2016, 2:01pm UTC](https://forum.ansible.com/t/callback-plugin-api-are-there-changes-between-v2-0-and-v-2-1-1/21830 "2016-07-13T14:01:58Z")

</div>

Hi, I’ve been testing with ansible 2.1.1 rc1 this week and have hit a problem with my custom callback plugin (that gets kerberos tickets for connecting to windows hosts). The callback code is here: https://github.com/j…

---

## [Module within role (library) not found/executed](https://forum.ansible.com/t/module-within-role-library-not-found-executed/22008)

<div class="topic-metadata">

**Author:** [@Sirk\_Johannsen](https://forum.ansible.com/u/Sirk_Johannsen)\
**Replies:** 1\
**Last updated:** [July 13, 2016, 1:59pm UTC](https://forum.ansible.com/t/module-within-role-library-not-found-executed/22008 "2016-07-13T13:59:08Z")

</div>

Hi all, Ansible Version 2.1.0 installed via pip I have a strange problem with a module in a roles library path. This is the structure: \` roles/elasticsearch/ roles/elasticsearch/library/ roles/elasticsearch/librar…

---

## [Ansible  2.2 import MD5 issue](https://forum.ansible.com/t/ansible-2-2-import-md5-issue/21995)

<div class="topic-metadata">

**Author:** [@Amanda\_Galligan](https://forum.ansible.com/u/Amanda_Galligan)\
**Replies:** 1\
**Last updated:** [July 13, 2016, 12:18pm UTC](https://forum.ansible.com/t/ansible-2-2-import-md5-issue/21995 "2016-07-13T12:18:05Z")

</div>

I’ve recently installed first Ansible 2.2 by cloning the source to my Ubuntu 14.04 host as per http://docs.ansible.com/ansible/intro\_installation.html#latest-releases-via-apt-ubuntu The install went fine after running s…

---

## [Execution order of handles in notify](https://forum.ansible.com/t/execution-order-of-handles-in-notify/22002)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 3\
**Last updated:** [July 13, 2016, 10:54am UTC](https://forum.ansible.com/t/execution-order-of-handles-in-notify/22002 "2016-07-13T10:54:50Z")

</div>

Hi, I can’t find anywhere in the documentation any mention of the task order executed under notify. Having the example from the web docs: - name: template configuration file template: src=template.j2 dest=/etc/foo.co…

---

## [Wait for Server to reboot - float object has no element](https://forum.ansible.com/t/wait-for-server-to-reboot-float-object-has-no-element/22005)

<div class="topic-metadata">

**Author:** [@Donal](https://forum.ansible.com/u/Donal)\
**Replies:** 0\
**Last updated:** [July 13, 2016, 9:50am UTC](https://forum.ansible.com/t/wait-for-server-to-reboot-float-object-has-no-element/22005 "2016-07-13T09:50:10Z")

</div>

Hi there, I’m having problems with implementing a play from this article that waits for a server to reboot and then carries on with other tasks. The playbook runs fine down to this task https://support.ansible.com/hc/e…

---

## [Error when trying to ping nodes through Ansible](https://forum.ansible.com/t/error-when-trying-to-ping-nodes-through-ansible/22003)

<div class="topic-metadata">

**Author:** [@Jorgen\_Hoyer](https://forum.ansible.com/u/Jorgen_Hoyer)\
**Replies:** 6\
**Last updated:** [July 13, 2016, 9:46am UTC](https://forum.ansible.com/t/error-when-trying-to-ping-nodes-through-ansible/22003 "2016-07-13T09:46:39Z")

</div>

My project is to set up a sensor network of several nodes. I want to use Ansible to configure all nodes through ssh, so I downloaded ansible with pip and generated a ssh keypair. I then copied the key from the master to …

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

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