# Latest

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

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

**Page:** 450

---

## [Vault in combination with a master-playbook](https://forum.ansible.com/t/vault-in-combination-with-a-master-playbook/30681)

<div class="topic-metadata">

**Author:** [@A\_Meier](https://forum.ansible.com/u/A_Meier)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 8:22am UTC](https://forum.ansible.com/t/vault-in-combination-with-a-master-playbook/30681 "2019-06-28T08:22:08Z")

</div>

Hi, I am new to Ansible and have a questions about Vault in combination with a master-playbook. In the role-initialsetup in the default/main.yml the content is encrypted and the playbook play’s with these settings fine…

---

## [Cannot import module from ~/.ansible/plugins/module\_utils](https://forum.ansible.com/t/cannot-import-module-from-ansible-plugins-module-utils/30506)

<div class="topic-metadata">

**Author:** [@Modest\_Sokolov](https://forum.ansible.com/u/Modest_Sokolov)\
**Replies:** 5\
**Last updated:** [June 28, 2019, 8:14am UTC](https://forum.ansible.com/t/cannot-import-module-from-ansible-plugins-module-utils/30506 "2019-06-28T08:14:58Z")

</div>

Hello, I develop the modules for comware5. They run, when are in ansible standard directoriу, for my installation it is /usr/local/Cellar/ansible/2.8.0/libexec/lib/python3.7/site-packages/ansible/ I’ve tried to move t…

---

## [Multiple tomcat service on same server with ports](https://forum.ansible.com/t/multiple-tomcat-service-on-same-server-with-ports/30678)

<div class="topic-metadata">

**Author:** [@Ajay\_Prajapati](https://forum.ansible.com/u/Ajay_Prajapati)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 4:25am UTC](https://forum.ansible.com/t/multiple-tomcat-service-on-same-server-with-ports/30678 "2019-06-28T04:25:33Z")

</div>

Hi, I have multiple applications to run on multiple tomcat on Sami server.. I have playbook to install tomcat, I have to run the same playbook with different variables for ports Like for example var=8080, var=8090, etc …

---

## [Open and Close WinRM shells with each task?](https://forum.ansible.com/t/open-and-close-winrm-shells-with-each-task/30675)

<div class="topic-metadata">

**Author:** [@Tony\_Wyatt](https://forum.ansible.com/u/Tony_Wyatt)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 8:23pm UTC](https://forum.ansible.com/t/open-and-close-winrm-shells-with-each-task/30675 "2019-06-27T20:23:28Z")

</div>

We have noticed as we develop more and more complex plays that our Tower connections to inventory seem to be open/closed per task. Is this “by design”? What, if any, options can we specify to afford fewer WinRM session…

---

## [AWX 5 - Workflow Template - Fail to create](https://forum.ansible.com/t/awx-5-workflow-template-fail-to-create/30676)

<div class="topic-metadata">

**Author:** [@Romario\_Antunes\_Horn](https://forum.ansible.com/u/Romario_Antunes_Horn)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 8:20pm UTC](https://forum.ansible.com/t/awx-5-workflow-template-fail-to-create/30676 "2019-06-27T20:20:23Z")

</div>

Hi Guys, When i try to create an Workflow Template the fields are in gray color and not able to input values. Save button not appear in screen. This a bug? (attachments)

---

## [How can get a ansible output like a report for no technical audience](https://forum.ansible.com/t/how-can-get-a-ansible-output-like-a-report-for-no-technical-audience/30672)

<div class="topic-metadata">

**Author:** [@Stefano\_Leandro](https://forum.ansible.com/u/Stefano_Leandro)\
**Replies:** 2\
**Last updated:** [June 27, 2019, 7:20pm UTC](https://forum.ansible.com/t/how-can-get-a-ansible-output-like-a-report-for-no-technical-audience/30672 "2019-06-27T19:20:45Z")

</div>

Hi , I would you ask some suggestion how can get a ansible output like a report for no technical audience. I mean , the recap report is too ansible-operators ,the standardoutput is not coherent due to depends what are …

---

## [Issues with Python](https://forum.ansible.com/t/issues-with-python/30670)

<div class="topic-metadata">

**Author:** [@MJP](https://forum.ansible.com/u/MJP)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 5:27pm UTC](https://forum.ansible.com/t/issues-with-python/30670 "2019-06-27T17:27:07Z")

</div>

Hello, I have a playbook that connects to vcenter and enables me to create VM’s using a playbook. I just upgraded Ansible to 2.8 from 2.5 yesterday and now when i run this specific playbook, i get the following error: "…

---

## [How to check when at least one element of a list is not null](https://forum.ansible.com/t/how-to-check-when-at-least-one-element-of-a-list-is-not-null/30660)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [June 27, 2019, 5:06pm UTC](https://forum.ansible.com/t/how-to-check-when-at-least-one-element-of-a-list-is-not-null/30660 "2019-06-27T17:06:43Z")

</div>

The real goal here is to perform an action only when at least one of inventory\_hostname groups from group\_names matches one group from another list of groups (in this example: git|local|ntopng) . This is defined within …

---

## [How to move computer within OU in Active Directory](https://forum.ansible.com/t/how-to-move-computer-within-ou-in-active-directory/30671)

<div class="topic-metadata">

**Author:** [@Stefano\_Leandro](https://forum.ansible.com/u/Stefano_Leandro)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 4:59pm UTC](https://forum.ansible.com/t/how-to-move-computer-within-ou-in-active-directory/30671 "2019-06-27T16:59:42Z")

</div>

Hi, I would to ask how to move computer within OU in Active Directory . Im thinking to use the module win\_domain\_computer like this :

---

## [marker of module blockinfile](https://forum.ansible.com/t/marker-of-module-blockinfile/30669)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 4:10pm UTC](https://forum.ansible.com/t/marker-of-module-blockinfile/30669 "2019-06-27T16:10:48Z")

</div>

Hy, I don’t understand why when i use marker only or marker\_begin or marker\_end, Ansible put all time on marker in the beginning and the end alo … One exemple : name: Inserer clepub dans authorized\_key blockinfile: …

---

## [Ansible .ssh/authorized.key](https://forum.ansible.com/t/ansible-ssh-authorized-key/30668)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 8\
**Last updated:** [June 27, 2019, 3:48pm UTC](https://forum.ansible.com/t/ansible-ssh-authorized-key/30668 "2019-06-27T15:48:14Z")

</div>

Hy all, when i use become\_user: wildfly i have have this message error : path /home/wildfly/.ssh/authorized\_keys does not exist But this path exist in destination host… Someone have idea please ??! Thanks community…

---

## [Workflow nodes waiting on unlinked to finish](https://forum.ansible.com/t/workflow-nodes-waiting-on-unlinked-to-finish/30575)

<div class="topic-metadata">

**Author:** [@Zarko\_Aleksic](https://forum.ansible.com/u/Zarko_Aleksic)\
**Replies:** 2\
**Last updated:** [June 27, 2019, 12:29pm UTC](https://forum.ansible.com/t/workflow-nodes-waiting-on-unlinked-to-finish/30575 "2019-06-27T12:29:58Z")

</div>

Greetings, I’ve been utilizing AWX Workflow features more lately. However, I’ve noticed one specific behavior that I’m not sure if it’s intended, or a bug, or maybe I’m just doing something wrong. As I was unable to fin…

---

## [problem to fetch value from var files](https://forum.ansible.com/t/problem-to-fetch-value-from-var-files/30667)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 11:45am UTC](https://forum.ansible.com/t/problem-to-fetch-value-from-var-files/30667 "2019-06-27T11:45:04Z")

</div>

I have a yml file named: client\_hosts.yml it looks like below client\_hosts: abc.com: host: dc021 ipv4: 192.168.11.21 host: dc022 ipv4: 192.168.11.22 host: dc023 ipv4: 192.168.11.23 iuser: True user: john host:…

---

## [Ansible - To limit the execution for the range of hosts](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30658)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 3\
**Last updated:** [June 27, 2019, 9:01am UTC](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30658 "2019-06-27T09:01:08Z")

</div>

Can you give me a suggestion about one more requirement? I need to limit the playbook execution for particular hosts. Eg., From host1 to the host mentioned in site.retry file My inventory file: 192.168.11.1 192.168.…

---

## [LDAP group name](https://forum.ansible.com/t/ldap-group-name/30648)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 8:19am UTC](https://forum.ansible.com/t/ldap-group-name/30648 "2019-06-27T08:19:40Z")

</div>

Dear All, Good Morning, We configured AWX with LDAP successfully, we wanted to assign permission based on the group created in LDAP and use that group in AWX and assigned permission to the user for specific resources u…

---

## [Ansible BigFix Patching](https://forum.ansible.com/t/ansible-bigfix-patching/30665)

<div class="topic-metadata">

**Author:** [@Samsir\_Muhammed](https://forum.ansible.com/u/Samsir_Muhammed)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 7:11am UTC](https://forum.ansible.com/t/ansible-bigfix-patching/30665 "2019-06-27T07:11:21Z")

</div>

We use Ansible to build machines and perform the post task. Please share if we can trigger patching with Ansible and use BigFix as a patch repository solution.

---

## [Ansible - overwriting file lineinfile when run in parallel](https://forum.ansible.com/t/ansible-overwriting-file-lineinfile-when-run-in-parallel/30645)

<div class="topic-metadata">

**Author:** [@Josephsimon\_Arokiara](https://forum.ansible.com/u/Josephsimon_Arokiara)\
**Replies:** 4\
**Last updated:** [June 27, 2019, 6:01am UTC](https://forum.ansible.com/t/ansible-overwriting-file-lineinfile-when-run-in-parallel/30645 "2019-06-27T06:01:22Z")

</div>

Hi All, I am running the below code in a playbook which iterates over many hosts. This script writes the value of ver.stdout to a file. I am seeing issue when I run in in parallel. It is overwriting. It works good when …

---

## [Ansible win\_command](https://forum.ansible.com/t/ansible-win-command/30664)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 4:32am UTC](https://forum.ansible.com/t/ansible-win-command/30664 "2019-06-27T04:32:44Z")

</div>

Hi All, I need help in executing batch file which has some prompts. Am using following lines of script name: run an executable with custom working dir win\_command: pisrvstop.bat /argument1 “/argument 2 with space” …

---

## [Credential field in AWX 5.0.0](https://forum.ansible.com/t/credential-field-in-awx-5-0-0/30624)

<div class="topic-metadata">

**Author:** [@sdmorel](https://forum.ansible.com/u/sdmorel)\
**Replies:** 3\
**Last updated:** [June 26, 2019, 9:44pm UTC](https://forum.ansible.com/t/credential-field-in-awx-5-0-0/30624 "2019-06-26T21:44:51Z")

</div>

Hello all, I’m migrating our internal AWX from v2.0.1 to v5.0.0 following the recommended data migration procedure (tower-cli receive/send). So far I was able to import inventories, organization, users and projects. B…

---

## [Ansible - To limit the execution for the range of hosts](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30659)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 11:10am UTC](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30659 "2019-06-26T11:10:17Z")

</div>

I need to limit the playbook execution for particular hosts. Eg., From host1 to the host mentioned in site.retry file My inventory file: 192.168.11.1 192.168.11.2 192.168.11.3 Playbook name: site.yml Command: ansi…

---

## [win\_find not returning deduplicated files on share](https://forum.ansible.com/t/win-find-not-returning-deduplicated-files-on-share/30657)

<div class="topic-metadata">

**Author:** [@Mark\_Benson](https://forum.ansible.com/u/Mark_Benson)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 9:58am UTC](https://forum.ansible.com/t/win-find-not-returning-deduplicated-files-on-share/30657 "2019-06-26T09:58:55Z")

</div>

Hi all, I’ve been looking at the win\_find module to get a list of .exe files from a Windows share but win\_find is not returning the .exe files. The .exe files are deduplicated and looking at their properties in Windows…

---

## [Syntax for using variable-item-string in when statement](https://forum.ansible.com/t/syntax-for-using-variable-item-string-in-when-statement/30655)

<div class="topic-metadata">

**Author:** [@sahitansar](https://forum.ansible.com/u/sahitansar)\
**Replies:** 1\
**Last updated:** [June 26, 2019, 6:49am UTC](https://forum.ansible.com/t/syntax-for-using-variable-item-string-in-when-statement/30655 "2019-06-26T06:49:12Z")

</div>

What’s the right way of using jinja2 in when statement . I basically have a condition to check if something like below exists in stdout of perious results. When : \_ ’ {{ var1 }}-{{ var2}}-{{ item }}-{{ var3 }} in prev…

---

## [ios\_config: What's error regarding to "Check device is in proper prompt after error"](https://forum.ansible.com/t/ios-config-whats-error-regarding-to-check-device-is-in-proper-prompt-after-error/30654)

<div class="topic-metadata">

**Author:** [@Chiu\_Hsia\_Peng](https://forum.ansible.com/u/Chiu_Hsia_Peng)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 3:30am UTC](https://forum.ansible.com/t/ios-config-whats-error-regarding-to-check-device-is-in-proper-prompt-after-error/30654 "2019-06-26T03:30:58Z")

</div>

Hi, I don’t have IOS device at hand, then I can’t try the command: “mac-address-table notification mac-move” I checked the command on-line, I think it is a valid command on global configuration mode. I wonder why the …

---

## [Help with with\_items and vmware\_guest](https://forum.ansible.com/t/help-with-with-items-and-vmware-guest/30652)

<div class="topic-metadata">

**Author:** [@Simon\_Pole](https://forum.ansible.com/u/Simon_Pole)\
**Replies:** 0\
**Last updated:** [June 25, 2019, 9:06pm UTC](https://forum.ansible.com/t/help-with-with-items-and-vmware-guest/30652 "2019-06-25T21:06:06Z")

</div>

Hi, I’m trying to do something that I thought would be very straghtfoward. I’m deploying 3 vms (VMware) on a DHCP network - I then want to get the IP address of the VM and connect to it, just a simple ping. \` name: …

---

## [Windows Server 2016 and SSH SL3 Environment](https://forum.ansible.com/t/windows-server-2016-and-ssh-sl3-environment/30643)

<div class="topic-metadata">

**Author:** [@ground7612](https://forum.ansible.com/u/ground7612)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 7:37pm UTC](https://forum.ansible.com/t/windows-server-2016-and-ssh-sl3-environment/30643 "2019-06-25T19:37:16Z")

</div>

Hi All Our use case is very specific. We are looking at an isolated, country-wide network that has around 500 workstations and 1300 servers that control highly critical assets. Every Machine runs a hardened Windows Ser…

---

## [win\_domain\_user fails with unexpected error](https://forum.ansible.com/t/win-domain-user-fails-with-unexpected-error/30650)

<div class="topic-metadata">

**Author:** [@IA1](https://forum.ansible.com/u/IA1)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 7:32pm UTC](https://forum.ansible.com/t/win-domain-user-fails-with-unexpected-error/30650 "2019-06-25T19:32:37Z")

</div>

I am currently working on automating the provisioning of the Active Directory servers in our environment. I have completed the majority of steps (Windows Features & Roles, Domain Creation, OUs, Groups, Group Memberships)…

---

## [How to define variable based on when condition](https://forum.ansible.com/t/how-to-define-variable-based-on-when-condition/30649)

<div class="topic-metadata">

**Author:** [@sase\_kumar1](https://forum.ansible.com/u/sase_kumar1)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 5:17pm UTC](https://forum.ansible.com/t/how-to-define-variable-based-on-when-condition/30649 "2019-06-25T17:17:35Z")

</div>

Hi Folks, I’m new to ansible and I have got some confusion in when the statement here is my playbook - hosts: localhost gather\_facts: false vars: nodetype: “DI” tasks: name: concatenate set\_fact: argu: “DI=1,D…

---

## [Projects in Tower](https://forum.ansible.com/t/projects-in-tower/30641)

<div class="topic-metadata">

**Author:** [@Bipin\_Guragain](https://forum.ansible.com/u/Bipin_Guragain)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 3:06pm UTC](https://forum.ansible.com/t/projects-in-tower/30641 "2019-06-25T15:06:01Z")

</div>

Hi All I am new to Ansible and Ansible Tower.I am learning to use it. I am trying to set up the project in my Org in Tower. I have configured all the connection between Tower and Bitbucket repo. In Cred section, I have …

---

## [Migrating playbooks from RHV to vCenter](https://forum.ansible.com/t/migrating-playbooks-from-rhv-to-vcenter/30647)

<div class="topic-metadata">

**Author:** [@Robert2](https://forum.ansible.com/u/Robert2)\
**Replies:** 0\
**Last updated:** [June 25, 2019, 2:47pm UTC](https://forum.ansible.com/t/migrating-playbooks-from-rhv-to-vcenter/30647 "2019-06-25T14:47:23Z")

</div>

One of our roles adds disks to our apache zookeeper machines. This is a task in a role for our RHV enviroment: name: Add zk disks ovirt\_disk: auth: “{{ ovirt\_auth }}” name: “{{ item\[1\] }}” vm\_name: “{{ item\[0\] }}” …

---

## [SAML Team Mapping](https://forum.ansible.com/t/saml-team-mapping/30550)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 1:39pm UTC](https://forum.ansible.com/t/saml-team-mapping/30550 "2019-06-25T13:39:31Z")

</div>

AWX v4.0.0.0. I’ve organized our users into groups; This information is passed to AWX when user login as \` \<saml:Attribute Name=“companyGroups” NameFormat=“urn:oasis:names:tc:SAML:2.0:attrname-format:basic”\> \<saml:A…

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

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