# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=572

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

**Page:** 573

---

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

---

## [Enhancing win\_msi capabilities](https://forum.ansible.com/t/enhancing-win-msi-capabilities/21997)

<div class="topic-metadata">

**Author:** [@Shachaf\_Goldstein](https://forum.ansible.com/u/Shachaf_Goldstein)\
**Replies:** 1\
**Last updated:** [July 12, 2016, 10:24pm UTC](https://forum.ansible.com/t/enhancing-win-msi-capabilities/21997 "2016-07-12T22:24:32Z")

</div>

Hey, I started to use ansible to deploy an msi packaged software on our windows servers. While doing so, I came up with some ideas on how to improve the win\_msi module. Allowing the option to insert a registry key a…

---

## [parsing a nested json file](https://forum.ansible.com/t/parsing-a-nested-json-file/21984)

<div class="topic-metadata">

**Author:** [@Alix\_Ak](https://forum.ansible.com/u/Alix_Ak)\
**Replies:** 4\
**Last updated:** [July 12, 2016, 11:51am UTC](https://forum.ansible.com/t/parsing-a-nested-json-file/21984 "2016-07-12T11:51:56Z")

</div>

hallo, i have a nested json file like : { “fw1”: { “ipv4”: { “rtr”: { “ip”: “1.2.3.4”, “net”: “1.2.3.4”, } } }, “fw2”: { “ipv4”: { “rtr”: { “ip”: “4.3.2.1”, “net”: “4.3.2.1”, } } } } How could i parse…

---

## [Creating servers at Rackspace, host specification and where best to store group variables](https://forum.ansible.com/t/creating-servers-at-rackspace-host-specification-and-where-best-to-store-group-variables/21992)

<div class="topic-metadata">

**Author:** [@Dan\_Rough](https://forum.ansible.com/u/Dan_Rough)\
**Replies:** 0\
**Last updated:** [July 12, 2016, 11:02am UTC](https://forum.ansible.com/t/creating-servers-at-rackspace-host-specification-and-where-best-to-store-group-variables/21992 "2016-07-12T11:02:13Z")

</div>

Hi, We use ansible to create servers at Rackspace. We rely on rax.py to provide the inventory of the current server configuration. Currently, the play that creates the required servers this looks like this: - name: "Cr…

---

## [Setting user password via ansible module user didn't work as expected](https://forum.ansible.com/t/setting-user-password-via-ansible-module-user-didnt-work-as-expected/21853)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 2\
**Last updated:** [July 12, 2016, 8:07am UTC](https://forum.ansible.com/t/setting-user-password-via-ansible-module-user-didnt-work-as-expected/21853 "2016-07-12T08:07:38Z")

</div>

Hello, I’m very new to ansible. So, please bare with me if I ask some beginners questions. I try to set a user password using the ansible ad-hoc mode with the user-module. To generate the password has I use the python …

---

## [Error using async options when the file module is used in Ansible 2.1](https://forum.ansible.com/t/error-using-async-options-when-the-file-module-is-used-in-ansible-2-1/21991)

<div class="topic-metadata">

**Author:** [@Alfredo\_M](https://forum.ansible.com/u/Alfredo_M)\
**Replies:** 0\
**Last updated:** [July 11, 2016, 11:04pm UTC](https://forum.ansible.com/t/error-using-async-options-when-the-file-module-is-used-in-ansible-2-1/21991 "2016-07-11T23:04:10Z")

</div>

Hi all, I’m trying to run my old playbooks (they work on Ansible 1.9) that have some async tasks in Ansible 2.1. The resources involved in the issue are in http://pastie.org/private/o5obpof0vcmtukefprzeq If I run the p…

---

## [Looping over a list to use with with\_fileglob](https://forum.ansible.com/t/looping-over-a-list-to-use-with-with-fileglob/21990)

<div class="topic-metadata">

**Author:** [@Nick\_Tran](https://forum.ansible.com/u/Nick_Tran)\
**Replies:** 0\
**Last updated:** [July 11, 2016, 10:27pm UTC](https://forum.ansible.com/t/looping-over-a-list-to-use-with-with-fileglob/21990 "2016-07-11T22:27:26Z")

</div>

I want to loop over a hash list that will provide two items. The file glob the destination Is this possible via some sort of nested loop and with\_fileglob? The list would look something like below, and I’m hoping a s…

---

## [on/off playooks for lots of resources w/o repeating them (minimal redundancy)](https://forum.ansible.com/t/on-off-playooks-for-lots-of-resources-w-o-repeating-them-minimal-redundancy/21982)

<div class="topic-metadata">

**Author:** [@Frank\_Thommen](https://forum.ansible.com/u/Frank_Thommen)\
**Replies:** 2\
**Last updated:** [July 11, 2016, 5:41pm UTC](https://forum.ansible.com/t/on-off-playooks-for-lots-of-resources-w-o-repeating-them-minimal-redundancy/21982 "2016-07-11T17:41:36Z")

</div>

Hi, I'm currently evaluating ansible as a candidate for our future CM tool. I'm stuck with the issue, that we have "blocks" of resources (e.g. a list of around 30 NFS mounts) which we'd like to be able to switch on an…

---

## [Error while deploying open source bitcoin exchange platform that uses ansimble](https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974)

<div class="topic-metadata">

**Author:** [@Oleg\_Belousov](https://forum.ansible.com/u/Oleg_Belousov)\
**Replies:** 2\
**Last updated:** [July 11, 2016, 4:05pm UTC](https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974 "2016-07-11T16:05:58Z")

</div>

This is the line with the error: This is how the error looks like in the console: \` fatal: \[longcat.staging-testnet-txbits.com\] =\> Syntax Error while loading YAML script, /home/user/dev/TxBitsDeployer/playbook/group\_…

---

## [Server date in Ansible/J2?](https://forum.ansible.com/t/server-date-in-ansible-j2/21967)

<div class="topic-metadata">

**Author:** [@jp11](https://forum.ansible.com/u/jp11)\
**Replies:** 2\
**Last updated:** [July 11, 2016, 3:15pm UTC](https://forum.ansible.com/t/server-date-in-ansible-j2/21967 "2016-07-11T15:15:19Z")

</div>

I have what seems to be a simple question that I can't find on the web. How do I get the current date from the Ansible server into a J2 variable? I know how to do it with {{ ansible\_date\_time.date }} but that's from th…

---

## [Recommendations for use of "become" with roles](https://forum.ansible.com/t/recommendations-for-use-of-become-with-roles/21986)

<div class="topic-metadata">

**Author:** [@Paul\_Mackay](https://forum.ansible.com/u/Paul_Mackay)\
**Replies:** 0\
**Last updated:** [July 11, 2016, 2:36pm UTC](https://forum.ansible.com/t/recommendations-for-use-of-become-with-roles/21986 "2016-07-11T14:36:00Z")

</div>

Is there any best practice around the use and/or documentation of sudo/become with roles? These are the questions I’m unsure about and have not seen any related guidelines: If a role requires sudo priviledges for one …

---

## [Mark playbook execution as complete when certain file is present in remote system](https://forum.ansible.com/t/mark-playbook-execution-as-complete-when-certain-file-is-present-in-remote-system/21969)

<div class="topic-metadata">

**Author:** [@Zeal\_Vora](https://forum.ansible.com/u/Zeal_Vora)\
**Replies:** 1\
**Last updated:** [July 11, 2016, 1:58pm UTC](https://forum.ansible.com/t/mark-playbook-execution-as-complete-when-certain-file-is-present-in-remote-system/21969 "2016-07-11T13:58:04Z")

</div>

Hi We are planning to run our infrastructure on Ansible Pull Mode so all the host machines will keep on polling every few minutes. In a single outside.yml file, we will have around 8 playbooks. I want to mark a specif…

---

## [handler invoked from role is not called](https://forum.ansible.com/t/handler-invoked-from-role-is-not-called/21973)

<div class="topic-metadata">

**Author:** [@Szabolcs\_Szallar](https://forum.ansible.com/u/Szabolcs_Szallar)\
**Replies:** 1\
**Last updated:** [July 11, 2016, 1:38pm UTC](https://forum.ansible.com/t/handler-invoked-from-role-is-not-called/21973 "2016-07-11T13:38:23Z")

</div>

hi, If I use the handler incorrectly, please let me know. I’m using Ansible a quiet while and recently migrated from 1.9 to 2.1.0.0. My target host is CentOS 6.5 I try to follow the documentation, but can’t make the …

---

## [Accessing environment variables created inside shell task](https://forum.ansible.com/t/accessing-environment-variables-created-inside-shell-task/20380)

<div class="topic-metadata">

**Author:** [@PixelDrift.NET\_Sam](https://forum.ansible.com/u/PixelDrift.NET_Sam)\
**Replies:** 5\
**Last updated:** [July 11, 2016, 11:51am UTC](https://forum.ansible.com/t/accessing-environment-variables-created-inside-shell-task/20380 "2016-07-11T11:51:48Z")

</div>

I am currently working through replacing a legacy orchestration tool with Ansible while maintaining the existing orchestration scripts in place. I have hit an interesting problem with environment variables that I haven’t…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=571)

[Next page](https://forum.ansible.com/c/archives/31.md?page=573)
