# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=278

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

**Page:** 279

---

## [Help required for extracting Interface mac address](https://forum.ansible.com/t/help-required-for-extracting-interface-mac-address/30679)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 4:42am UTC](https://forum.ansible.com/t/help-required-for-extracting-interface-mac-address/30679 "2019-07-01T04:42:12Z")

</div>

Hi , My VM has 4 ip-interfaces . I want to extract a data as below using ansible. Interface1: macaddress Interface2: macaddress Interface3: macaddress Interface4: macaddress Kindly help.

---

## [Unexpected RC while uninstallaing a package using win\_package](https://forum.ansible.com/t/unexpected-rc-while-uninstallaing-a-package-using-win-package/30687)

<div class="topic-metadata">

**Author:** [@shyam.rpms](https://forum.ansible.com/u/shyam.rpms)\
**Replies:** 2\
**Last updated:** [June 30, 2019, 9:31pm UTC](https://forum.ansible.com/t/unexpected-rc-while-uninstallaing-a-package-using-win-package/30687 "2019-06-30T21:31:56Z")

</div>

Hi All, Im trying to uninstall a package using win\_package but getting the following error, Playbook is able to remove the software from the server but at the end Im getting this error. “msg”: “unexpected rc from insta…

---

## [Support for dynamic surveys](https://forum.ansible.com/t/support-for-dynamic-surveys/30674)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 3\
**Last updated:** [June 30, 2019, 6:41pm UTC](https://forum.ansible.com/t/support-for-dynamic-surveys/30674 "2019-06-30T18:41:09Z")

</div>

Hello guys: Just a quick question: is there any supported mechanism for creating dynamic surveys? For example, data for a survey that would be queried from an API to get a list of elements. If I remember correctly, I fo…

---

## [awx and postgresql external database error](https://forum.ansible.com/t/awx-and-postgresql-external-database-error/30615)

<div class="topic-metadata">

**Author:** [@Patrice\_Gagnon](https://forum.ansible.com/u/Patrice_Gagnon)\
**Replies:** 1\
**Last updated:** [June 30, 2019, 11:36am UTC](https://forum.ansible.com/t/awx-and-postgresql-external-database-error/30615 "2019-06-30T11:36:09Z")

</div>

Hi all, I have started to install AWX on Openshift with external database, and the installation failed with error: this a part of the ansible install log: … File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/d…

---

## [create an vault in AWX 5.0 multi environment](https://forum.ansible.com/t/create-an-vault-in-awx-5-0-multi-environment/30680)

<div class="topic-metadata">

**Author:** [@Daniel\_Nanboe](https://forum.ansible.com/u/Daniel_Nanboe)\
**Replies:** 4\
**Last updated:** [June 29, 2019, 5:54am UTC](https://forum.ansible.com/t/create-an-vault-in-awx-5-0-multi-environment/30680 "2019-06-29T05:54:23Z")

</div>

Hi can somebody help me with an advice on how to create an vault in AWX. I am trying to have the vcenter login data encrypted as string variable in a vault but don’t know how. Thanks.

---

## [Mitigate very long ansible-playbook runs](https://forum.ansible.com/t/mitigate-very-long-ansible-playbook-runs/30683)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 5:06pm UTC](https://forum.ansible.com/t/mitigate-very-long-ansible-playbook-runs/30683 "2019-06-28T17:06:45Z")

</div>

I’m working on a project where typical ansible-playbook runs take a considerable amount of time - 3 hours at least, to refresh a small test environment. Be under no illusion we’re “doing it right” - we’re not. None the l…

---

## [ansible playbook in json format not working](https://forum.ansible.com/t/ansible-playbook-in-json-format-not-working/30662)

<div class="topic-metadata">

**Author:** [@Narahari\_n\_Savitha](https://forum.ansible.com/u/Narahari_n_Savitha)\
**Replies:** 7\
**Last updated:** [June 28, 2019, 5:04pm UTC](https://forum.ansible.com/t/ansible-playbook-in-json-format-not-working/30662 "2019-06-28T17:04:13Z")

</div>

Hello Folkds: Thank you in advance for your time and attention. I wrote a playbook in the json format. \[ { “name”: “Test the json mode” “hosts”: “cool\_columbus”, “tasks”: \[ { “name”: “First task” “shell”: { “…

---

## [Jobs hanging in tower](https://forum.ansible.com/t/jobs-hanging-in-tower/30685)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 4:55pm UTC](https://forum.ansible.com/t/jobs-hanging-in-tower/30685 "2019-06-28T16:55:22Z")

</div>

Hello, I’m looking for some suggestions or guidance. We are running on ansible tower version 3.3.3 and core 2.7.0 and all of the sudden have observed that jobs are hanging without any stdout or anything. Tried to looku…

---

## [Can lock\_timeout be applied to a role that uses package module?](https://forum.ansible.com/t/can-lock-timeout-be-applied-to-a-role-that-uses-package-module/30677)

<div class="topic-metadata">

**Author:** [@Scott\_Lundgren](https://forum.ansible.com/u/Scott_Lundgren)\
**Replies:** 3\
**Last updated:** [June 28, 2019, 2:24pm UTC](https://forum.ansible.com/t/can-lock-timeout-be-applied-to-a-role-that-uses-package-module/30677 "2019-06-28T14:24:19Z")

</div>

If I’m calling the role newrelic.newrelic-infra that uses the package module, is there a way to set or override lock\_timeout’s default value of 0 ? Can you suggest another solution than forking the role, rewriting the t…

---

## [line break with lookup](https://forum.ansible.com/t/line-break-with-lookup/30682)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 1:32pm UTC](https://forum.ansible.com/t/line-break-with-lookup/30682 "2019-06-28T13:32:49Z")

</div>

Hy all, I have one file my\_file with this content : myfirstparaphrase I have this task : set\_fact: variable1: “{{ lookup(‘file’, ‘/home/ansible/my\_file’) | replace(’ ', ‘\\n’) }}” I want that in the end of my phras…

---

## [create an vault in AWX 5.0 multi environment](https://forum.ansible.com/t/create-an-vault-in-awx-5-0-multi-environment/30684)

<div class="topic-metadata">

**Author:** [@Scott\_R\_Bowe](https://forum.ansible.com/u/Scott_R_Bowe)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 11:26am UTC](https://forum.ansible.com/t/create-an-vault-in-awx-5-0-multi-environment/30684 "2019-06-28T11:26:45Z")

</div>

https://docs.ansible.com/ansible-tower/latest/html/userguide/credentials.html This will hopefully help

---

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

[Previous page](https://forum.ansible.com/c/archives/31.md?page=277)

[Next page](https://forum.ansible.com/c/archives/31.md?page=279)
