# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=162

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

**Page:** 163

---

## [Understanding of REMOTE\_USER II: Command ID in the managed host](https://forum.ansible.com/t/understanding-of-remote-user-ii-command-id-in-the-managed-host/31431)

<div class="topic-metadata">

**Author:** [@Vicente\_Dominguez](https://forum.ansible.com/u/Vicente_Dominguez)\
**Replies:** 4\
**Last updated:** [October 7, 2019, 9:21pm UTC](https://forum.ansible.com/t/understanding-of-remote-user-ii-command-id-in-the-managed-host/31431 "2019-10-07T21:21:35Z")

</div>

Hello everybody, Regarding the understanding of how the REMOTE\_USER works in managed hosts… I’ve created a playbook which executes the command ID, with the aim of knowing who is the user executing the action in the man…

---

## [Understanding Ansible remote user](https://forum.ansible.com/t/understanding-ansible-remote-user/31430)

<div class="topic-metadata">

**Author:** [@Vicente\_Dominguez](https://forum.ansible.com/u/Vicente_Dominguez)\
**Replies:** 3\
**Last updated:** [October 7, 2019, 5:02pm UTC](https://forum.ansible.com/t/understanding-ansible-remote-user/31430 "2019-10-07T17:02:38Z")

</div>

I am sure that this is probably a silly question, but It’s the basis for the preparation for Ansible certification exam. I have troubles with the understanding of the Ansible remote\_user. Let’s imagine that you have a c…

---

## [Logs are not displaying](https://forum.ansible.com/t/logs-are-not-displaying/31429)

<div class="topic-metadata">

**Author:** [@Revanth\_Mallikarjun](https://forum.ansible.com/u/Revanth_Mallikarjun)\
**Replies:** 1\
**Last updated:** [October 7, 2019, 4:22pm UTC](https://forum.ansible.com/t/logs-are-not-displaying/31429 "2019-10-07T16:22:44Z")

</div>

I'm not able to see the logs for few of the tasks, Awx job will get failed and it doesn't show any logs . For example, if the task was to install a package using yum . It just stops there and get failed.I have trie…

---

## [Managing Windows Host?](https://forum.ansible.com/t/managing-windows-host/31424)

<div class="topic-metadata">

**Author:** [@Stephen\_Feyrer](https://forum.ansible.com/u/Stephen_Feyrer)\
**Replies:** 3\
**Last updated:** [October 7, 2019, 2:04pm UTC](https://forum.ansible.com/t/managing-windows-host/31424 "2019-10-07T14:04:00Z")

</div>

Hi everyone, I apologise, I am new to Ansible and this is rather open ended. After extensive use of the documentation I have my inventory, vars, vault and playbook all working together. However, there is room for impro…

---

## [How to use variables from one task in another task](https://forum.ansible.com/t/how-to-use-variables-from-one-task-in-another-task/31321)

<div class="topic-metadata">

**Author:** [@Srinivas\_Naram](https://forum.ansible.com/u/Srinivas_Naram)\
**Replies:** 16\
**Last updated:** [October 7, 2019, 11:55am UTC](https://forum.ansible.com/t/how-to-use-variables-from-one-task-in-another-task/31321 "2019-10-07T11:55:47Z")

</div>

Hello Ansible Gurus, I am new to Ansible and trying to get my hands dirty on playbooks. I wrote an yaml file to use a variable from one host tasks to another. Here is my code ( logically this code may not make sense in …

---

## [win\_domain\_group returns no output/error](https://forum.ansible.com/t/win-domain-group-returns-no-output-error/31427)

<div class="topic-metadata">

**Author:** [@Philipp-Michael\_Radl](https://forum.ansible.com/u/Philipp-Michael_Radl)\
**Replies:** 0\
**Last updated:** [October 7, 2019, 6:16am UTC](https://forum.ansible.com/t/win-domain-group-returns-no-output-error/31427 "2019-10-07T06:16:14Z")

</div>

I am trying to create a few AD groups from a remote RHEL development machine. However, when my playbook reaches this task: \` name: “AD | Create access group” win\_domain\_group: name: “GLS\_{{ servername }}access" cat…

---

## [How to execute two tasks under a play ?](https://forum.ansible.com/t/how-to-execute-two-tasks-under-a-play/31412)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 3\
**Last updated:** [October 6, 2019, 4:37am UTC](https://forum.ansible.com/t/how-to-execute-two-tasks-under-a-play/31412 "2019-10-06T04:37:11Z")

</div>

My requirement is to run two tasks i.e “Load Deployment1.” & “Load Deployment2.” in my Play 4. Below is my playbook: \` name: Play 4 hosts: localhost tasks: name: “Load Deployment1.” tags: deploy include\_vars: fi…

---

## [Ansible return code ok or ko](https://forum.ansible.com/t/ansible-return-code-ok-or-ko/31416)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 4\
**Last updated:** [October 5, 2019, 8:35am UTC](https://forum.ansible.com/t/ansible-return-code-ok-or-ko/31416 "2019-10-05T08:35:08Z")

</div>

Hey, I want to know if possible that Ansible, when he finish deployment, he display return code. I d’ont know the value of this return code but i want a return code. For exemple : 0 → The deploiement it’s OK 1 → The…

---

## [Reloading python modules/environment mid-play](https://forum.ansible.com/t/reloading-python-modules-environment-mid-play/31425)

<div class="topic-metadata">

**Author:** [@Mike\_A](https://forum.ansible.com/u/Mike_A)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 10:57am UTC](https://forum.ansible.com/t/reloading-python-modules-environment-mid-play/31425 "2019-10-04T10:57:24Z")

</div>

I currently have an interesting scenario that I wonder if anyone has found the solution for. We are running ansible on RHEL7 managing Windows boxes which unfortunately means we hit a couple of issues around pyOpenSSL ve…

---

## [Software Update using Ansible with Zero system down time](https://forum.ansible.com/t/software-update-using-ansible-with-zero-system-down-time/31421)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 1\
**Last updated:** [October 4, 2019, 10:40am UTC](https://forum.ansible.com/t/software-update-using-ansible-with-zero-system-down-time/31421 "2019-10-04T10:40:21Z")

</div>

Hi All, I am trying to address the use case of Software update(can be downgrade or upgrade) using yum or shell module. So i have Application server with some application (.ear ) deployed . But when I upate the rpms (wh…

---

## [pip docker install](https://forum.ansible.com/t/pip-docker-install/31407)

<div class="topic-metadata">

**Author:** [@Alfredo\_De\_Luca](https://forum.ansible.com/u/Alfredo_De_Luca)\
**Replies:** 10\
**Last updated:** [October 4, 2019, 9:56am UTC](https://forum.ansible.com/t/pip-docker-install/31407 "2019-10-04T09:56:25Z")

</div>

Hi all. I have the following… name: Install pip package: name: python-pip update\_cache: true state: present name: Install docker libs with pip pip: name: docker state: present executable: pip When I run…

---

## [Vmware Dynamic Inventory Plugin](https://forum.ansible.com/t/vmware-dynamic-inventory-plugin/31417)

<div class="topic-metadata">

**Author:** [@Scott\_MacDonald](https://forum.ansible.com/u/Scott_MacDonald)\
**Replies:** 0\
**Last updated:** [October 3, 2019, 7:49pm UTC](https://forum.ansible.com/t/vmware-dynamic-inventory-plugin/31417 "2019-10-03T19:49:02Z")

</div>

Anybody know if the vmware inventory plugin has any knobs or buttons (i.e. filtering) to increase the performance of inventory lookup? Nothing listed in the docs https://docs.ansible.com/ansible/latest/scenario\_guides/v…

---

## [b64decode returning wrong results in slurp](https://forum.ansible.com/t/b64decode-returning-wrong-results-in-slurp/31405)

<div class="topic-metadata">

**Author:** [@Karim\_Torkmen](https://forum.ansible.com/u/Karim_Torkmen)\
**Replies:** 3\
**Last updated:** [October 3, 2019, 5:33pm UTC](https://forum.ansible.com/t/b64decode-returning-wrong-results-in-slurp/31405 "2019-10-03T17:33:41Z")

</div>

Hi, I am using the slurp module to retrieve and decode a binary file. However, I am getting wrong output with binary starting with 1F EF BD instead of what I have in a decoded file with other tools: 1F 8B 08 name: Re…

---

## [Firewalld settings dont persist when service restarted.](https://forum.ansible.com/t/firewalld-settings-dont-persist-when-service-restarted/31415)

<div class="topic-metadata">

**Author:** [@Dave\_Hill](https://forum.ansible.com/u/Dave_Hill)\
**Replies:** 0\
**Last updated:** [October 3, 2019, 3:00pm UTC](https://forum.ansible.com/t/firewalld-settings-dont-persist-when-service-restarted/31415 "2019-10-03T15:00:36Z")

</div>

I have the following code, which works fine with ansible. However i’ve noticed when i restart my firewall service, my settings appear to not persist. Any idea why? Ansible 2.7 Before service restart (with ansible config…

---

## [Access group\_vars from custom network module](https://forum.ansible.com/t/access-group-vars-from-custom-network-module/31414)

<div class="topic-metadata">

**Author:** [@Alexandru\_Obretin](https://forum.ansible.com/u/Alexandru_Obretin)\
**Replies:** 0\
**Last updated:** [October 3, 2019, 12:55pm UTC](https://forum.ansible.com/t/access-group-vars-from-custom-network-module/31414 "2019-10-03T12:55:28Z")

</div>

Hello, I am developing some custom Ansible modules used for configuring network TAPs and they basically rely on a HTTP connection. Therefore, I have designed a httapi plugin module and I want to get the group\_vars infor…

---

## [Zabbix\_maintenance module not working](https://forum.ansible.com/t/zabbix-maintenance-module-not-working/31411)

<div class="topic-metadata">

**Author:** [@Miroslav\_Windhouwer](https://forum.ansible.com/u/Miroslav_Windhouwer)\
**Replies:** 0\
**Last updated:** [October 3, 2019, 12:40pm UTC](https://forum.ansible.com/t/zabbix-maintenance-module-not-working/31411 "2019-10-03T12:40:31Z")

</div>

Hey! I have been trying to use Ansible with the zabbix\_maintenance module but I keep getting an Error. I already used ‘pip install zabbix-api’ Successfully installed zabbix-api-0.5.4. There is only 1 python and pip ver…

---

## [When condition not working in a list](https://forum.ansible.com/t/when-condition-not-working-in-a-list/31410)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 0\
**Last updated:** [October 3, 2019, 7:44am UTC](https://forum.ansible.com/t/when-condition-not-working-in-a-list/31410 "2019-10-03T07:44:58Z")

</div>

Hi, I have yaml file as below. I parse the component and version and put the parsed value to a file by creating a list deliveries: releases: latest: tmoAa: file\_name: CXP\_902\_7801\_28.1.0\_20191001-024646.tar md5: f0…

---

## [Ansible error](https://forum.ansible.com/t/ansible-error/31409)

<div class="topic-metadata">

**Author:** [@Jhonathan\_Willian\_Pi](https://forum.ansible.com/u/Jhonathan_Willian_Pi)\
**Replies:** 2\
**Last updated:** [October 3, 2019, 5:57am UTC](https://forum.ansible.com/t/ansible-error/31409 "2019-10-03T05:57:26Z")

</div>

PLAY \[Deploy Signashop\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[10.0.1.142\] TASK \[deploy : Iniciando Deploy 'produc…

---

## [Help with psrp in ansible 2.7](https://forum.ansible.com/t/help-with-psrp-in-ansible-2-7/28561)

<div class="topic-metadata">

**Author:** [@Gil\_Shinar](https://forum.ansible.com/u/Gil_Shinar)\
**Replies:** 15\
**Last updated:** [October 1, 2019, 10:06pm UTC](https://forum.ansible.com/t/help-with-psrp-in-ansible-2-7/28561 "2019-10-01T22:06:40Z")

</div>

I have installed ansible 2.7 rc1 because I need a way to install stuff on a windows machine via Linux server as a tunnel. After reading and trial and error, I have realized that it cannot be done using WinRM but only us…

---

## [Module filesystem broken on RHEL8?](https://forum.ansible.com/t/module-filesystem-broken-on-rhel8/31402)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 0\
**Last updated:** [October 1, 2019, 5:44pm UTC](https://forum.ansible.com/t/module-filesystem-broken-on-rhel8/31402 "2019-10-01T17:44:03Z")

</div>

Hello, I have tried to run this task on RHEL 8 system and it doesn’t go well. The same task runs fine on RHEL 7. It does looks like this is a bug to me, anyone made a similar observation or can replicate it with ease? …

---

## [Problem with a sh installation](https://forum.ansible.com/t/problem-with-a-sh-installation/31382)

<div class="topic-metadata">

**Author:** [@Javier\_Esparza](https://forum.ansible.com/u/Javier_Esparza)\
**Replies:** 19\
**Last updated:** [October 1, 2019, 5:35pm UTC](https://forum.ansible.com/t/problem-with-a-sh-installation/31382 "2019-10-01T17:35:49Z")

</div>

Hello, first i want to say that my english is not good, but i wll to try, i’m new in Ansible too, Y have create my first playbok with instalation of very programas that i need but… here comes the questions. I want to in…

---

## [Launching applications remotely with GUI](https://forum.ansible.com/t/launching-applications-remotely-with-gui/31366)

<div class="topic-metadata">

**Author:** [@Harini\_K](https://forum.ansible.com/u/Harini_K)\
**Replies:** 3\
**Last updated:** [October 1, 2019, 12:18pm UTC](https://forum.ansible.com/t/launching-applications-remotely-with-gui/31366 "2019-10-01T12:18:58Z")

</div>

Reference to old post with the same problem : https://grokbase.com/p/gg/ansible-project/16442gt7pz/launching-applications-remotely-with-gui I tried with the below options of launching application in GUI mode both throu…

---

## [Become plugin](https://forum.ansible.com/t/become-plugin/31399)

<div class="topic-metadata">

**Author:** [@Torrpenn356](https://forum.ansible.com/u/Torrpenn356)\
**Replies:** 0\
**Last updated:** [October 1, 2019, 9:52am UTC](https://forum.ansible.com/t/become-plugin/31399 "2019-10-01T09:52:45Z")

</div>

Hello, I hope, I am posting my question on the right group, if not, please tell me I need to use a dedicated become method and want to know, if it is possible, or, if only the “official” ones are authorized. If it is …

---

## [AIX O/S version detection problems in Ansible 2.8](https://forum.ansible.com/t/aix-o-s-version-detection-problems-in-ansible-2-8/31392)

<div class="topic-metadata">

**Author:** [@Daniel\_Delin](https://forum.ansible.com/u/Daniel_Delin)\
**Replies:** 2\
**Last updated:** [October 1, 2019, 7:17am UTC](https://forum.ansible.com/t/aix-o-s-version-detection-problems-in-ansible-2-8/31392 "2019-10-01T07:17:20Z")

</div>

Hi, Noticed that a few of our playbooks failed to run on AIX after trying to move from 2.7.10 to 2.8.4 I´ve tracked it down to handling of the ansible\_distribution\_major\_version fact. We include variables in the playb…

---

## [Issues with ansible file system mount.](https://forum.ansible.com/t/issues-with-ansible-file-system-mount/31398)

<div class="topic-metadata">

**Author:** [@Karthick\_Thanigaiman](https://forum.ansible.com/u/Karthick_Thanigaiman)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 11:55pm UTC](https://forum.ansible.com/t/issues-with-ansible-file-system-mount/31398 "2019-09-30T23:55:39Z")

</div>

Hi, We are having an issue with one of our components where in the file system says not available even though the device is available (via Ansible). The instance is spinned up and via ansible we set the facts like s…

---

## [Tie a token to a template(Ansible)](https://forum.ansible.com/t/tie-a-token-to-a-template-ansible/31397)

<div class="topic-metadata">

**Author:** [@innatenew](https://forum.ansible.com/u/innatenew)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 8:42pm UTC](https://forum.ansible.com/t/tie-a-token-to-a-template-ansible/31397 "2019-09-30T20:42:49Z")

</div>

Hello, I have a requirement to call an ANSIBLE Job template endpoint from external application, but would like to restrict the the access of the token to a specific Job template only. My ID has access to many templates…

---

## [Administrator password parsing error while using run as](https://forum.ansible.com/t/administrator-password-parsing-error-while-using-run-as/31393)

<div class="topic-metadata">

**Author:** [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Replies:** 3\
**Last updated:** [September 30, 2019, 5:36pm UTC](https://forum.ansible.com/t/administrator-password-parsing-error-while-using-run-as/31393 "2019-09-30T17:36:53Z")

</div>

Hi All, I am getting error while using below playbook . Any idea how it can be achieved .

---

## [How to deploy apps through ansible using Hostname instead of IP if the System is in DHCP](https://forum.ansible.com/t/how-to-deploy-apps-through-ansible-using-hostname-instead-of-ip-if-the-system-is-in-dhcp/31343)

<div class="topic-metadata">

**Author:** [@Rajendra\_Acharya](https://forum.ansible.com/u/Rajendra_Acharya)\
**Replies:** 1\
**Last updated:** [September 30, 2019, 1:26pm UTC](https://forum.ansible.com/t/how-to-deploy-apps-through-ansible-using-hostname-instead-of-ip-if-the-system-is-in-dhcp/31343 "2019-09-30T13:26:11Z")

</div>

Hi, How can I deploy or install apps through Ansible using the hostname instead of IP, if my host system is in DHCP.

---

## [Problems with junos\_command rpcs](https://forum.ansible.com/t/problems-with-junos-command-rpcs/31395)

<div class="topic-metadata">

**Author:** [@treyd](https://forum.ansible.com/u/treyd)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 1:20pm UTC](https://forum.ansible.com/t/problems-with-junos-command-rpcs/31395 "2019-09-30T13:20:13Z")

</div>

Hello, I am having some trouble using the junos\_command with the rpcs option. I am trying to get the configuration from my router in xml format while using the ‘display inheritance’ option (to resolve groups and interfa…

---

## [F5 BIG-IP automation use-case in Public Clouds](https://forum.ansible.com/t/f5-big-ip-automation-use-case-in-public-clouds/25300)

<div class="topic-metadata">

**Author:** [@Payal\_Singh](https://forum.ansible.com/u/Payal_Singh)\
**Replies:** 3\
**Last updated:** [September 30, 2019, 9:08am UTC](https://forum.ansible.com/t/f5-big-ip-automation-use-case-in-public-clouds/25300 "2019-09-30T09:08:22Z")

</div>

Hello Ansible Users, I am part of the F5 BIG-IP team working to understand BIG-IP automation requirements using Ansible in Public Clouds (Amazon/Azure/GCP etc). If you are using Ansible for automation BIG-IP in these en…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=161)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=163)
