# Latest

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

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

**Page:** 525

---

## [How do i run python scripts which includes imports from other .py files in the same directory.](https://forum.ansible.com/t/how-do-i-run-python-scripts-which-includes-imports-from-other-py-files-in-the-same-directory/28471)

<div class="topic-metadata">

**Author:** [@Alan\_Jose](https://forum.ansible.com/u/Alan_Jose)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 9:10pm UTC](https://forum.ansible.com/t/how-do-i-run-python-scripts-which-includes-imports-from-other-py-files-in-the-same-directory/28471 "2018-08-31T21:10:52Z")

</div>

Hi, I have a python script which imports other external python modules. i have copied all the .py files to a directory in the remote host. But, when i try to run the script file, it gives me an error “ImportError: No mo…

---

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

---

## [Windows lookup plugins](https://forum.ansible.com/t/windows-lookup-plugins/28481)

<div class="topic-metadata">

**Author:** [@aestrangwood](https://forum.ansible.com/u/aestrangwood)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 2:14pm UTC](https://forum.ansible.com/t/windows-lookup-plugins/28481 "2018-08-31T14:14:23Z")

</div>

i want to create a lookup plugin for use on windows that does the same as the ini lookup but cant find any docs to say how its done or if its possible. I tried to make a plugin the same way i would a windows module but i…

---

## [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 k8s problem ("strategic merge patch format is not supported")](https://forum.ansible.com/t/ansible-k8s-problem-strategic-merge-patch-format-is-not-supported/28195)

<div class="topic-metadata">

**Author:** [@Attila\_Kemeny](https://forum.ansible.com/u/Attila_Kemeny)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 9:02am UTC](https://forum.ansible.com/t/ansible-k8s-problem-strategic-merge-patch-format-is-not-supported/28195 "2018-08-31T09:02:17Z")

</div>

Hello, i am trying to configure a k8s cluster with ansible. It is working quite well but new i have a problem with a custom resource (cert-manager Certificate and ClusterIssuer) When i rerun the scripts it gives me an e…

---

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

---

## [AWX  Tower callback - No matching host could be found  but tower console is working](https://forum.ansible.com/t/awx-tower-callback-no-matching-host-could-be-found-but-tower-console-is-working/28472)

<div class="topic-metadata">

**Author:** [@devulapalli8](https://forum.ansible.com/u/devulapalli8)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 7:39pm UTC](https://forum.ansible.com/t/awx-tower-callback-no-matching-host-could-be-found-but-tower-console-is-working/28472 "2018-08-30T19:39:31Z")

</div>

I have setup inventory and job template and the call back is returning “No matching host could be found” but actually the tower console I could see host listed in the inventory and even attempted synch and even I could a…

---

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

---

## [SCM for template and workflows](https://forum.ansible.com/t/scm-for-template-and-workflows/28470)

<div class="topic-metadata">

**Author:** [@harshal2006](https://forum.ansible.com/u/harshal2006)\
**Replies:** 1\
**Last updated:** [August 30, 2018, 4:59pm UTC](https://forum.ansible.com/t/scm-for-template-and-workflows/28470 "2018-08-30T16:59:26Z")

</div>

In awx is it possible that we create job templates and workflows and awx will update them to git? Is there any built-in editor available of playbooks in awx? Thanks

---

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

---

## [Where to put module guides](https://forum.ansible.com/t/where-to-put-module-guides/28456)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 3:39pm UTC](https://forum.ansible.com/t/where-to-put-module-guides/28456 "2018-08-30T15:39:48Z")

</div>

On the user list the use of the expect module is a topic that keeps coming up, so instead of repeating my self I should probably just document it somewhere. A longish guide on the expect module page\[1\] is probably not a…

---

## [v2 callback plugin migration](https://forum.ansible.com/t/v2-callback-plugin-migration/20209)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 6\
**Last updated:** [August 30, 2018, 9:53am UTC](https://forum.ansible.com/t/v2-callback-plugin-migration/20209 "2018-08-30T09:53:53Z")

</div>

I started work on porting my callback plugin and I’m hoping someone can help me get going. My old plugin used to get at a list of hosts like this (in on\_start): hosts = self.playbook.inventory.get\_hosts() Then I’d loo…

---

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

---

## [How to check version of ansible before execution begins](https://forum.ansible.com/t/how-to-check-version-of-ansible-before-execution-begins/25305)

<div class="topic-metadata">

**Author:** [@Vinod\_Kumar3](https://forum.ansible.com/u/Vinod_Kumar3)\
**Replies:** 6\
**Last updated:** [August 30, 2018, 12:42am UTC](https://forum.ansible.com/t/how-to-check-version-of-ansible-before-execution-begins/25305 "2018-08-30T00:42:40Z")

</div>

I have encounter the issue as follows: I have used latest ansible version as follows: {code} \[root@localhost samples\]# ansible --version ansible 2.3.1.0 config file = /home/vagrant/samples/ansible.cfg configured mo…

---

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

---

## [Bigip modules with docker local](https://forum.ansible.com/t/bigip-modules-with-docker-local/28459)

<div class="topic-metadata">

**Author:** [@jschilen](https://forum.ansible.com/u/jschilen)\
**Replies:** 3\
**Last updated:** [August 29, 2018, 10:25pm UTC](https://forum.ansible.com/t/bigip-modules-with-docker-local/28459 "2018-08-29T22:25:15Z")

</div>

Hello, I’ve built AWX using the local docker method, but I’m not too familiar with docker. I’m trying to use the bigip\_node module. When I run the job it says python f5-sdk module is required How do I get this install…

---

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

---

## [set host\_key\_checking = False in awx](https://forum.ansible.com/t/set-host-key-checking-false-in-awx/28455)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 2\
**Last updated:** [August 29, 2018, 3:40pm UTC](https://forum.ansible.com/t/set-host-key-checking-false-in-awx/28455 "2018-08-29T15:40:55Z")

</div>

hi i have problem with host key ho i can set host\_key\_checking = False without modify the docker machine task?

---

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

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

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