# Ansible Project

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

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

**Page:** 267

---

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

---

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

---

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

---

## [Configure multiple oracle instances in a loop](https://forum.ansible.com/t/configure-multiple-oracle-instances-in-a-loop/27269)

<div class="topic-metadata">

**Author:** [@Christopher\_Priest](https://forum.ansible.com/u/Christopher_Priest)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 12:35pm UTC](https://forum.ansible.com/t/configure-multiple-oracle-instances-in-a-loop/27269 "2018-04-16T12:35:02Z")

</div>

Hi There, I have set up a playbook and two roles → The first role sets up the Linux kernel and OS The second role installs the Oracle software WITH a listener but WITHOUT any instance. This role has checks to termina…

---

## [Using subversion via http?](https://forum.ansible.com/t/using-subversion-via-http/27275)

<div class="topic-metadata">

**Author:** [@Michael\_Renner](https://forum.ansible.com/u/Michael_Renner)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 12:29pm UTC](https://forum.ansible.com/t/using-subversion-via-http/27275 "2018-04-16T12:29:36Z")

</div>

Moin, a simple playbook won’t work: name: svn checkout subversion: repo: http://svn-01.int.de/operation/foobar dest: /tmp/checkout delegate\_to: localhost but it fail: TASK \[svn checkout\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Possible Bug in azure\_rm\_networkinterface module (Ansible 2.5.0)](https://forum.ansible.com/t/possible-bug-in-azure-rm-networkinterface-module-ansible-2-5-0/27246)

<div class="topic-metadata">

**Author:** [@f.floimair.commend](https://forum.ansible.com/u/f.floimair.commend)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 12:20pm UTC](https://forum.ansible.com/t/possible-bug-in-azure-rm-networkinterface-module-ansible-2-5-0/27246 "2018-04-16T12:20:52Z")

</div>

Hi everyone! I am using Ansible 2.5.0 and I think I found a bug in the azure\_rm\_networkinterface module (either in the code or the documentation). When I create a network-interface that should be used with an already e…

---

## [Ansible Python API 2.0 - capture warnings](https://forum.ansible.com/t/ansible-python-api-2-0-capture-warnings/27240)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 4\
**Last updated:** [April 16, 2018, 12:11pm UTC](https://forum.ansible.com/t/ansible-python-api-2-0-capture-warnings/27240 "2018-04-16T12:11:09Z")

</div>

Hello All Been circling around the Callbackbase with all possible tries , but I could not find a way till now to capture these warnings from a playbook execution with the API output \[WARNING\]: \* Failed to parse hosts/U…

---

## [install Ansible on Mac 2.5.0](https://forum.ansible.com/t/install-ansible-on-mac-2-5-0/27287)

<div class="topic-metadata">

**Author:** [@Jose\_Julian\_Orjuela](https://forum.ansible.com/u/Jose_Julian_Orjuela)\
**Replies:** 2\
**Last updated:** [April 16, 2018, 8:51am UTC](https://forum.ansible.com/t/install-ansible-on-mac-2-5-0/27287 "2018-04-16T08:51:42Z")

</div>

Hello guys, I need you help, I try the install Ansible on my Mac, but not is possible, I have this is error: Please, Can someone tell me, how can I install Ansible correctly on my MAC? macOS Hig Sierra version 10.13.4…

---

## [Ansible : get running config from aruba switches](https://forum.ansible.com/t/ansible-get-running-config-from-aruba-switches/27270)

<div class="topic-metadata">

**Author:** [@Martial\_CHAVIGNY](https://forum.ansible.com/u/Martial_CHAVIGNY)\
**Replies:** 3\
**Last updated:** [April 16, 2018, 7:26am UTC](https://forum.ansible.com/t/ansible-get-running-config-from-aruba-switches/27270 "2018-04-16T07:26:19Z")

</div>

Hello, I’m new user of ansible and for the first projet, I would to get current config of aruba (2930F) switches (for backup). I read these documentations : https://docs.ansible.com/ansible/devel/network/getting\_start…

---

## [Postgresql (Peer Authentication Error) with Ansible 2.4](https://forum.ansible.com/t/postgresql-peer-authentication-error-with-ansible-2-4/27283)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 3\
**Last updated:** [April 15, 2018, 2:34pm UTC](https://forum.ansible.com/t/postgresql-peer-authentication-error-with-ansible-2-4/27283 "2018-04-15T14:34:32Z")

</div>

Hi, i am having a problem in setting up postgresql through ansible. Error::-

---

## [Variables with quotes](https://forum.ansible.com/t/variables-with-quotes/27271)

<div class="topic-metadata">

**Author:** [@Shaun\_Lim](https://forum.ansible.com/u/Shaun_Lim)\
**Replies:** 3\
**Last updated:** [April 15, 2018, 1:21pm UTC](https://forum.ansible.com/t/variables-with-quotes/27271 "2018-04-15T13:21:14Z")

</div>

Hi all, I’m new to Ansible and am trying to use some variables with quotes. The command I’m trying to run is as follows: rabbitmqctl set\_permissions -p /vhost username ".\*" ".\*" ".\*" To do this, I’m trying to use the …

---

## [Could anyone help to fix - file module link in list all module and files modules list?](https://forum.ansible.com/t/could-anyone-help-to-fix-file-module-link-in-list-all-module-and-files-modules-list/27285)

<div class="topic-metadata">

**Author:** [@Chun-Hung\_Huang](https://forum.ansible.com/u/Chun-Hung_Huang)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 12:43pm UTC](https://forum.ansible.com/t/could-anyone-help-to-fix-file-module-link-in-list-all-module-and-files-modules-list/27285 "2018-04-15T12:43:59Z")

</div>

Hi, I don’t know it’s right or wrong. If you check the all modules or Files modules list And try to find how to use file module ( create file or directory in your system ) All modules – http://docs.ansible.com/ansibl…

---

## [Ansible in High Availability](https://forum.ansible.com/t/ansible-in-high-availability/27282)

<div class="topic-metadata">

**Author:** [@user106](https://forum.ansible.com/u/user106)\
**Replies:** 1\
**Last updated:** [April 15, 2018, 11:10am UTC](https://forum.ansible.com/t/ansible-in-high-availability/27282 "2018-04-15T11:10:18Z")

</div>

Hey All, Trying to understand how to setup Ansible in High Availability. I know AWX (Tower) can be setup and there’s plenty of docs out there but being a relative Novice to Ansible, I’m not able to find much on setting …

---

## [can ansible do BGP or OSPF troubleshooting automatically?](https://forum.ansible.com/t/can-ansible-do-bgp-or-ospf-troubleshooting-automatically/27284)

<div class="topic-metadata">

**Author:** [@Ho\_Yeung\_Lee](https://forum.ansible.com/u/Ho_Yeung_Lee)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 9:29am UTC](https://forum.ansible.com/t/can-ansible-do-bgp-or-ospf-troubleshooting-automatically/27284 "2018-04-15T09:29:54Z")

</div>

can ansible do BGP or OSPF troubleshooting automatically? can it follow the steps below? https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/22166-bgp-trouble-main.html or https://www.cisco.com/…

---

## [replace string in file created by root on remote server](https://forum.ansible.com/t/replace-string-in-file-created-by-root-on-remote-server/27278)

<div class="topic-metadata">

**Author:** [@Agoston\_Bejo](https://forum.ansible.com/u/Agoston_Bejo)\
**Replies:** 2\
**Last updated:** [April 15, 2018, 7:32am UTC](https://forum.ansible.com/t/replace-string-in-file-created-by-root-on-remote-server/27278 "2018-04-15T07:32:27Z")

</div>

Hi! What I’m trying to do is very “complicated” task: create a file on the remote server as root (in /root) replace a string in the file I just can’t seem to achieve this without resorting to executing shell commands…

---

## [Ansible : Add multiple security group on ec2](https://forum.ansible.com/t/ansible-add-multiple-security-group-on-ec2/27281)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 0\
**Last updated:** [April 14, 2018, 5:21pm UTC](https://forum.ansible.com/t/ansible-add-multiple-security-group-on-ec2/27281 "2018-04-14T17:21:54Z")

</div>

I have one ec2 instance(instance\_A), and I have to create one more new ec2 instance(instance\_B) using instance\_A ec2\_fact. to get facts of ec2 I am using the ec2\_instance\_facts module.on instance\_A have multiple securit…

---

## [timed out. (connect timeout=30)](https://forum.ansible.com/t/timed-out-connect-timeout-30/27279)

<div class="topic-metadata">

**Author:** [@subbireddy\_gajulapal](https://forum.ansible.com/u/subbireddy_gajulapal)\
**Replies:** 0\
**Last updated:** [April 14, 2018, 11:08am UTC](https://forum.ansible.com/t/timed-out-connect-timeout-30/27279 "2018-04-14T11:08:57Z")

</div>

172.31.45.80 | UNREACHABLE! =\> { “changed”: false, “msg”: “ssl: HTTPSConnectionPool(host=‘172.31.45.80’, port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(\<urllib3.connection.VerifiedHTTP…

---

## [Getting two results with custom callbacks](https://forum.ansible.com/t/getting-two-results-with-custom-callbacks/27273)

<div class="topic-metadata">

**Author:** [@tommcf64](https://forum.ansible.com/u/tommcf64)\
**Replies:** 2\
**Last updated:** [April 14, 2018, 9:26am UTC](https://forum.ansible.com/t/getting-two-results-with-custom-callbacks/27273 "2018-04-14T09:26:28Z")

</div>

Hi, I am attempting to use the Ansible API to run and playbook and insert the facts into a mongodb database but I am getting two documents for each machine. I am a newbie and unfamiliar with the API. Can anyone shed my …

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

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