# Latest

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

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

**Page:** 527

---

## [SSL/Certificate errors when running playbooks against Azure](https://forum.ansible.com/t/ssl-certificate-errors-when-running-playbooks-against-azure/26264)

<div class="topic-metadata">

**Author:** [@JOS](https://forum.ansible.com/u/JOS)\
**Replies:** 4\
**Last updated:** [August 25, 2018, 11:15am UTC](https://forum.ansible.com/t/ssl-certificate-errors-when-running-playbooks-against-azure/26264 "2018-08-25T11:15:27Z")

</div>

Hello, So I have an Azure free trial subscription and am trying to deploy VMs for it through ansible. For reference, I mostly followed this guide: https://github.com/erjosito/ansible-azure-lab I am unable to execute an…

---

## [AWX vs Tower same command is failing](https://forum.ansible.com/t/awx-vs-tower-same-command-is-failing/28417)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 9:46pm UTC](https://forum.ansible.com/t/awx-vs-tower-same-command-is-failing/28417 "2018-08-24T21:46:51Z")

</div>

I’m running into a strange problem - the same command runs fine in the Tower but is failing in the AWX: name: Search user in the Database command: \> mysql --user=“{{ dbUserName }}” --password=“{{ dbPassword }}” “{{ d…

---

## [AWX Directory Structure for Infrastructure Specific Tasks](https://forum.ansible.com/t/awx-directory-structure-for-infrastructure-specific-tasks/28420)

<div class="topic-metadata">

**Author:** [@Paul\_Manno](https://forum.ansible.com/u/Paul_Manno)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 8:17pm UTC](https://forum.ansible.com/t/awx-directory-structure-for-infrastructure-specific-tasks/28420 "2018-08-24T20:17:58Z")

</div>

Hi all, Working on an new AWX install. I’m looking to define some plays that will clone a new Windows VM from a template residing on a VSphere cluster, and provision it. Wondering what the directory structure should loo…

---

## [Conditional parameters to vmware\_guest](https://forum.ansible.com/t/conditional-parameters-to-vmware-guest/28419)

<div class="topic-metadata">

**Author:** [@enzo.tano](https://forum.ansible.com/u/enzo.tano)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 7:43pm UTC](https://forum.ansible.com/t/conditional-parameters-to-vmware-guest/28419 "2018-08-24T19:43:28Z")

</div>

Hi, sorry if I continue with newbie questions. I have my playbook for create vm from template - name: Clone a VM from Template and customize vmware\_guest: hostname: 192.168.1.209 username: user password:…

---

## [Ansible 2.5.1 does not run a task](https://forum.ansible.com/t/ansible-2-5-1-does-not-run-a-task/28411)

<div class="topic-metadata">

**Author:** [@Chris\_Barlock](https://forum.ansible.com/u/Chris_Barlock)\
**Replies:** 3\
**Last updated:** [August 24, 2018, 2:19pm UTC](https://forum.ansible.com/t/ansible-2-5-1-does-not-run-a-task/28411 "2018-08-24T14:19:01Z")

</div>

I just upgraded a set of Ubuntu machines from 16.04.5 to 18.04.1, which now has Ansible 2.5.1 installed. An existing Ansible project that I have seems to skip a step. With verbose mode enabled, I see that it starts the s…

---

## [Output from "fail" too verbose](https://forum.ansible.com/t/output-from-fail-too-verbose/28413)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 2\
**Last updated:** [August 24, 2018, 10:42am UTC](https://forum.ansible.com/t/output-from-fail-too-verbose/28413 "2018-08-24T10:42:20Z")

</div>

Hi all, I have a list of files where I need to check existence and fail if one doesn't exist. I'd expect the fail module to \*just\* output the defined message when the condition is true but instead the complete item is…

---

## [Build ec2 instances with attaching multiple tags names :-](https://forum.ansible.com/t/build-ec2-instances-with-attaching-multiple-tags-names/28412)

<div class="topic-metadata">

**Author:** [@Badraj\_Angirekula](https://forum.ansible.com/u/Badraj_Angirekula)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 5:30am UTC](https://forum.ansible.com/t/build-ec2-instances-with-attaching-multiple-tags-names/28412 "2018-08-24T05:30:27Z")

</div>

Build ec2 instances with attaching multiple tags names :- For example- I have launched one ec2 instance with tag name “websever1” the next builds of ec2 instances should start with tag name webserver2 , webserver3 … aut…

---

## [remote file concatenation](https://forum.ansible.com/t/remote-file-concatenation/28408)

<div class="topic-metadata">

**Author:** [@dch](https://forum.ansible.com/u/dch)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 10:02pm UTC](https://forum.ansible.com/t/remote-file-concatenation/28408 "2018-08-23T22:02:38Z")

</div>

hi, I've 3 files on a remote server after acme let's encrypt dns-01 process, that need to be concatenated in a specific order (private.key intermediate.cert public.cert ) for my TLS proxy, on the same system. - the ass…

---

## [selectattr on dict not working as expected](https://forum.ansible.com/t/selectattr-on-dict-not-working-as-expected/28409)

<div class="topic-metadata">

**Author:** [@justin1](https://forum.ansible.com/u/justin1)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 9:05pm UTC](https://forum.ansible.com/t/selectattr-on-dict-not-working-as-expected/28409 "2018-08-23T21:05:31Z")

</div>

I have a dict that looks like: \` TASK \[debug vpc\_subnet\_facts.subnets\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Comparing part of a string as an integer](https://forum.ansible.com/t/comparing-part-of-a-string-as-an-integer/28405)

<div class="topic-metadata">

**Author:** [@Jameson](https://forum.ansible.com/u/Jameson)\
**Replies:** 8\
**Last updated:** [August 23, 2018, 8:08pm UTC](https://forum.ansible.com/t/comparing-part-of-a-string-as-an-integer/28405 "2018-08-23T20:08:36Z")

</div>

I’m trying to write a conditional to only act on members of a list of strings when two characters in the string are less than a given number. Does anyone know if this is possible? What I’m trying now looks like: set\_fac…

---

## [Ansible and distributed nodes managent](https://forum.ansible.com/t/ansible-and-distributed-nodes-managent/28406)

<div class="topic-metadata">

**Author:** [@Kernel\_Panic](https://forum.ansible.com/u/Kernel_Panic)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 6:48pm UTC](https://forum.ansible.com/t/ansible-and-distributed-nodes-managent/28406 "2018-08-23T18:48:36Z")

</div>

Hello guys Im new to Ansible and Im engaged on a project to administer nodes on different providers, lets say, some hosts are on AWS, other on Azure, do you have any experience on this? based on your experience what wo…

---

## [vmware\_guest Centos 7 vs Ubuntu 18](https://forum.ansible.com/t/vmware-guest-centos-7-vs-ubuntu-18/28407)

<div class="topic-metadata">

**Author:** [@Alexsey\_S](https://forum.ansible.com/u/Alexsey_S)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 4:27pm UTC](https://forum.ansible.com/t/vmware-guest-centos-7-vs-ubuntu-18/28407 "2018-08-23T16:27:55Z")

</div>

I have working solution for Centos 7. It clones vm from template, gets network going, assigns hostname, gets dhcp ip, and process vm with puppet etc… Same playbook fails on Ubuntu: It creates clone but does not change…

---

## [AWX User Browser Times Out in Less than an Hour](https://forum.ansible.com/t/awx-user-browser-times-out-in-less-than-an-hour/27991)

<div class="topic-metadata">

**Author:** [@stan.varlamov](https://forum.ansible.com/u/stan.varlamov)\
**Replies:** 4\
**Last updated:** [August 23, 2018, 2:11pm UTC](https://forum.ansible.com/t/awx-user-browser-times-out-in-less-than-an-hour/27991 "2018-08-23T14:11:40Z")

</div>

Running AWX 1.0.6.23 in an OpenShift pod. The documentation (https://docs.ansible.com/ansible-tower/latest/html/administration/authentication\_timeout.html) says that Settings → System → Idle Time Force Log Out controls …

---

## [which tags are being used in runtime?](https://forum.ansible.com/t/which-tags-are-being-used-in-runtime/28385)

<div class="topic-metadata">

**Author:** [@Mauricio\_Castro](https://forum.ansible.com/u/Mauricio_Castro)\
**Replies:** 10\
**Last updated:** [August 23, 2018, 1:48pm UTC](https://forum.ansible.com/t/which-tags-are-being-used-in-runtime/28385 "2018-08-23T13:48:33Z")

</div>

Hello all, is there a way to know during playbook execution which tags it was called with in command line with -t ? I mean given ansible-playbook -t x,y,z how do I know inside the playbook I am only executing tasks with…

---

## [looking for optimizations](https://forum.ansible.com/t/looking-for-optimizations/28404)

<div class="topic-metadata">

**Author:** [@Paul3](https://forum.ansible.com/u/Paul3)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 1:04pm UTC](https://forum.ansible.com/t/looking-for-optimizations/28404 "2018-08-23T13:04:44Z")

</div>

Hey all, I am currently on the older 1.7 (looking to upgrade shortly). I have a question in regards to optimization of tasks. I have a role where I collect some output from other task actions and im trying to use them i…

---

## [ansible-pull: what does \`fatal: \[localhost\]: FAILED! =\> {“changed”: false, “msg”: “one of the following is required: name, list”}\` mean?](https://forum.ansible.com/t/ansible-pull-what-does-fatal-localhost-failed-changed-false-msg-one-of-the-following-is-required-name-list-mean/28400)

<div class="topic-metadata">

**Author:** [@Ron\_Barak](https://forum.ansible.com/u/Ron_Barak)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 11:37am UTC](https://forum.ansible.com/t/ansible-pull-what-does-fatal-localhost-failed-changed-false-msg-one-of-the-following-is-required-name-list-mean/28400 "2018-08-23T11:37:45Z")

</div>

What does the following message mean? fatal: \[localhost\]: FAILED! =\> {“changed”: false, “msg”: “one of the following is required: name, list”}

---

## [Ansible integratión with Jenkins: hudson.AbortException: Ansible playbook execution failed](https://forum.ansible.com/t/ansible-integration-with-jenkins-hudson-abortexception-ansible-playbook-execution-failed/28403)

<div class="topic-metadata">

**Author:** [@jrvilda](https://forum.ansible.com/u/jrvilda)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 7:41am UTC](https://forum.ansible.com/t/ansible-integration-with-jenkins-hudson-abortexception-ansible-playbook-execution-failed/28403 "2018-08-23T07:41:24Z")

</div>

Hi, I have a problem with all playbooks executed from Plugin Ansible in Jenkins. Jenkins Group, say that this is an ansible runtime issue when running that playbook rather than a Jenkins issue. All jobs, finish with: …

---

## [Request immediate help - Need to execute playbook on hosts based on the host status from the previous playbooks.](https://forum.ansible.com/t/request-immediate-help-need-to-execute-playbook-on-hosts-based-on-the-host-status-from-the-previous-playbooks/28358)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 4:08am UTC](https://forum.ansible.com/t/request-immediate-help-need-to-execute-playbook-on-hosts-based-on-the-host-status-from-the-previous-playbooks/28358 "2018-08-23T04:08:50Z")

</div>

I have 3 playbooks in workflow template and these playbooks would execute on multiple hosts. If 1st playbook fails on few hosts and the 3rd playbook should get execute only on the failed hosts. And whatever hosts passe…

---

## [Unable to run ansible command using aws ec2 dynamic inventory](https://forum.ansible.com/t/unable-to-run-ansible-command-using-aws-ec2-dynamic-inventory/28402)

<div class="topic-metadata">

**Author:** [@Ravi\_Tiwary](https://forum.ansible.com/u/Ravi_Tiwary)\
**Replies:** 1\
**Last updated:** [August 22, 2018, 10:08pm UTC](https://forum.ansible.com/t/unable-to-run-ansible-command-using-aws-ec2-dynamic-inventory/28402 "2018-08-22T22:08:44Z")

</div>

I am trying to run ansible command sudo ansible -i ./dynamic-inventory/ec2.py tag\_Name\_aws\_test\_win -m win\_ping using module win\_ping from ansible server to remote node and it is throwing error aws\_test\_win | UNREACHAB…

---

## [Finding a VM on VCenters](https://forum.ansible.com/t/finding-a-vm-on-vcenters/28398)

<div class="topic-metadata">

**Author:** [@Carter\_Stephen](https://forum.ansible.com/u/Carter_Stephen)\
**Replies:** 4\
**Last updated:** [August 22, 2018, 8:23pm UTC](https://forum.ansible.com/t/finding-a-vm-on-vcenters/28398 "2018-08-22T20:23:03Z")

</div>

Hello, I was curious if anyone has come up with a decent way of accomplishing this. I have an inventory file with a bunch of VM’s I manage currently. When we do maintenances we like to take a snapshot just before we p…

---

## [Refactor Playbook to loop over hosts individually](https://forum.ansible.com/t/refactor-playbook-to-loop-over-hosts-individually/28396)

<div class="topic-metadata">

**Author:** [@Caleb\_Guerrero](https://forum.ansible.com/u/Caleb_Guerrero)\
**Replies:** 10\
**Last updated:** [August 22, 2018, 7:15pm UTC](https://forum.ansible.com/t/refactor-playbook-to-loop-over-hosts-individually/28396 "2018-08-22T19:15:50Z")

</div>

All, I am trying to refactor my playbook to run an ios command across a group of hosts… My challenge is that the command is specific to individual hosts in the group. As it stands, my playbook initial task is ran agains…

---

## [Configure rhn\_channel module for Spacewalk](https://forum.ansible.com/t/configure-rhn-channel-module-for-spacewalk/28399)

<div class="topic-metadata">

**Author:** [@Rashard](https://forum.ansible.com/u/Rashard)\
**Replies:** 2\
**Last updated:** [August 22, 2018, 6:04pm UTC](https://forum.ansible.com/t/configure-rhn-channel-module-for-spacewalk/28399 "2018-08-22T18:04:08Z")

</div>

Hi! Im trying to get ansible to talk to our local spacewalk server but its not working. If I use the epl repo it works fine with this block ‘’‘’ - name: Add repository yum\_repository: name: epel description: EPEL YUM …

---

## [small patch is still waiting to be merged in rhn\_register](https://forum.ansible.com/t/small-patch-is-still-waiting-to-be-merged-in-rhn-register/28397)

<div class="topic-metadata">

**Author:** [@Bernhard\_L](https://forum.ansible.com/u/Bernhard_L)\
**Replies:** 2\
**Last updated:** [August 22, 2018, 5:25pm UTC](https://forum.ansible.com/t/small-patch-is-still-waiting-to-be-merged-in-rhn-register/28397 "2018-08-22T17:25:12Z")

</div>

Hi, It would be great if my small PR could be merged for the next release: https://github.com/ansible/ansible/pull/33660 Thanks!

---

## [Specific sort](https://forum.ansible.com/t/specific-sort/28392)

<div class="topic-metadata">

**Author:** [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Replies:** 2\
**Last updated:** [August 22, 2018, 4:39pm UTC](https://forum.ansible.com/t/specific-sort/28392 "2018-08-22T16:39:41Z")

</div>

Hi, I have some patch to apply in order, so I have to sort my list which came from an RPM... By default my list is sorted like this : /update/v902002.5\_p05.0\_00\_0 /update/v902002.5\_p05.1\_08\_0 /update/v902002.5\_p05.1…

---

## [docker connection over remote host tcp no tls](https://forum.ansible.com/t/docker-connection-over-remote-host-tcp-no-tls/26078)

<div class="topic-metadata">

**Author:** [@Esteban\_Mirizio](https://forum.ansible.com/u/Esteban_Mirizio)\
**Replies:** 3\
**Last updated:** [August 22, 2018, 2:22pm UTC](https://forum.ansible.com/t/docker-connection-over-remote-host-tcp-no-tls/26078 "2018-08-22T14:22:27Z")

</div>

Hi everyone! I’m Having a hard time trying to a remote docker connection over non tls. What I’m trying to achieve is to execute an ansible playbook inside a docker located in host A to another docker located in host B, …

---

## [How to escape single quote in regex\_replace expression?](https://forum.ansible.com/t/how-to-escape-single-quote-in-regex-replace-expression/28394)

<div class="topic-metadata">

**Author:** [@Veena](https://forum.ansible.com/u/Veena)\
**Replies:** 4\
**Last updated:** [August 22, 2018, 2:11pm UTC](https://forum.ansible.com/t/how-to-escape-single-quote-in-regex-replace-expression/28394 "2018-08-22T14:11:48Z")

</div>

Hi, I’m using Ansible 2.5 and trying to escape single quote in a string. This string will be passed as argument to shell command. regex\_replace(“'”, “'”) is giving error. set\_fact: default\_passphrase: “{{ Secrete123…

---

## [AWX Logging to Logstash, debugging](https://forum.ansible.com/t/awx-logging-to-logstash-debugging/28383)

<div class="topic-metadata">

**Author:** [@anthony.cleaves](https://forum.ansible.com/u/anthony.cleaves)\
**Replies:** 4\
**Last updated:** [August 22, 2018, 12:54pm UTC](https://forum.ansible.com/t/awx-logging-to-logstash-debugging/28383 "2018-08-22T12:54:23Z")

</div>

Hello, I am on 1.0.7 is there anyway I can debug the connection between awx to logstash? I have logging enabled and I don’t see any logs reaching Logstash, I do however see the test connection. I have tailed the logs on…

---

## [Variable expansion/replacement in strings read from file lookup?](https://forum.ansible.com/t/variable-expansion-replacement-in-strings-read-from-file-lookup/28391)

<div class="topic-metadata">

**Author:** [@Steve\_Kersley](https://forum.ansible.com/u/Steve_Kersley)\
**Replies:** 1\
**Last updated:** [August 22, 2018, 9:37am UTC](https://forum.ansible.com/t/variable-expansion-replacement-in-strings-read-from-file-lookup/28391 "2018-08-22T09:37:26Z")

</div>

Good morning, Is there a way to perform variable replacement in text read from an external file via the file lookup into a list, in the same way that it would be if the list was specified in the playbook task? I want t…

---

## [AWX API requests slow performance](https://forum.ansible.com/t/awx-api-requests-slow-performance/28390)

<div class="topic-metadata">

**Author:** [@Alan\_Fraser](https://forum.ansible.com/u/Alan_Fraser)\
**Replies:** 1\
**Last updated:** [August 22, 2018, 3:59am UTC](https://forum.ansible.com/t/awx-api-requests-slow-performance/28390 "2018-08-22T03:59:02Z")

</div>

Hi, has anyone experienced poor performance when running web requests against Ansible AWX? Running continual tests against the API - GET http:///api/v2/ping/ results in a poor level of response. Throwing 1000 GET reque…

---

## [Jenkins - Ansible integration](https://forum.ansible.com/t/jenkins-ansible-integration/28363)

<div class="topic-metadata">

**Author:** [@Vamsi\_Krishna](https://forum.ansible.com/u/Vamsi_Krishna)\
**Replies:** 7\
**Last updated:** [August 22, 2018, 3:57am UTC](https://forum.ansible.com/t/jenkins-ansible-integration/28363 "2018-08-22T03:57:33Z")

</div>

HI All, I am newbie for both Ansible and Jenkins and I looking for step by step approach for running ansible playbook for Jenkins. From Jenkins, I have installed Ansible plugin and in Global Tool Configuration I have s…

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

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