[ansible-project] advice about with_dict and condicional correct way to use

2015-08-24 Thread Alejandro Ferrari
Hi all, I has this error: UndefinedError: 'dict' object has no attribute 'JMSFileStoreName' Into my dict just a few has this attributes, others not, I'll like to execute some task in case that this atribute exist, some way to check the status to avoid break the playbook? This is my task:

[ansible-project] Help for find mistake

2015-08-12 Thread Alejandro Ferrari
Hi All, I'm setting this into roles/test/defaults/main.yml domain: template: {{ mw_home }}/wlserver_10.3/common/templates/domains/wls.jar override: true name: superduper_domain home: {{ oracle_base }}/domains/{{ domain.name }} passwordPath: Security/base_domain/User/weblogic But

Re: [ansible-project] Gitter chat/channel for Ansible?

2015-08-12 Thread Alejandro Ferrari
We can use SLACK (http://slack.com) Here some comments about others experiences using SLACK as replace of IRC http://thenextweb.com/insider/2015/03/24/slack-is-quietly-unintentionally-killing-irc/ Hope this help Alejandro El miƩrcoles, 12 de agosto de 2015, 2:19:35 (UTC-3), breatheoften

[ansible-project] Variables inside variables?

2015-08-04 Thread Alejandro Ferrari
Hi, I like to know if possible made reference of a variable inside other variable. Example: {{ansible_local.oracle.credentials.{{websphere_mb.odbc.schema_name with this I try to build the final variable name that if I put manually works, but like to don't hardcode Schame_name and read

Re: [ansible-project] Variables inside variables?

2015-08-04 Thread Alejandro Ferrari
better way to do this? THanks Ale On Tuesday, August 4, 2015 at 11:31:41 AM UTC-3, Brian Coca wrote: no moustache stacking {{ansible_local.oracle.credentials[{{websphere_mb.odbc.schema_name]}} On Tue, Aug 4, 2015 at 10:22 AM, Alejandro Ferrari afer...@technisys.com javascript: wrote

[ansible-project] Ansible-playbook ejecution error

2015-07-06 Thread Alejandro Ferrari
Hi Guys, Any know why I get this error? ansible-playbook -vv /etc/ansible/roles/env-stb/channels1.yml Traceback (most recent call last): File /usr/bin/ansible-playbook, line 324, in module sys.exit(main(sys.argv[1:])) File /usr/bin/ansible-playbook, line 264, in main pb.run() File

[ansible-project] Run Ansible Playbook inside Docker container?

2015-06-29 Thread Alejandro Ferrari
Hi All, I like to know if someone is using Ansible to provisioning inside a Docker container... and how use this? I has all my infrastructure in Playbooks, now l like to use this to create Dockers for each of my microservices... but I can't found some alternatives... As we know Ansible use