[ansible-project] Tower how to replace hiera

2018-04-16 Thread Dhaval Joshi
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 similar or (ansible way) of doing same ? I am using tower and satellite as my

[ansible-project] Hola

2018-04-16 Thread yfuentes9002
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 diario un ingeniero en sistemas. Quisiera que me recomendaran documentación,

Re: [ansible-project] Re: Ansible Playbook running for longtime/indefinitely for windows 2012 R2 Ansible Playbook

2018-04-16 Thread Ramanjaneyulu S
Thanks for replying. Unfortunately, rebooting did not worked for me. On Friday, 13 April 2018 12:47:52 UTC-4, Namasivayam C wrote: > > Hi > > We have rebooted the Ansible server issues got fixed > > On Thu 12 Apr, 2018, 8:31 PM Ramanjaneyulu S, > wrote: > >> I have the same

[ansible-project] Re: Buenas

2018-04-16 Thread Osqui
I'd use MemoryMax= Systemd directive (https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html) or, if not, LimitAS= one (https://www.freedesktop.org/software/systemd/man/systemd.exec.html). You should establish them in your desired .service/.slice file with a regular

[ansible-project] Buenas

2018-04-16 Thread jyanezmoncada
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 the ansible world, I need to check the memory consumption of any process to

[ansible-project] Unable to use Shell script for Search guard Plugin in Elastic Search with Ansible

2018-04-16 Thread Bishwajit Samanta
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: - --- - hosts: deploy gather_facts: no tasks: - script:

[ansible-project] Re: Is it possible to show anything graphical (like Zenity or the like) on remote nodes with a Ansible playbook?

2018-04-16 Thread Osqui
Well, if nobody answers I infer it can't be possible. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post

[ansible-project] Re: Using subversion via http?

2018-04-16 Thread Michael Renner
Just for the archive: "become: no" was my friend. Am Freitag, 13. April 2018 17:26:05 UTC+2 schrieb Michael Renner: > > Moin, > > a simple playbook won't work: > > - name: svn checkout > subversion: > > [...] CU -- You received this message because you are subscribed to the Google

[ansible-project] Re: Configure multiple oracle instances in a loop

2018-04-16 Thread 'J Hawkesworth' via Ansible Project
Here's some ideas You can define a host variable in your ansible inventory file, like this -- # ansible inventory # development hosts below here devdb01 enterprise_manager_port=5500 # test hosts below here testdb01 enterprise_manager_port=5501 and then create a template dbca.rsp file,

Re: [ansible-project] Ansible Python API 2.0 - capture warnings

2018-04-16 Thread Suren Baskaran
Hey Guys Badly need some pointers here - as I am running out of options Fiddling with the display Utils gives me the needed verbose but to stdout and not the callbacks Thanks, Suren VB From: Suren Baskaran Sent: Friday, April 13, 2018

Re: [ansible-project] item as part of a variable

2018-04-16 Thread Brian Coca
That won't work, try: - name: copy war file copy: src: "{{ tmpdir.path }}/{{ item }}.war" dest: /opt/tomcat/webapps/ owner: tomcat group: root mode: 0440 when: item + "_version" in hostvars[inventory_hostname] with_items: - foo - bar -

Re: [ansible-project] include not working

2018-04-16 Thread Biswadip Dutta
Hi, I believe you should use import_playbook to add a playbook in another playbook. See here . Regards, Biswadip Dutta On Sat, Apr 14, 2018 at 6:12 AM, Tcpip wrote: > Hi all > > I have the following

[ansible-project] Re: Possible Bug in azure_rm_networkinterface module (Ansible 2.5.0)

2018-04-16 Thread f . floimair . commend
I filed a new issue for this: https://github.com/ansible/ansible/issues/38809 Am Mittwoch, 11. April 2018 14:48:28 UTC+2 schrieb f.floimai...@gmail.com: > > 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

Re: [ansible-project] item as part of a variable

2018-04-16 Thread Matt Martz
You will need to construct a key, and reference the value through hostvars like: when: - hostvars[inventory_hostname][item ~ "_version"] is defined On Mon, Apr 16, 2018 at 8:46 AM, Michael Renner wrote: > Moin, > > I'm calling a playbook (ansible 2.4.2.0) with

[ansible-project] ansible/test-module produces this result: modify_module() got multiple values for keyword argument 'task_vars'

2018-04-16 Thread sessyemo
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 2. So i executed this command ansible/hacking/test-module -I

Re: [ansible-project] Ansible : get running config from aruba switches

2018-04-16 Thread Martial CHAVIGNY
Thank for your response, I think use backup parameter on aruba_config. The parameter allow you to get running-config and backup file to the backup folder in playbook directory. Le samedi 14 avril 2018 11:24:40 UTC+2, Kai Stian Olstad a écrit : > > On Friday, 13 April 2018 13.12.40 CEST Martial

Re: [ansible-project] install Ansible on Mac 2.5.0

2018-04-16 Thread Biswadip Dutta
Hi, You have Ansible installed properly I believe. Your issue is caused by having group name with spaces in the inventory. See This . Regards, Biswadip Dutta On Mon, Apr 16, 2018 at 11:03 AM, Jose Julian Orjuela Lopera <

Re: [ansible-project] How to add multiple ssh keys from Github to a single deploy-style user?

2018-04-16 Thread Brian Coca
@Eric, normally you should include the error you get, from the email it looks like an indentation issue, also key takes a string, not a list. That string could be a set of keys in each line though. This should work: tasks: - name: Set deploy-user authorized key from github url

Re: [ansible-project] include not working

2018-04-16 Thread Tcpip
Hello, I test it but still the same issue, maybe is the wrong way, the idea is if the value es greater then run the other playbook. thanks. On Monday, April 16, 2018 at 9:15:18 AM UTC-3, Biswadip Dutta wrote: > > Hi, > I believe you should use import_playbook to add a playbook in another >

[ansible-project] item as part of a variable

2018-04-16 Thread Michael Renner
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 this step is only executed if the corresponding variable is defined: "{{

Re: [ansible-project] install Ansible on Mac 2.5.0

2018-04-16 Thread Oscar Vidakovic
Hi, As Biswadip said, your Ansible installation is ok, and the problem is your inventory file having wrong syntax. Also note that you are using variable names maked as obsolete about 2 years ago. I suggest you to follow the official documentation, where you have a quickstart video

[ansible-project] How to add multiple ssh keys from Github to a single deploy-style user?

2018-04-16 Thread Eric Feldhusen
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 attempting to run it. tasks: - name: Set deploy-user authorized key from github

Re: [ansible-project] How to add multiple ssh keys from Github to a single deploy-style user?

2018-04-16 Thread Karl Auer
Maybe loop across a list of the keys? Suggestion from deep ignorance... On Tue, Apr 17, 2018 at 11:29 AM, Eric Feldhusen wrote: > 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