# Latest

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

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

**Page:** 522

---

## [Use regex and variables in a when statement](https://forum.ansible.com/t/use-regex-and-variables-in-a-when-statement/28563)

<div class="topic-metadata">

**Author:** [@JS11](https://forum.ansible.com/u/JS11)\
**Replies:** 0\
**Last updated:** [September 13, 2018, 11:48am UTC](https://forum.ansible.com/t/use-regex-and-variables-in-a-when-statement/28563 "2018-09-13T11:48:12Z")

</div>

Hello! I need to run a task based on the stderr output of a previous task: My stderr output is as follows: “stderr”: “Failed to enable application app2\_20180601.05 : Application app1\_20180501.01 has not been disabled …

---

## [job template admin -\> no notification tab](https://forum.ansible.com/t/job-template-admin-no-notification-tab/27598)

<div class="topic-metadata">

**Author:** [@Goetz\_Leupold](https://forum.ansible.com/u/Goetz_Leupold)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 9:30am UTC](https://forum.ansible.com/t/job-template-admin-no-notification-tab/27598 "2018-09-13T09:30:36Z")

</div>

Hi, we just migrated from ansible tower to ansible awx and i have following problem. ansible awx: 1.0.6.5 ansible: 2.4.3.0 We organized the permissions this way: every team is an organization and every team have an a…

---

## [Newbie: Am I using add\_host correctly because I don't get the result I'm expecting](https://forum.ansible.com/t/newbie-am-i-using-add-host-correctly-because-i-dont-get-the-result-im-expecting/28550)

<div class="topic-metadata">

**Author:** [@Maria\_MacCallum](https://forum.ansible.com/u/Maria_MacCallum)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 8:26am UTC](https://forum.ansible.com/t/newbie-am-i-using-add-host-correctly-because-i-dont-get-the-result-im-expecting/28550 "2018-09-13T08:26:07Z")

</div>

I’ve tried pre-defining an empty group and not defining, neither seems to work, the group seems to remain empty when I try to use it, I’m sure I’m missing something vital out. This is an extract: hosts: all-t4 need s…

---

## [Cannot attach multiple files to an email](https://forum.ansible.com/t/cannot-attach-multiple-files-to-an-email/28560)

<div class="topic-metadata">

**Author:** [@Matthieu\_Nantern](https://forum.ansible.com/u/Matthieu_Nantern)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 6:42am UTC](https://forum.ansible.com/t/cannot-attach-multiple-files-to-an-email/28560 "2018-09-13T06:42:54Z")

</div>

Hi All ! I’m trying to attach multiple file to an email by using the mail module but it’s not working at all because I have parameters in my files’ name: - name: send an email mail: host: email-smtp.eu-west-1.ama…

---

## [Amazon cloud elb mgmt](https://forum.ansible.com/t/amazon-cloud-elb-mgmt/28562)

<div class="topic-metadata">

**Author:** [@harshal2006](https://forum.ansible.com/u/harshal2006)\
**Replies:** 0\
**Last updated:** [September 13, 2018, 1:31am UTC](https://forum.ansible.com/t/amazon-cloud-elb-mgmt/28562 "2018-09-13T01:31:47Z")

</div>

Hi, I am new to awx. I am able to create credential for AWS and add dynamic inventory that only pulls instance details. I would like to gather facts for other objects as well from AWS for example elb. For that as per d…

---

## [help, awx can not see  /var/lib/awx/projects](https://forum.ansible.com/t/help-awx-can-not-see-var-lib-awx-projects/28547)

<div class="topic-metadata">

**Author:** [@joe\_pinto](https://forum.ansible.com/u/joe_pinto)\
**Replies:** 1\
**Last updated:** [September 12, 2018, 5:48pm UTC](https://forum.ansible.com/t/help-awx-can-not-see-var-lib-awx-projects/28547 "2018-09-12T17:48:17Z")

</div>

hi, friends, I have a problem: Some data; ansible 2.6.3 3.10.0-693.21.1.el7.x86\_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86\_64 x86\_64 x86\_64 GNU/Linux prokect base yml; /var/lib/awx/projects/helloworld dr-xr–r–. 3 a…

---

## [newbie seeks for help about register](https://forum.ansible.com/t/newbie-seeks-for-help-about-register/28556)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 3\
**Last updated:** [September 12, 2018, 5:46pm UTC](https://forum.ansible.com/t/newbie-seeks-for-help-about-register/28556 "2018-09-12T17:46:51Z")

</div>

let\`s say I have some tasks below first I want to detect a folder exists or not in all developer\`s home\_dir and register to eus\_exist , and i will do something to whom did not have the folder( D/eus) name: detect if…

---

## [awx uses wrong host from group](https://forum.ansible.com/t/awx-uses-wrong-host-from-group/28558)

<div class="topic-metadata">

**Author:** [@Agata\_Hochor](https://forum.ansible.com/u/Agata_Hochor)\
**Replies:** 1\
**Last updated:** [September 12, 2018, 5:38pm UTC](https://forum.ansible.com/t/awx-uses-wrong-host-from-group/28558 "2018-09-12T17:38:19Z")

</div>

I’m having problem with running plays on specific host from group. In my case I have 3 hosts(node01,node02,node03) in one group - docker,and in my playbook i use hosts: docker\[0\] and it should be delegated to node01 but …

---

## [creating logical volume if does not exist](https://forum.ansible.com/t/creating-logical-volume-if-does-not-exist/28559)

<div class="topic-metadata">

**Author:** [@Brad2](https://forum.ansible.com/u/Brad2)\
**Replies:** 3\
**Last updated:** [September 12, 2018, 3:37pm UTC](https://forum.ansible.com/t/creating-logical-volume-if-does-not-exist/28559 "2018-09-12T15:37:51Z")

</div>

Relatively new to ansible. Trying to create a logical volume on some RHEL 7 servers. I have: \` name: make-lv lvol: vg: vg\_{{ inventory\_hostname\_short }} lv: lv\_ekb size: 100%FREE state: present \` which works fi…

---

## [Ansible ending support for Vsphere ESXI free hypervisor with deprecation of vsphere\_guest ?](https://forum.ansible.com/t/ansible-ending-support-for-vsphere-esxi-free-hypervisor-with-deprecation-of-vsphere-guest/26802)

<div class="topic-metadata">

**Author:** [@mgdavis967](https://forum.ansible.com/u/mgdavis967)\
**Replies:** 2\
**Last updated:** [September 12, 2018, 9:21am UTC](https://forum.ansible.com/t/ansible-ending-support-for-vsphere-esxi-free-hypervisor-with-deprecation-of-vsphere-guest/26802 "2018-09-12T09:21:33Z")

</div>

Hello, I’ve noticed that the vsphere\_guest modules that provides the ability to create/delete/manage a a guest VM through VMWARE vSphere is now deprecated. The module advised for use current/future use is the vmware\_gu…

---

## [Cycle ansible tasks until something happens](https://forum.ansible.com/t/cycle-ansible-tasks-until-something-happens/20272)

<div class="topic-metadata">

**Author:** [@Patrick\_Pelinski](https://forum.ansible.com/u/Patrick_Pelinski)\
**Replies:** 9\
**Last updated:** [September 12, 2018, 6:59am UTC](https://forum.ansible.com/t/cycle-ansible-tasks-until-something-happens/20272 "2018-09-12T06:59:00Z")

</div>

Hi there, is it possible to cycle/loop through certain tasks until something is happening? Im using ansible to deploy windows updates via cygwin/sshd-server, but the host needs multiple restarts and times to get finall…

---

## [Issues in creating AWS EFS via Ansible](https://forum.ansible.com/t/issues-in-creating-aws-efs-via-ansible/28506)

<div class="topic-metadata">

**Author:** [@P\_r1](https://forum.ansible.com/u/P_r1)\
**Replies:** 3\
**Last updated:** [September 12, 2018, 12:26am UTC](https://forum.ansible.com/t/issues-in-creating-aws-efs-via-ansible/28506 "2018-09-12T00:26:27Z")

</div>

I am creating a playbook to create a EFS in AWS, using Ansible, but running into errors. Please suggest how to resolve this error. Below is my ansible script:

---

## [Conditional when based on grep results](https://forum.ansible.com/t/conditional-when-based-on-grep-results/28555)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [September 11, 2018, 11:01pm UTC](https://forum.ansible.com/t/conditional-when-based-on-grep-results/28555 "2018-09-11T23:01:35Z")

</div>

Hey all, So I’m trying to do a check to see if a string exists in a file and to add if it does not. This is what I have: name: exists in file command: “grep string /var/log/file” register: string\_not\_exist name…

---

## [Lost in group\_vars, append](https://forum.ansible.com/t/lost-in-group-vars-append/28553)

<div class="topic-metadata">

**Author:** [@Arturas\_R](https://forum.ansible.com/u/Arturas_R)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 9:24pm UTC](https://forum.ansible.com/t/lost-in-group-vars-append/28553 "2018-09-11T21:24:07Z")

</div>

Hello Community, I could really use some help here. First of all, I would like to say, that I am with ansible for couple of days, so sorry in advance :slight\_smile: My use case: I am setting up ssh configuration for a…

---

## [Strange failure when trying to delegate\_to using a group member](https://forum.ansible.com/t/strange-failure-when-trying-to-delegate-to-using-a-group-member/28552)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 8:45pm UTC](https://forum.ansible.com/t/strange-failure-when-trying-to-delegate-to-using-a-group-member/28552 "2018-09-11T20:45:52Z")

</div>

I am trying to use a delegate\_to in a play where the delegated-to host is the (only) member of a group, where the groupname is ‘slurm-prictlr’. The play looks like: name: Ensure MUNGE key from Slurm primary controller …

---

## [Create IIS website with https binding only](https://forum.ansible.com/t/create-iis-website-with-https-binding-only/28539)

<div class="topic-metadata">

**Author:** [@Andriy\_Bilous\_ko](https://forum.ansible.com/u/Andriy_Bilous_ko)\
**Replies:** 4\
**Last updated:** [September 11, 2018, 6:32pm UTC](https://forum.ansible.com/t/create-iis-website-with-https-binding-only/28539 "2018-09-11T18:32:56Z")

</div>

Hi, Ansible 2.6.3 Target hosts: Windows Guys, could you please tell me if we have possibility to create IIS website using win\_iis\_website module with HTTPS binding only (without HTTP one) ? Like I can do this using P…

---

## [Ansible best practice - multiple administrators](https://forum.ansible.com/t/ansible-best-practice-multiple-administrators/28549)

<div class="topic-metadata">

**Author:** [@Jakub\_Kavka](https://forum.ansible.com/u/Jakub_Kavka)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 4:23pm UTC](https://forum.ansible.com/t/ansible-best-practice-multiple-administrators/28549 "2018-09-11T16:23:11Z")

</div>

Hello, i would like to ask, what is best practice to handle more Ansible administrators from security perspective. We would like to login with SSH keys to both control machine and remotes. Is the best way to do this: …

---

## [Inventory script for Tilaa Cloud](https://forum.ansible.com/t/inventory-script-for-tilaa-cloud/28551)

<div class="topic-metadata">

**Author:** [@Mark\_Janssen](https://forum.ansible.com/u/Mark_Janssen)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 12:09pm UTC](https://forum.ansible.com/t/inventory-script-for-tilaa-cloud/28551 "2018-09-11T12:09:18Z")

</div>

Hi, I’ve written (with a collegue) an inventory-script for the Tilaa cloud. Patches and improvements are welcome, but in the basis it should work at this time. AWX here uses it successfully. Code: https://github.com…

---

## [Add key to a List of dicts depending of a simple Array - Ansible Facts (package\_facts)](https://forum.ansible.com/t/add-key-to-a-list-of-dicts-depending-of-a-simple-array-ansible-facts-package-facts/28548)

<div class="topic-metadata">

**Author:** [@lucas.dagostino](https://forum.ansible.com/u/lucas.dagostino)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 8:08am UTC](https://forum.ansible.com/t/add-key-to-a-list-of-dicts-depending-of-a-simple-array-ansible-facts-package-facts/28548 "2018-09-11T08:08:37Z")

</div>

Hello everybody, I’m currently working on generating report for each inventory host thanks to ansible-cmdb. This tool is great but I have a problem to modify some facts: I use the package\_facts module to register insta…

---

## [range operator is appending a text](https://forum.ansible.com/t/range-operator-is-appending-a-text/28546)

<div class="topic-metadata">

**Author:** [@Abhijit\_Chakraborty](https://forum.ansible.com/u/Abhijit_Chakraborty)\
**Replies:** 1\
**Last updated:** [September 11, 2018, 7:33am UTC](https://forum.ansible.com/t/range-operator-is-appending-a-text/28546 "2018-09-11T07:33:34Z")

</div>

I am trying to uninstall a application using ansible. This is my playbook

---

## [ansible Failed when connected to H3C switch by ssh](https://forum.ansible.com/t/ansible-failed-when-connected-to-h3c-switch-by-ssh/28545)

<div class="topic-metadata">

**Author:** [@Jason\_Zhou](https://forum.ansible.com/u/Jason_Zhou)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 5:15am UTC](https://forum.ansible.com/t/ansible-failed-when-connected-to-h3c-switch-by-ssh/28545 "2018-09-11T05:15:17Z")

</div>

ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o Passwo…

---

## [Couldn't run ansible commands on GCE platform](https://forum.ansible.com/t/couldnt-run-ansible-commands-on-gce-platform/28544)

<div class="topic-metadata">

**Author:** [@Aditya\_Putta](https://forum.ansible.com/u/Aditya_Putta)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 4:55am UTC](https://forum.ansible.com/t/couldnt-run-ansible-commands-on-gce-platform/28544 "2018-09-11T04:55:03Z")

</div>

SUMMARY Couldn’t run ansible commands on GCE platform ISSUE TYPE My situation I am trying to use “-s -K --ask-pass” to exchange passwords I am using same user and root password across all nodes I don’t want to exchang…

---

## [Do notifications wait for all callbacks to finish first?](https://forum.ansible.com/t/do-notifications-wait-for-all-callbacks-to-finish-first/28543)

<div class="topic-metadata">

**Author:** [@MarcG](https://forum.ansible.com/u/MarcG)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 3:55am UTC](https://forum.ansible.com/t/do-notifications-wait-for-all-callbacks-to-finish-first/28543 "2018-09-11T03:55:09Z")

</div>

Hi, As per the subject line, if I configure a notification in AWX to send on success or failure of a job in AWX, is it guaranteed that all callback modules will have completed before the notification is triggered? reg…

---

## [How to pass EFS mount ID to another playbook?](https://forum.ansible.com/t/how-to-pass-efs-mount-id-to-another-playbook/28542)

<div class="topic-metadata">

**Author:** [@P\_r1](https://forum.ansible.com/u/P_r1)\
**Replies:** 0\
**Last updated:** [September 10, 2018, 11:01pm UTC](https://forum.ansible.com/t/how-to-pass-efs-mount-id-to-another-playbook/28542 "2018-09-10T23:01:39Z")

</div>

I am trying to automate the EFS creation and Mount it, using Ansible playbook, but not sure how to pass the mount\_point to another playbook. In my Ansible Tower workflow, the first job creates EFS in AWS and then on suc…

---

## [Right way to pass a command to command module when using \_execute\_module in custom action plugin](https://forum.ansible.com/t/right-way-to-pass-a-command-to-command-module-when-using-execute-module-in-custom-action-plugin/28540)

<div class="topic-metadata">

**Author:** [@Sankaravadivel\_S](https://forum.ansible.com/u/Sankaravadivel_S)\
**Replies:** 1\
**Last updated:** [September 10, 2018, 10:18pm UTC](https://forum.ansible.com/t/right-way-to-pass-a-command-to-command-module-when-using-execute-module-in-custom-action-plugin/28540 "2018-09-10T22:18:44Z")

</div>

I am building a custom action plugin and I am trying to invoke the command module using ActionBase.\_execute\_module. But unfortunately, I couldn’t find any document or samples showing how to pass the command to module\_arg…

---

## [Right way of developing dynamic inventory?](https://forum.ansible.com/t/right-way-of-developing-dynamic-inventory/28541)

<div class="topic-metadata">

**Author:** [@aaldi](https://forum.ansible.com/u/aaldi)\
**Replies:** 0\
**Last updated:** [September 10, 2018, 6:16pm UTC](https://forum.ansible.com/t/right-way-of-developing-dynamic-inventory/28541 "2018-09-10T18:16:34Z")

</div>

Is there a guide for developing dynamic inventory? (beyond the one already given here) What I’m looking for is more constraints/conditions to abide by. What are the rules to follow to make sure the outputs are correct? …

---

## [with\_items combined with when to set variables and then break](https://forum.ansible.com/t/with-items-combined-with-when-to-set-variables-and-then-break/28222)

<div class="topic-metadata">

**Author:** [@Sabrina\_Lautier](https://forum.ansible.com/u/Sabrina_Lautier)\
**Replies:** 3\
**Last updated:** [September 10, 2018, 2:54pm UTC](https://forum.ansible.com/t/with-items-combined-with-when-to-set-variables-and-then-break/28222 "2018-09-10T14:54:12Z")

</div>

Hi everyone, I have already read several post about this but haven’t found the answer. Basically I would like to set some variables when a condition is met while looping over a list of dictionaries, and then stop the l…

---

## [needs\_triage label](https://forum.ansible.com/t/needs-triage-label/28531)

<div class="topic-metadata">

**Author:** [@panthip\_pooput](https://forum.ansible.com/u/panthip_pooput)\
**Replies:** 1\
**Last updated:** [September 10, 2018, 2:06pm UTC](https://forum.ansible.com/t/needs-triage-label/28531 "2018-09-10T14:06:36Z")

</div>

Hello All, I’m researcher who studying about the Ansible labels. Could you please tell me what’s the meaning of “needs\_triage” label? The meaning on GitHub describe that “This issue/PR needs a first human triage before…

---

## [Ansible 2.5.9 is available](https://forum.ansible.com/t/ansible-2-5-9-is-available/28538)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [September 10, 2018, 12:04pm UTC](https://forum.ansible.com/t/ansible-2-5-9-is-available/28538 "2018-09-10T12:04:05Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.9 is now available! How do you get it?

---

## [Ansible 2.5.9 is available](https://forum.ansible.com/t/ansible-2-5-9-is-available/28537)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [September 10, 2018, 12:03pm UTC](https://forum.ansible.com/t/ansible-2-5-9-is-available/28537 "2018-09-10T12:03:40Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.9 is now available! How do you get it?

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

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