# Latest

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

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

**Page:** 482

---

## [build software RAID 0 with ansible](https://forum.ansible.com/t/build-software-raid-0-with-ansible/29731)

<div class="topic-metadata">

**Author:** [@rasul\_shaikh](https://forum.ansible.com/u/rasul_shaikh)\
**Replies:** 2\
**Last updated:** [February 21, 2019, 2:39pm UTC](https://forum.ansible.com/t/build-software-raid-0-with-ansible/29731 "2019-02-21T14:39:11Z")

</div>

Hello folks, i am trying build playbook to create software raid 0 using mdadm\_arrays module but having lots of confusion some one have the playbook to create software raid 0. Thanks, Rasul.

---

## [Fail to import a shared module from a custom module code using module\_utils configuration](https://forum.ansible.com/t/fail-to-import-a-shared-module-from-a-custom-module-code-using-module-utils-configuration/29733)

<div class="topic-metadata">

**Author:** [@Leo\_Y](https://forum.ansible.com/u/Leo_Y)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 1:12pm UTC](https://forum.ansible.com/t/fail-to-import-a-shared-module-from-a-custom-module-code-using-module-utils-configuration/29733 "2019-02-21T13:12:04Z")

</div>

Hi, We have the following setup (the simplified version): / /playbooks /playbooks/ansible.cfg /playbooks/test\_playbook.yml /library/ /library/ac/ /library/ac/custom\_module.py /library/module\_utils/ /library/mod…

---

## [This module requires the OpenShift Python client. Try \`pip install openshift](https://forum.ansible.com/t/this-module-requires-the-openshift-python-client-try-pip-install-openshift/29732)

<div class="topic-metadata">

**Author:** [@jindrich.kana](https://forum.ansible.com/u/jindrich.kana)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 10:53am UTC](https://forum.ansible.com/t/this-module-requires-the-openshift-python-client-try-pip-install-openshift/29732 "2019-02-21T10:53:59Z")

</div>

Hi All, I am relatively new to Ansible, so take a pardon for possible stupid question. I am running my role which should provision LDAP synchronization CronJob project with its PODs into the OpenShift 3.11. Of course i…

---

## [New LDAP error in AWX 3.0.1](https://forum.ansible.com/t/new-ldap-error-in-awx-3-0-1/29669)

<div class="topic-metadata">

**Author:** [@kristopher.d.ayala](https://forum.ansible.com/u/kristopher.d.ayala)\
**Replies:** 5\
**Last updated:** [February 21, 2019, 9:46am UTC](https://forum.ansible.com/t/new-ldap-error-in-awx-3-0-1/29669 "2019-02-21T09:46:16Z")

</div>

Hi All, After building the images for AWX 3.0.1 I am seeing a new LDAP error. 2019-02-13 14:54:15,180 WARNING django\_auth\_ldap Caught LDAPError while authenticating : SERVER\_DOWN({‘desc’: “Can’t contact LDAP server”, ‘…

---

## [Ansible SSH bastion host and changing SSH port](https://forum.ansible.com/t/ansible-ssh-bastion-host-and-changing-ssh-port/29729)

<div class="topic-metadata">

**Author:** [@Benny\_Kusman](https://forum.ansible.com/u/Benny_Kusman)\
**Replies:** 1\
**Last updated:** [February 21, 2019, 9:31am UTC](https://forum.ansible.com/t/ansible-ssh-bastion-host-and-changing-ssh-port/29729 "2019-02-21T09:31:40Z")

</div>

Hi, i got a question on how to change the SSH port via bastion host So, the setup is this: ansible server (on ssh port 6701) —\> Bastion server (on ssh port 6701) → linux server (on ssh port 22) i tried to add “ansibl…

---

## [AWX on top of existing ansible host](https://forum.ansible.com/t/awx-on-top-of-existing-ansible-host/29700)

<div class="topic-metadata">

**Author:** [@adpavlov](https://forum.ansible.com/u/adpavlov)\
**Replies:** 2\
**Last updated:** [February 21, 2019, 8:34am UTC](https://forum.ansible.com/t/awx-on-top-of-existing-ansible-host/29700 "2019-02-21T08:34:02Z")

</div>

Dear colleagues, I recently started exploring AWX and deployed it on the same host where ansible is already installed. I mounted my /home/ansible folder on physical server to AWX’s /var/lib/awx/projects and can access …

---

## [issues with tasks after upgrade](https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29727)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 12:31am UTC](https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29727 "2019-02-21T00:31:20Z")

</div>

Work task before upgrade: TASK \[config-seeding : Clean build directory\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py \<127.0.0.1\> ESTABLISH LOCAL C…

---

## [issues with tasks after upgrade](https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29726)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 12:29am UTC](https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29726 "2019-02-21T00:29:52Z")

</div>

Work task before upgrade: TASK \[config-seeding : Clean build directory\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py \<127.0.0.1\> ESTABLISH LOCAL C…

---

## [simple IP lookup plugin](https://forum.ansible.com/t/simple-ip-lookup-plugin/29715)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 2\
**Last updated:** [February 21, 2019, 12:13am UTC](https://forum.ansible.com/t/simple-ip-lookup-plugin/29715 "2019-02-21T00:13:01Z")

</div>

HI! Is there a simple example module how to implement an ansible (connection) plugin for looking up an IP address for establishing the SSH connection? I have a deployment where no DNS entries are present prior to initi…

---

## [Dynamic and smart inventories](https://forum.ansible.com/t/dynamic-and-smart-inventories/29723)

<div class="topic-metadata">

**Author:** [@Igor\_Turovsky](https://forum.ansible.com/u/Igor_Turovsky)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 6:00pm UTC](https://forum.ansible.com/t/dynamic-and-smart-inventories/29723 "2019-02-20T18:00:50Z")

</div>

Hello, I have Dynamic inventory populated by inventory script. The hosts in this inventory are Windows machines and related connection variables are set on all group level. There are also child groups. This part work…

---

## [Why does gather\_facts use the old IP address?](https://forum.ansible.com/t/why-does-gather-facts-use-the-old-ip-address/29724)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 5:58pm UTC](https://forum.ansible.com/t/why-does-gather-facts-use-the-old-ip-address/29724 "2019-02-20T17:58:00Z")

</div>

I am using Ansible 2.5.3 to build Debian servers on the linode.com web hosting service. When I provision a server with one Ansible playbook and then try to configure that server with a second Ansible playbook, that secon…

---

## [How to configure windows server with ansible using yml](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29718)

<div class="topic-metadata">

**Author:** [@rajendar\_t](https://forum.ansible.com/u/rajendar_t)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 5:56pm UTC](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29718 "2019-02-20T17:56:49Z")

</div>

Hi All, 1)How to turn off IE enhanced security using ansible 2) is there any I can configure user account in Windows server by using yml Thanks Rajedar

---

## [obtaining hostnames and groups](https://forum.ansible.com/t/obtaining-hostnames-and-groups/29722)

<div class="topic-metadata">

**Author:** [@S\_C\_Rigler](https://forum.ansible.com/u/S_C_Rigler)\
**Replies:** 0\
**Last updated:** [February 20, 2019, 4:49pm UTC](https://forum.ansible.com/t/obtaining-hostnames-and-groups/29722 "2019-02-20T16:49:24Z")

</div>

Use "{{ group\_names }}". There can be more than one group, so you'll likely need to join them with something like "{{ group\_names | join(', ') }}" --Steve

---

## [AWX docker containers running as non-root](https://forum.ansible.com/t/awx-docker-containers-running-as-non-root/29701)

<div class="topic-metadata">

**Author:** [@aeiffel970](https://forum.ansible.com/u/aeiffel970)\
**Replies:** 2\
**Last updated:** [February 20, 2019, 3:50pm UTC](https://forum.ansible.com/t/awx-docker-containers-running-as-non-root/29701 "2019-02-20T15:50:06Z")

</div>

Having followed the docker install instructions, I notice that although the postgres and memcached containers are running as non-root, the awx\_web and awx\_task containers are running as root. I am pretty new to docker b…

---

## [Azure SQL DB Firewall and Virtual networks access](https://forum.ansible.com/t/azure-sql-db-firewall-and-virtual-networks-access/29721)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 0\
**Last updated:** [February 20, 2019, 2:47pm UTC](https://forum.ansible.com/t/azure-sql-db-firewall-and-virtual-networks-access/29721 "2019-02-20T14:47:47Z")

</div>

Hi, The Azure SQL DB Firewall module \[1\] seems to miss virtual network rules (Azure docs on that are in \[2\]). The REST API is described in \[3\]. Is there a plan to add this feature? Wawrzek \[1\] https://docs.ansible.c…

---

## [awx external logging to graylog](https://forum.ansible.com/t/awx-external-logging-to-graylog/29720)

<div class="topic-metadata">

**Author:** [@Ansible\_Madness](https://forum.ansible.com/u/Ansible_Madness)\
**Replies:** 0\
**Last updated:** [February 20, 2019, 1:52pm UTC](https://forum.ansible.com/t/awx-external-logging-to-graylog/29720 "2019-02-20T13:52:08Z")

</div>

Has anyone managed to get AWX to log externally to graylog (2.4 - will upgrade to 3.x soon)? If so could you advise on which logging aggregator type to use in AWX as well as what listener type to use on graylog side? I…

---

## [Has anybody succesfully used the gcp\_compute plugin with auth\_kind: machineaccount?](https://forum.ansible.com/t/has-anybody-succesfully-used-the-gcp-compute-plugin-with-auth-kind-machineaccount/28666)

<div class="topic-metadata">

**Author:** [@Mpampis\_Mpigkonias](https://forum.ansible.com/u/Mpampis_Mpigkonias)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 12:38pm UTC](https://forum.ansible.com/t/has-anybody-succesfully-used-the-gcp-compute-plugin-with-auth-kind-machineaccount/28666 "2019-02-20T12:38:27Z")

</div>

There is some lack of documentation when it comes on using the gcp\_compute plugin a different auth\_kind other thatn serviceaccount. My yml is this: plugin: gcp\_compute projects: my\_project service\_account\_email: m…

---

## [Having problems with a variable in vars\_files](https://forum.ansible.com/t/having-problems-with-a-variable-in-vars-files/29685)

<div class="topic-metadata">

**Author:** [@Brian\_O\_Mahony](https://forum.ansible.com/u/Brian_O_Mahony)\
**Replies:** 6\
**Last updated:** [February 20, 2019, 11:52am UTC](https://forum.ansible.com/t/having-problems-with-a-variable-in-vars-files/29685 "2019-02-20T11:52:13Z")

</div>

I am having an issue with referencing a variable in var\_files module, and cant for the life of me figure it out. I am generating some vars in a playbook, and using setfact on them \[basically awk shell commands to strip a…

---

## [How to  configure windows server with ansible using yml](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29717)

<div class="topic-metadata">

**Author:** [@rajendar\_t](https://forum.ansible.com/u/rajendar_t)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 10:54am UTC](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29717 "2019-02-20T10:54:35Z")

</div>

Hi All, 1)How to turn off IE enhanced security using ansible 2) is there any I can configure user account in Windows server by using yml Thanks Rajedar

---

## [Want to know ansible keyword](https://forum.ansible.com/t/want-to-know-ansible-keyword/29598)

<div class="topic-metadata">

**Author:** [@PREM\_PRATAP](https://forum.ansible.com/u/PREM_PRATAP)\
**Replies:** 2\
**Last updated:** [February 19, 2019, 11:11pm UTC](https://forum.ansible.com/t/want-to-know-ansible-keyword/29598 "2019-02-19T23:11:17Z")

</div>

Sir if someone change the content of a copied file on a remote machine then if i copy it again it will change the content . What this feature of ansible is called?

---

## [AWX 3.0.1 virtual env bugs?](https://forum.ansible.com/t/awx-3-0-1-virtual-env-bugs/29710)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 10:13pm UTC](https://forum.ansible.com/t/awx-3-0-1-virtual-env-bugs/29710 "2019-02-19T22:13:41Z")

</div>

\*\*@\*\*Matthew Jones, some feedback would be appreciated on this. I think the virtual environments in 3.0.1 introduced some big bugs. I need to run some tasks on the awx\_celery container. I use host:127.0.0.1 and connect…

---

## [Any change concerning the stdout callback in AWX?](https://forum.ansible.com/t/any-change-concerning-the-stdout-callback-in-awx/29716)

<div class="topic-metadata">

**Author:** [@wutufubapoobah](https://forum.ansible.com/u/wutufubapoobah)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 10:08pm UTC](https://forum.ansible.com/t/any-change-concerning-the-stdout-callback-in-awx/29716 "2019-02-19T22:08:25Z")

</div>

Nearly a year ago, MarcG posted to this forum the message titled “How to change the stdout callback in AWX”. In it, he asked how can we change the stdout callback that determines how text from stdout appears under the A…

---

## [Hostname mismatch: node X believes its host is different](https://forum.ansible.com/t/hostname-mismatch-node-x-believes-its-host-is-different/29711)

<div class="topic-metadata">

**Author:** [@mrplainswalker](https://forum.ansible.com/u/mrplainswalker)\
**Replies:** 2\
**Last updated:** [February 19, 2019, 9:12pm UTC](https://forum.ansible.com/t/hostname-mismatch-node-x-believes-its-host-is-different/29711 "2019-02-19T21:12:47Z")

</div>

Hi All, I realize that this topic is incredibly popular and I’ve gone through about 10 others talking about the same thing, but nothing they suggest seems to work, so here’s another one… I have Erlang OTP 20.2 and Rabb…

---

## [Getting MemoryError when executing task hdfs dfs -format; how to fix / troubleshoot?](https://forum.ansible.com/t/getting-memoryerror-when-executing-task-hdfs-dfs-format-how-to-fix-troubleshoot/29714)

<div class="topic-metadata">

**Author:** [@dgoldenberg](https://forum.ansible.com/u/dgoldenberg)\
**Replies:** 0\
**Last updated:** [February 19, 2019, 8:22pm UTC](https://forum.ansible.com/t/getting-memoryerror-when-executing-task-hdfs-dfs-format-how-to-fix-troubleshoot/29714 "2019-02-19T20:22:18Z")

</div>

We have a task in our Ansible based deploy which performs formatting of HDFS using the hdfs dfs -format command. This command causes a MemoryError. We can see that there is a Python process on the target box which gobbl…

---

## [optional template?](https://forum.ansible.com/t/optional-template/29713)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 0\
**Last updated:** [February 19, 2019, 8:11pm UTC](https://forum.ansible.com/t/optional-template/29713 "2019-02-19T20:11:26Z")

</div>

Hi! I am installing some packages based on a list, and I would like to put a config file in place for each package, however I would like the config file to be optional. For example, if I have this list of packages to ins…

---

## [Keys for role names in "roles:" section](https://forum.ansible.com/t/keys-for-role-names-in-roles-section/29712)

<div class="topic-metadata">

**Author:** [@Rich\_Fletcher](https://forum.ansible.com/u/Rich_Fletcher)\
**Replies:** 0\
**Last updated:** [February 19, 2019, 8:09pm UTC](https://forum.ansible.com/t/keys-for-role-names-in-roles-section/29712 "2019-02-19T20:09:11Z")

</div>

At some point in the past, the documentation specified that role names (for roles with arguments) in the roles: section were indicated by a name: key. Now, the documentation examples show that role names in that section …

---

## [Getting error in using register module](https://forum.ansible.com/t/getting-error-in-using-register-module/29708)

<div class="topic-metadata">

**Author:** [@sajal\_tiwari](https://forum.ansible.com/u/sajal_tiwari)\
**Replies:** 4\
**Last updated:** [February 19, 2019, 6:18pm UTC](https://forum.ansible.com/t/getting-error-in-using-register-module/29708 "2019-02-19T18:18:53Z")

</div>

Hello, I am getting below error while using register module with network modules(ios\_command & nxos\_command). Can someone help on the issue. ERROR! Module “register” shadows the name of a reserved keyword. Please rena…

---

## [Loop over two lists variables in inventory file via jinja2 -- similar to zip() function in python](https://forum.ansible.com/t/loop-over-two-lists-variables-in-inventory-file-via-jinja2-similar-to-zip-function-in-python/29709)

<div class="topic-metadata">

**Author:** [@sahitansar](https://forum.ansible.com/u/sahitansar)\
**Replies:** 2\
**Last updated:** [February 19, 2019, 6:03pm UTC](https://forum.ansible.com/t/loop-over-two-lists-variables-in-inventory-file-via-jinja2-similar-to-zip-function-in-python/29709 "2019-02-19T18:03:59Z")

</div>

my inventory file is like below with more additional group\_vars and host\_vars that I havent mentioned here for simplicity: I dont want to use host\_vars as of now. \[qa\] host1 var1=‘\[“hi” , “xy”\]’ var2=\[435345, 3425634\] …

---

## [If condition in ansible jinja2 template](https://forum.ansible.com/t/if-condition-in-ansible-jinja2-template/29707)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 9\
**Last updated:** [February 19, 2019, 4:51pm UTC](https://forum.ansible.com/t/if-condition-in-ansible-jinja2-template/29707 "2019-02-19T16:51:53Z")

</div>

Search keyword in “host\_fqdn” variable. If the value has “lab.com” keyword in it, it should directly store the value to “host\_fqdn” again or else it should add “lab.com” keyword to the value and store it to “host\_fqdn” …

---

## [New GCP Magic Module Contirbution](https://forum.ansible.com/t/new-gcp-magic-module-contirbution/29706)

<div class="topic-metadata">

**Author:** [@sagar\_mache](https://forum.ansible.com/u/sagar_mache)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 3:00pm UTC](https://forum.ansible.com/t/new-gcp-magic-module-contirbution/29706 "2019-02-19T15:00:33Z")

</div>

Hi, I have created one GCP magic module for Ansible, I would like to contribute this module to the community. Can anybody know the exact contribution procedure for raising of pull request. Thanks, Sagar Mache

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

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