# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=236

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

**Page:** 237

---

## [Good Meraki Playbook example](https://forum.ansible.com/t/good-meraki-playbook-example/28490)

<div class="topic-metadata">

**Author:** [@Duane\_Larson](https://forum.ansible.com/u/Duane_Larson)\
**Replies:** 0\
**Last updated:** [September 2, 2018, 10:10pm UTC](https://forum.ansible.com/t/good-meraki-playbook-example/28490 "2018-09-02T22:10:14Z")

</div>

Hey, Sorry for the newbie question but I just started looking into Ansible today and from the documentation I don’t get a good idea of how I would use the Meraki modules that come with the 2.7 and 2.8 versions of Ansibl…

---

## [openssl genrsa require password in ansible script](https://forum.ansible.com/t/openssl-genrsa-require-password-in-ansible-script/28487)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 4:50pm UTC](https://forum.ansible.com/t/openssl-genrsa-require-password-in-ansible-script/28487 "2018-09-02T16:50:56Z")

</div>

when I run below mentioned commands to generate RSA and csr in linux prompt , its require a password (Enter pass phrase for pradeep.key) and mention there “abc” password. Please do let me know how to capture this passwor…

---

## [oddity with command arguments](https://forum.ansible.com/t/oddity-with-command-arguments/28489)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 5\
**Last updated:** [September 2, 2018, 8:24am UTC](https://forum.ansible.com/t/oddity-with-command-arguments/28489 "2018-09-02T08:24:44Z")

</div>

I am using the command module to run an AWS CLI command. The command has an argument in it that takes a space-delimited set of parameters, like this: –subnets-mappings this that theother When I issue the command on the…

---

## [various files in various places on various hosts.](https://forum.ansible.com/t/various-files-in-various-places-on-various-hosts/28477)

<div class="topic-metadata">

**Author:** [@Tim\_Uckun](https://forum.ansible.com/u/Tim_Uckun)\
**Replies:** 5\
**Last updated:** [September 1, 2018, 10:55am UTC](https://forum.ansible.com/t/various-files-in-various-places-on-various-hosts/28477 "2018-09-01T10:55:03Z")

</div>

I am learning ansible and as an exercise I thought I would script my laptops. I have a mac laptop and a linux laptop and would like to see if I can script both of them using the same ansible repo. I know this is going to…

---

## [unicode, json...](https://forum.ansible.com/t/unicode-json/28486)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [September 1, 2018, 6:15am UTC](https://forum.ansible.com/t/unicode-json/28486 "2018-09-01T06:15:54Z")

</div>

I have an AWS CLI command that returns this (I’ve truncated it): changed: \[localhost\] =\> {“changed”: true, “cmd”: \[“aws”, “elbv2”, “create-load-balancer”, “–name”, “ADFS-ext-nlb”, “–type”, “network”, “–subnet-mappings”,…

---

## [How to use a pull request for a bug fix?](https://forum.ansible.com/t/how-to-use-a-pull-request-for-a-bug-fix/28484)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [September 1, 2018, 2:27am UTC](https://forum.ansible.com/t/how-to-use-a-pull-request-for-a-bug-fix/28484 "2018-09-01T02:27:10Z")

</div>

I’ve run into this bug (elb\_network\_lb not properly supporting subnet\_mappings): https://github.com/ansible/ansible/issues/42977 There is a fix available at: https://github.com/ansible/ansible/pull/42979 … but I don’…

---

## [boto3 gone AWOL?!?](https://forum.ansible.com/t/boto3-gone-awol/28483)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [September 1, 2018, 2:19am UTC](https://forum.ansible.com/t/boto3-gone-awol/28483 "2018-09-01T02:19:42Z")

</div>

My Ansible playbooks are failing with this message: fatal: \[localhost\]: FAILED! =\> {“changed”: false, “msg”: “Python modules "botocore" or "boto3" are missing, please install both”} But boto3 and botocore ARE installed…

---

## [Run per subnet list not per host](https://forum.ansible.com/t/run-per-subnet-list-not-per-host/28461)

<div class="topic-metadata">

**Author:** [@calimero444](https://forum.ansible.com/u/calimero444)\
**Replies:** 2\
**Last updated:** [August 31, 2018, 5:54pm UTC](https://forum.ansible.com/t/run-per-subnet-list-not-per-host/28461 "2018-08-31T17:54:02Z")

</div>

Hello, I need to let Ansible run a playbook that loops through a list of subnets (these can be read from Excel or file) but then it needs to connect to several different machines. This is completely different then the …

---

## [Gathering facts acquires less facts than the setup module](https://forum.ansible.com/t/gathering-facts-acquires-less-facts-than-the-setup-module/28480)

<div class="topic-metadata">

**Author:** [@mkempster22uu](https://forum.ansible.com/u/mkempster22uu)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 3:41pm UTC](https://forum.ansible.com/t/gathering-facts-acquires-less-facts-than-the-setup-module/28480 "2018-08-31T15:41:40Z")

</div>

Does anyone know if there is a distinct difference between running the setup module on a host and the automatic gathering facts module? The documents say that they are both the same thing but when I look at the facts th…

---

## [Ansible, Cloudstack SSL: CERTIFICATE\_VERIFY\_FAILED - Self Signed Certs.](https://forum.ansible.com/t/ansible-cloudstack-ssl-certificate-verify-failed-self-signed-certs/28479)

<div class="topic-metadata">

**Author:** [@sc.celston](https://forum.ansible.com/u/sc.celston)\
**Replies:** 0\
**Last updated:** [August 31, 2018, 9:46am UTC](https://forum.ansible.com/t/ansible-cloudstack-ssl-certificate-verify-failed-self-signed-certs/28479 "2018-08-31T09:46:47Z")

</div>

Upgrading ansible from 2.3.1.0 causes our Cloudstack provisioning roles to stop working with \[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed (\_ssl.c:579). The full traceback is: File “/tmp/ansible\_eGmrAs/ans…

---

## [Ansible Vault and Template module problem: bank characted added to the value when recovering string-vaulted variable.](https://forum.ansible.com/t/ansible-vault-and-template-module-problem-bank-characted-added-to-the-value-when-recovering-string-vaulted-variable/28467)

<div class="topic-metadata">

**Author:** [@David\_VA](https://forum.ansible.com/u/David_VA)\
**Replies:** 1\
**Last updated:** [August 30, 2018, 9:24pm UTC](https://forum.ansible.com/t/ansible-vault-and-template-module-problem-bank-characted-added-to-the-value-when-recovering-string-vaulted-variable/28467 "2018-08-30T21:24:12Z")

</div>

Dear colleges, In our organization we are using string-vaulted inventories in order to keep secure some sensitive information that is applied later during the play-book execution. In one of the steps some configuration …

---

## [use with\_items from hosts which tasks failed on - Explanation below:](https://forum.ansible.com/t/use-with-items-from-hosts-which-tasks-failed-on-explanation-below/28475)

<div class="topic-metadata">

**Author:** [@julian.mitchellkriel](https://forum.ansible.com/u/julian.mitchellkriel)\
**Replies:** 1\
**Last updated:** [August 30, 2018, 8:25pm UTC](https://forum.ansible.com/t/use-with-items-from-hosts-which-tasks-failed-on-explanation-below/28475 "2018-08-30T20:25:12Z")

</div>

Hey guys, I will try be as thorough as possible here, have a issue and I do not know if I am following the correct route or even if it is possible to achieve what I want. I have a playbook which I will list below, that…

---

## [urllib3 issue](https://forum.ansible.com/t/urllib3-issue/28434)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 5\
**Last updated:** [August 30, 2018, 7:15pm UTC](https://forum.ansible.com/t/urllib3-issue/28434 "2018-08-30T19:15:03Z")

</div>

Using Ansible 2.4, we suddenly started getting an error on a random assortment of our servers today: ERROR! Unexpected Exception, this is probably a bug: Requests dependency ‘urllib3’ must be version \>= 1.21.1, \< 1.22! …

---

## [Yum error in amazon instance](https://forum.ansible.com/t/yum-error-in-amazon-instance/28468)

<div class="topic-metadata">

**Author:** [@mahee121k](https://forum.ansible.com/u/mahee121k)\
**Replies:** 5\
**Last updated:** [August 30, 2018, 4:34pm UTC](https://forum.ansible.com/t/yum-error-in-amazon-instance/28468 "2018-08-30T16:34:30Z")

</div>

“Failure talking to yum: Could not contact any CDS load balancers: rhui2-cds01.us-east-2.aws.ce.redhat.com, rhui2-cds02.us-east-2.aws.ce.redhat.com.” got this error when about to install wget via yum

---

## [getent group](https://forum.ansible.com/t/getent-group/28469)

<div class="topic-metadata">

**Author:** [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Replies:** 3\
**Last updated:** [August 30, 2018, 3:44pm UTC](https://forum.ansible.com/t/getent-group/28469 "2018-08-30T15:44:53Z")

</div>

HI team, I have to check the group via getent if the group is not present I have to create a new group. how can I mention this is when module

---

## [help with with\_items](https://forum.ansible.com/t/help-with-with-items/28466)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 3:40pm UTC](https://forum.ansible.com/t/help-with-with-items/28466 "2018-08-30T15:40:01Z")

</div>

What I want is the separate lists, like this: First time through loop, item should be this: { “AllocationId”: “eipalloc-09644c10a5aac6a39”, “SubnetId”: “subnet-c1580ba5” } Second time through loop, item should be t…

---

## [Issue with elb\_network\_lb?](https://forum.ansible.com/t/issue-with-elb-network-lb/28465)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [August 30, 2018, 8:05am UTC](https://forum.ansible.com/t/issue-with-elb-network-lb/28465 "2018-08-30T08:05:16Z")

</div>

Has anyone here managed to associate an Elastic IP address with an AWS Network Load Balancer? I’m having problems with the AWS module elb\_network\_lb. I’m trying to associate Elastic IPs with the subnets I’m attaching t…

---

## [unsibscribe](https://forum.ansible.com/t/unsibscribe/28464)

<div class="topic-metadata">

**Author:** [@asser\_dennis](https://forum.ansible.com/u/asser_dennis)\
**Replies:** 0\
**Last updated:** [August 30, 2018, 6:08am UTC](https://forum.ansible.com/t/unsibscribe/28464 "2018-08-30T06:08:28Z")

</div>

hi please unsubscribe thanks

---

## [What the heck is this?!?](https://forum.ansible.com/t/what-the-heck-is-this/28463)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 5:03am UTC](https://forum.ansible.com/t/what-the-heck-is-this/28463 "2018-08-30T05:03:07Z")

</div>

This may be the most incomprehensible Ansible error message I ave seen yet :slight\_smile: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: ‘HealthCheckPath’ fat…

---

## [Automate a command which requires random keystrokes](https://forum.ansible.com/t/automate-a-command-which-requires-random-keystrokes/28462)

<div class="topic-metadata">

**Author:** [@Bharath\_Kumar2](https://forum.ansible.com/u/Bharath_Kumar2)\
**Replies:** 1\
**Last updated:** [August 29, 2018, 11:36pm UTC](https://forum.ansible.com/t/automate-a-command-which-requires-random-keystrokes/28462 "2018-08-29T23:36:12Z")

</div>

Hello All, I have a command that has to be automated/written into playbook that requires 15-20 random keystrokes. The scenario is; I am using certutil to generate a key. The certutil command when run manually on the s…

---

## [Getting dynamic variables (string) from hostvars in templates](https://forum.ansible.com/t/getting-dynamic-variables-string-from-hostvars-in-templates/28460)

<div class="topic-metadata">

**Author:** [@oxedions](https://forum.ansible.com/u/oxedions)\
**Replies:** 0\
**Last updated:** [August 29, 2018, 8:02pm UTC](https://forum.ansible.com/t/getting-dynamic-variables-string-from-hostvars-in-templates/28460 "2018-08-29T20:02:44Z")

</div>

Dear Ansible users, I am looking for a very specific feature, and I am not sure it is possible to do it. I have a file in my inventories/group\_vars/all/test.yml with the following content: \` test1: “{{inventory\_hostn…

---

## [Vmware Esxi with Ansible](https://forum.ansible.com/t/vmware-esxi-with-ansible/28445)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 5\
**Last updated:** [August 29, 2018, 5:58pm UTC](https://forum.ansible.com/t/vmware-esxi-with-ansible/28445 "2018-08-29T17:58:42Z")

</div>

Hi, I am trying to connect esxi 6.5 with ansible. I have copied ssh keys using ssh-copy-id to root id of the esxi server but when i am executing ansible -m ping vmware(ip) it says permission denied. Any idea how to make…

---

## [Error while installing AWX](https://forum.ansible.com/t/error-while-installing-awx/28453)

<div class="topic-metadata">

**Author:** [@arnab\_sen](https://forum.ansible.com/u/arnab_sen)\
**Replies:** 5\
**Last updated:** [August 29, 2018, 3:51pm UTC](https://forum.ansible.com/t/error-while-installing-awx/28453 "2018-08-29T15:51:43Z")

</div>

HI, I am getting an error while installing AWX in my local machine. I am following the instruction given in “https://github.com/ansible/awx/blob/devel/INSTALL.md#postgresql-1” I am using docker/docker-compose to unsta…

---

## [Variable concatenation in when statement](https://forum.ansible.com/t/variable-concatenation-in-when-statement/28458)

<div class="topic-metadata">

**Author:** [@yaakov.kuperman](https://forum.ansible.com/u/yaakov.kuperman)\
**Replies:** 3\
**Last updated:** [August 29, 2018, 3:50pm UTC](https://forum.ansible.com/t/variable-concatenation-in-when-statement/28458 "2018-08-29T15:50:49Z")

</div>

Hi all, I’m running this task: name: assert version fail: msg: “‘vmlinuz-{{ kernel\_version }}’ not found in default kernel output: ‘{{ default\_kernel.stdout }}’” when: ‘“vmlinuz-{{kernel\_version}}” not in default\_ke…

---

## [Ansible --\> Route 53](https://forum.ansible.com/t/ansible-route-53/28457)

<div class="topic-metadata">

**Author:** [@forgetfull](https://forum.ansible.com/u/forgetfull)\
**Replies:** 1\
**Last updated:** [August 29, 2018, 1:25pm UTC](https://forum.ansible.com/t/ansible-route-53/28457 "2018-08-29T13:25:47Z")

</div>

Hi people, Have some issues with Ansible to AWS. Error message I´m getting; TASK \[route53\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## ["ansible\_group\_priority" option seems to be ignoring me](https://forum.ansible.com/t/ansible-group-priority-option-seems-to-be-ignoring-me/28447)

<div class="topic-metadata">

**Author:** [@Tomas\_Nunez](https://forum.ansible.com/u/Tomas_Nunez)\
**Replies:** 3\
**Last updated:** [August 29, 2018, 10:53am UTC](https://forum.ansible.com/t/ansible-group-priority-option-seems-to-be-ignoring-me/28447 "2018-08-29T10:53:25Z")

</div>

Hi I'm trying to change the order in which our group\_vars are loaded with ansible\_group\_priority but it's not working. I have a role at roles/mytest/tasks/main.yaml like this:

---

## [Loop with subelements which is not everytime a list](https://forum.ansible.com/t/loop-with-subelements-which-is-not-everytime-a-list/28454)

<div class="topic-metadata">

**Author:** [@Matthias\_Beck](https://forum.ansible.com/u/Matthias_Beck)\
**Replies:** 0\
**Last updated:** [August 29, 2018, 8:13am UTC](https://forum.ansible.com/t/loop-with-subelements-which-is-not-everytime-a-list/28454 "2018-08-29T08:13:14Z")

</div>

Hi everyone, I’m looping over list of servers where I have two items: svm\_name protocols Protocols can be include one or multiple items: ok: \[localhost\] =\> { “msg”: \[ { “protocols”: \[ “nfs”, “cifs” \], “svm\_n…

---

## [Timeouts using AWS modules](https://forum.ansible.com/t/timeouts-using-aws-modules/28446)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [August 29, 2018, 4:50am UTC](https://forum.ansible.com/t/timeouts-using-aws-modules/28446 "2018-08-29T04:50:07Z")

</div>

I am getting a LOT of read timeouts working with AWS modules. The commonest is with ec2\_group, but I’ve seen it with elb\_application\_lb and a couple of others as well. Sometimes running the playbook again gets past it, s…

---

## [deletegate-to without become](https://forum.ansible.com/t/deletegate-to-without-become/28452)

<div class="topic-metadata">

**Author:** [@Ramu](https://forum.ansible.com/u/Ramu)\
**Replies:** 2\
**Last updated:** [August 28, 2018, 11:05pm UTC](https://forum.ansible.com/t/deletegate-to-without-become/28452 "2018-08-28T23:05:30Z")

</div>

Hi Experts, I have a playbook like

---

## [\[Ansible windows\]   "kerberos: authGSSClientStep() failed: (('Unspecified GSS failure.  Minor code may provide more information', 851968), ('Generic error (see e-text)', -1765328324))",](https://forum.ansible.com/t/ansible-windows-kerberos-authgssclientstep-failed-unspecified-gss-failure-minor-code-may-provide-more-information-851968-generic-error-see-e-text-1765328324/28426)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 6\
**Last updated:** [August 28, 2018, 9:42pm UTC](https://forum.ansible.com/t/ansible-windows-kerberos-authgssclientstep-failed-unspecified-gss-failure-minor-code-may-provide-more-information-851968-generic-error-see-e-text-1765328324/28426 "2018-08-28T21:42:20Z")

</div>

Hi In my company we have a forest with multiple domains, EUR / USA … I can work without any issue with my domain (EUR) with a EUR user Now i’m trying to access a USA server with and got the following failure: \` ansi…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=235)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=237)
