# Latest

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

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

**Page:** 564

---

## [Ansible custom module\_utils in Ansible 2.1 & 2.2](https://forum.ansible.com/t/ansible-custom-module-utils-in-ansible-2-1-2-2/27310)

<div class="topic-metadata">

**Author:** [@Raja\_Shekar](https://forum.ansible.com/u/Raja_Shekar)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 3:37pm UTC](https://forum.ansible.com/t/ansible-custom-module-utils-in-ansible-2-1-2-2/27310 "2018-04-18T15:37:44Z")

</div>

Hi, I am working on Juniper.junos role. We are trying to correct our module\_utils import style to include ansiballz framework. Currently, for our role we support Ansible \>= 2.1. I understand that there was no custom mod…

---

## [end\_play with verbocity level?](https://forum.ansible.com/t/end-play-with-verbocity-level/27307)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 1:59pm UTC](https://forum.ansible.com/t/end-play-with-verbocity-level/27307 "2018-04-18T13:59:10Z")

</div>

Is there any way (maybe not with meta:) to end a play with a verbosity level? I don’t think the following does exist, but expresses well what I am looking for. ie. \` meta: end\_play verbosity: 2 \`

---

## [Request for member to help merge #33634](https://forum.ansible.com/t/request-for-member-to-help-merge-33634/27314)

<div class="topic-metadata">

**Author:** [@cn13](https://forum.ansible.com/u/cn13)\
**Replies:** 0\
**Last updated:** [April 18, 2018, 1:14pm UTC](https://forum.ansible.com/t/request-for-member-to-help-merge-33634/27314 "2018-04-18T13:14:33Z")

</div>

Hello, Please may a member help get this PR merged: https://github.com/ansible/ansible/pull/33634? Thanks, Colin

---

## [Ansible role with a reboot fails](https://forum.ansible.com/t/ansible-role-with-a-reboot-fails/27304)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [April 18, 2018, 1:08pm UTC](https://forum.ansible.com/t/ansible-role-with-a-reboot-fails/27304 "2018-04-18T13:08:40Z")

</div>

I’ve trying to write an Ansible role that upgrades Github. The command to upgrade the server “ghe-upgrade github-2.13.1.pkg” for example, reboots the server, and when that happens, I get, the following connection because…

---

## [Problem with copy module in ansible 2.5](https://forum.ansible.com/t/problem-with-copy-module-in-ansible-2-5/27312)

<div class="topic-metadata">

**Author:** [@Fatima\_Elfakih](https://forum.ansible.com/u/Fatima_Elfakih)\
**Replies:** 0\
**Last updated:** [April 18, 2018, 8:48am UTC](https://forum.ansible.com/t/problem-with-copy-module-in-ansible-2-5/27312 "2018-04-18T08:48:10Z")

</div>

hello, I have a problem with ansible 2.5 and i don’t have the same behaviour with 2.2 When I copy a folder contain just a folder I have an OK not Changed example: name: copy files share copy: dest: “/opt/” mode: …

---

## [error query sqlcmd](https://forum.ansible.com/t/error-query-sqlcmd/27308)

<div class="topic-metadata">

**Author:** [@Christovam\_Paynes\_Si](https://forum.ansible.com/u/Christovam_Paynes_Si)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 12:07am UTC](https://forum.ansible.com/t/error-query-sqlcmd/27308 "2018-04-18T00:07:34Z")

</div>

Hi, okay? I’m new to ansible, so understand my rookie mistakes, rsrsrs. I’m having an error interpreting my query. From what I realized the problem is in the comma, when you get into it the Ansible gives the error below…

---

## [Failed logic with when statement](https://forum.ansible.com/t/failed-logic-with-when-statement/27305)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 4\
**Last updated:** [April 17, 2018, 9:00pm UTC](https://forum.ansible.com/t/failed-logic-with-when-statement/27305 "2018-04-17T21:00:45Z")

</div>

I have a variable ‘ntp\_timezone’ set to UTC by default. I am trying to override it in certain situation, but this ALWAYS overrides it. I think something with my logic is wrong and could use another pair of eyes: NOTE: a…

---

## [Correct way to login via api](https://forum.ansible.com/t/correct-way-to-login-via-api/27255)

<div class="topic-metadata">

**Author:** [@katie111](https://forum.ansible.com/u/katie111)\
**Replies:** 3\
**Last updated:** [April 17, 2018, 7:08pm UTC](https://forum.ansible.com/t/correct-way-to-login-via-api/27255 "2018-04-17T19:08:42Z")

</div>

Hi I am writing a small app in Go to log in to AWX and launch a job template. I was trying to use /api/v2/authtoken but I have seen from github that this seems to be removed. I get “detail”: “The requested resource co…

---

## [nmcli team slave creation error CentOS 7.4](https://forum.ansible.com/t/nmcli-team-slave-creation-error-centos-7-4/27303)

<div class="topic-metadata">

**Author:** [@ryan\_prihoda](https://forum.ansible.com/u/ryan_prihoda)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 5:57pm UTC](https://forum.ansible.com/t/nmcli-team-slave-creation-error-centos-7-4/27303 "2018-04-17T17:57:12Z")

</div>

Has anyone seen this error before ? There is no “slave-type” in the nmcli module. “msg”: “Error: Failed to modify connection ‘em1’: connection.slave-type: Cannot set ‘master’ without ‘slave-type’\\n”, \`

---

## [dict object has no attribute](https://forum.ansible.com/t/dict-object-has-no-attribute/27302)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 4:48pm UTC](https://forum.ansible.com/t/dict-object-has-no-attribute/27302 "2018-04-17T16:48:51Z")

</div>

Hi all, I have the following playbook , and when I exeute it I get this error. I added the output fact also. ailed: \[r3 → localhost\] (item=zLJIsEYAtkH.0n4\_cMKj) =\> { “changed”: false, “item”: “zLJIsEYAtkH.0n4\_cMKj”, …

---

## [Ansible 2.5 is not accepting dynamic hosts variable](https://forum.ansible.com/t/ansible-2-5-is-not-accepting-dynamic-hosts-variable/27121)

<div class="topic-metadata">

**Author:** [@rummandba](https://forum.ansible.com/u/rummandba)\
**Replies:** 3\
**Last updated:** [April 17, 2018, 3:21pm UTC](https://forum.ansible.com/t/ansible-2-5-is-not-accepting-dynamic-hosts-variable/27121 "2018-04-17T15:21:42Z")

</div>

Hi, I have upgraded to Ansible 2.5 right now and facing an issue with variable hosts such as: --- - hosts: "{{ dbhosts }}" gather\_facts: false vars\_prompt: - name: dbhosts prompt: "Which hosts would you like to ru…

---

## [How to achieve sudo su  - root and run all command in ansible](https://forum.ansible.com/t/how-to-achieve-sudo-su-root-and-run-all-command-in-ansible/25183)

<div class="topic-metadata">

**Author:** [@Ganesh\_Batwal](https://forum.ansible.com/u/Ganesh_Batwal)\
**Replies:** 2\
**Last updated:** [April 17, 2018, 2:40pm UTC](https://forum.ansible.com/t/how-to-achieve-sudo-su-root-and-run-all-command-in-ansible/25183 "2018-04-17T14:40:24Z")

</div>

Hi All, We are not able to switch the ansible playbook connection to root id. eg. “sudo su -” and then execute the privilege commands. Kindly check and advice on correct approach. Error messages :-"Sorry, user ganeshba…

---

## [How to add multiple ssh keys from Github to a single deploy-style user?](https://forum.ansible.com/t/how-to-add-multiple-ssh-keys-from-github-to-a-single-deploy-style-user/27295)

<div class="topic-metadata">

**Author:** [@ejfeldhusen](https://forum.ansible.com/u/ejfeldhusen)\
**Replies:** 3\
**Last updated:** [April 17, 2018, 1:32pm UTC](https://forum.ansible.com/t/how-to-add-multiple-ssh-keys-from-github-to-a-single-deploy-style-user/27295 "2018-04-17T13:32:13Z")

</div>

I have a user that is a deploy-style user for a specific project, so I’m trying to figure out if it’s possible to use the authorized\_key module to do that. I’ve tried something like this below and I get an error attempt…

---

## [Let's default to the YAML stdout callback](https://forum.ansible.com/t/lets-default-to-the-yaml-stdout-callback/27301)

<div class="topic-metadata">

**Author:** [@Tobias\_Wolf](https://forum.ansible.com/u/Tobias_Wolf)\
**Replies:** 1\
**Last updated:** [April 17, 2018, 11:39am UTC](https://forum.ansible.com/t/lets-default-to-the-yaml-stdout-callback/27301 "2018-04-17T11:39:55Z")

</div>

I’m writing to suggest to enable YAML’ized output by default. Ansible 2.5 comes with the new 'yaml’ callback plugin, which is such a radical usability improvement, that I’m asking myslf, why this is not the default. Th…

---

## [Getting time out and unable to open shell error for eos\_modules such as eos\_command](https://forum.ansible.com/t/getting-time-out-and-unable-to-open-shell-error-for-eos-modules-such-as-eos-command/27300)

<div class="topic-metadata">

**Author:** [@Shubham\_Gampawar](https://forum.ansible.com/u/Shubham_Gampawar)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 10:18am UTC](https://forum.ansible.com/t/getting-time-out-and-unable-to-open-shell-error-for-eos-modules-such-as-eos-command/27300 "2018-04-17T10:18:50Z")

</div>

Hi there, I am working on eos\_ switches but when I am trying to get device running configuration, instead of the device running-config I am getting following error. I there any bug in 2.5 for Eos modules. fatal: \[192.6…

---

## [Getting time out error for eos\_modules such as eos\_command](https://forum.ansible.com/t/getting-time-out-error-for-eos-modules-such-as-eos-command/27299)

<div class="topic-metadata">

**Author:** [@Shubham\_Gampawar](https://forum.ansible.com/u/Shubham_Gampawar)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 10:16am UTC](https://forum.ansible.com/t/getting-time-out-error-for-eos-modules-such-as-eos-command/27299 "2018-04-17T10:16:55Z")

</div>

Hi there, I am working on eos\_ switches but when I am trying to get device running configuration, instead of the device running-config I am getting following error. I there any open bug in 2.5 for Eos modules. fatal: \[…

---

## [HP ILO set from ansible (no OS installed)](https://forum.ansible.com/t/hp-ilo-set-from-ansible-no-os-installed/27224)

<div class="topic-metadata">

**Author:** [@Benny\_Kusman](https://forum.ansible.com/u/Benny_Kusman)\
**Replies:** 6\
**Last updated:** [April 17, 2018, 9:32am UTC](https://forum.ansible.com/t/hp-ilo-set-from-ansible-no-os-installed/27224 "2018-04-17T09:32:43Z")

</div>

Hi, has anyone implemented setting up HP ILO using ansible, when the server has no OS yet ? if the server has been installed and has hponcfg command, there is ansible module for it. But wondering, if anyone has tried …

---

## [register a variable created from other variables?](https://forum.ansible.com/t/register-a-variable-created-from-other-variables/27298)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [April 17, 2018, 9:18am UTC](https://forum.ansible.com/t/register-a-variable-created-from-other-variables/27298 "2018-04-17T09:18:13Z")

</div>

I have several roles that create various numbers of security groups. I have another role that creates an instance. I want the second role to be re-usable, and to be usable with the roles that create security groups. S…

---

## [include not working](https://forum.ansible.com/t/include-not-working/27276)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 4\
**Last updated:** [April 17, 2018, 9:17am UTC](https://forum.ansible.com/t/include-not-working/27276 "2018-04-17T09:17:43Z")

</div>

Hi all I have the following playbook !

---

## [Ansible Playbook running for longtime/indefinitely for windows 2012 R2 Ansible Playbook](https://forum.ansible.com/t/ansible-playbook-running-for-longtime-indefinitely-for-windows-2012-r2-ansible-playbook/26931)

<div class="topic-metadata">

**Author:** [@Namasivayam\_C](https://forum.ansible.com/u/Namasivayam_C)\
**Replies:** 6\
**Last updated:** [April 17, 2018, 8:33am UTC](https://forum.ansible.com/t/ansible-playbook-running-for-longtime-indefinitely-for-windows-2012-r2-ansible-playbook/26931 "2018-04-17T08:33:08Z")

</div>

I am new to Ansible and I’m trying to configure windows 2012 R2 from RHEL 7 Ansible Node. I’m able to establish connection between them using Winrm Credssp. Below is /etc/ansible/group\_vars/windows.yml file COMPONENT NA…

---

## [return more than process id in ansible when i use ps in shell module! why?](https://forum.ansible.com/t/return-more-than-process-id-in-ansible-when-i-use-ps-in-shell-module-why/27297)

<div class="topic-metadata">

**Author:** [@Ghasem\_keshavarz\_had](https://forum.ansible.com/u/Ghasem_keshavarz_had)\
**Replies:** 1\
**Last updated:** [April 17, 2018, 8:24am UTC](https://forum.ansible.com/t/return-more-than-process-id-in-ansible-when-i-use-ps-in-shell-module-why/27297 "2018-04-17T08:24:56Z")

</div>

please help me :frowning:

---

## [update and reload .bashrc to run django management commands](https://forum.ansible.com/t/update-and-reload-bashrc-to-run-django-management-commands/27296)

<div class="topic-metadata">

**Author:** [@nijo.sayone](https://forum.ansible.com/u/nijo.sayone)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 6:31am UTC](https://forum.ansible.com/t/update-and-reload-bashrc-to-run-django-management-commands/27296 "2018-04-17T06:31:29Z")

</div>

Hi All I need to update and reload .bashrc using ansible to run my django management commands. I can update the .bashrc file using blockinfile, but we are not able to reload .bashrc. Tried some solution found online to …

---

## [ansible/test-module  produces this result:  modify\_module() got multiple values for keyword argument 'task\_vars'](https://forum.ansible.com/t/ansible-test-module-produces-this-result-modify-module-got-multiple-values-for-keyword-argument-task-vars/27294)

<div class="topic-metadata">

**Author:** [@sessyemo](https://forum.ansible.com/u/sessyemo)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 6:55pm UTC](https://forum.ansible.com/t/ansible-test-module-produces-this-result-modify-module-got-multiple-values-for-keyword-argument-task-vars/27294 "2018-04-16T18:55:41Z")

</div>

I used the test-module script to debug modules in ansible but i am getting a strange error: 1 Here is the example i followed: https://ansible-manual.readthedocs.io/en/stable-2.2/developing\_modules.html So i execute…

---

## [Unable to automate Search- Guard installation through Ansible](https://forum.ansible.com/t/unable-to-automate-search-guard-installation-through-ansible/27293)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 6:40pm UTC](https://forum.ansible.com/t/unable-to-automate-search-guard-installation-through-ansible/27293 "2018-04-16T18:40:58Z")

</div>

I tried installation of Head plugin through ansible, it worked out. But i am not able to find any way to install Search-Guard Plugin through ansible. I havent find any module available to install search guard plugin thro…

---

## [Hola](https://forum.ansible.com/t/hola/27292)

<div class="topic-metadata">

**Author:** [@yfuentes9002](https://forum.ansible.com/u/yfuentes9002)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 6:20pm UTC](https://forum.ansible.com/t/hola/27292 "2018-04-16T18:20:30Z")

</div>

Hola amigos soy nuevo en este munda de Asible y la gestión de configuración, actualmente estoy realizando mi tesis y teng poco dominio del tema. El objetivo de mi tesis es automatizar tareas a las que se enfrenta a diari…

---

## [Tower how to replace hiera](https://forum.ansible.com/t/tower-how-to-replace-hiera/27291)

<div class="topic-metadata">

**Author:** [@D11](https://forum.ansible.com/u/D11)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 5:52pm UTC](https://forum.ansible.com/t/tower-how-to-replace-hiera/27291 "2018-04-16T17:52:59Z")

</div>

Hello, I am migrating from my puppet infra to ansible for all infra modules like dns, ntp, ldap, kerberos and so on, now it was easy to use hiera with puppet for centrally managing all variables, how do i achieve simila…

---

## [Buenas](https://forum.ansible.com/t/buenas/27290)

<div class="topic-metadata">

**Author:** [@jyanezmoncada](https://forum.ansible.com/u/jyanezmoncada)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 4:15pm UTC](https://forum.ansible.com/t/buenas/27290 "2018-04-16T16:15:53Z")

</div>

Soy nuevo en el grupo y en el mundo de ansible, necesito chequear el consumo de memoria de cualquier proceso para determinar si este esta por encima de un umbral, y de ser asi, reiniciarlo. I am new to the group and in …

---

## [Is it possible to show anything graphical (like Zenity or the like) on remote nodes with a Ansible playbook?](https://forum.ansible.com/t/is-it-possible-to-show-anything-graphical-like-zenity-or-the-like-on-remote-nodes-with-a-ansible-playbook/27257)

<div class="topic-metadata">

**Author:** [@Osqui](https://forum.ansible.com/u/Osqui)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 4:04pm UTC](https://forum.ansible.com/t/is-it-possible-to-show-anything-graphical-like-zenity-or-the-like-on-remote-nodes-with-a-ansible-playbook/27257 "2018-04-16T16:04:17Z")

</div>

Hello. I have a playbook which removes Downloads folder in remote hosts user’s home but I’d like to warn the user before he/she could cancel this. I’ve thought about prompting a question on his/her desktop screen with …

---

## [Unable to use Shell script for Search guard Plugin in Elastic Search with Ansible](https://forum.ansible.com/t/unable-to-use-shell-script-for-search-guard-plugin-in-elastic-search-with-ansible/27289)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 3:24pm UTC](https://forum.ansible.com/t/unable-to-use-shell-script-for-search-guard-plugin-in-elastic-search-with-ansible/27289 "2018-04-16T15:24:05Z")

</div>

Hi All, I am running a shell script for installation of Search Guard Plugin for Elastic Search. Below is the error given. If any body knows any better way for Search Guard plugin you can suggest me. Playbook:

---

## [item as part of a variable](https://forum.ansible.com/t/item-as-part-of-a-variable/27288)

<div class="topic-metadata">

**Author:** [@Michael\_Renner](https://forum.ansible.com/u/Michael_Renner)\
**Replies:** 2\
**Last updated:** [April 16, 2018, 2:37pm UTC](https://forum.ansible.com/t/item-as-part-of-a-variable/27288 "2018-04-16T14:37:18Z")

</div>

Moin, I’m calling a playbook (ansible 2.4.2.0) with extra-vars for 3 system components, e.g. “foo\_version=0.11.3 bar\_version=0.10.2 baz\_version=0.12.1 env=dev”. There is a statement In the playbook that takes care that…

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

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