[ansible-project] Ansible Silo - Ansible in a 100% controlled environment

2017-07-21 Thread 'Daniel Schroeder' via Ansible Project
Fellow Ansible users, I'd like to bring to your attention the release of Ansible Silo. Ansible Silo is a drop-in replacement for Ansible packing Ansible with all it's dependencies into a docker image. The main features: 1. Self-contained environment. No Python, no modules required. The

[ansible-project] Re: Hash merging not working for me (hash_behaviour = merge)

2014-09-24 Thread Daniel Schroeder
Thanks Michael, I filed the ticket here: https://github.com/ansible/ansible/issues/9116 Best, Daniel -- 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] Hash merging not working for me (hash_behaviour = merge)

2014-09-23 Thread Daniel Schroeder
Hello, I want to merge hashes of config files. My *ansible.cfg* includes this line: hash_behaviour = merge The *ansible.cfg* file is in the same directory as my playbook, in other words, the current directly where I'm cd'ed in when running *ansible-playbook*. I confirmed it's being used by

Re: [ansible-project] Hash merging not working for me (hash_behaviour = merge)

2014-09-23 Thread Daniel Schroeder
, as it was a more recent addition and hash merging is used most frequently with different groups of inventory and such - I am not sure it makes sense here - but it may) Thanks! On Tue, Sep 23, 2014 at 7:12 AM, Daniel Schroeder deem...@googlemail.com javascript: wrote: Hello, I want to merge

[ansible-project] Condition before lookup

2014-09-22 Thread Daniel Schroeder
Hello list, I'm having a problem with adding a condition before a lookup plugin. A simplified example that everyone can reproduce is this: - debug: msg=This debug message should not be triggerd since some_dict is not defined when: some_dict is defined with_dict: some_dict That doesn't

[ansible-project] Re: Condition before lookup

2014-09-22 Thread Daniel Schroeder
to this? If this task would not be inside a role (yes, I know you always should work with roles ;)) I wouldn't be able to define a default value. Cheers, Daniel Am Montag, 22. September 2014 12:44:54 UTC+2 schrieb Daniel Schroeder: Hello list, I'm having a problem with adding a condition before a lookup

[ansible-project] Re: Condition before lookup

2014-09-22 Thread Daniel Schroeder
Not really a solution for the problem, is it? ;) Am Montag, 22. September 2014 12:44:54 UTC+2 schrieb Daniel Schroeder: Hello list, I'm having a problem with adding a condition before a lookup plugin. A simplified example that everyone can reproduce is this: - debug: msg=This debug

[ansible-project] Re: Condition before lookup

2014-09-22 Thread Daniel Schroeder
Ah, great, didn't know you can use *default* in the yml itself. Only had been using it in jinja templates. Thanks, that works and is more elegant that creating the additional defaults file. -- You received this message because you are subscribed to the Google Groups Ansible Project group. To

Re: [ansible-project] Structure for Ansible and handling of config

2014-07-31 Thread Daniel Schroeder
multiple cfg's are not merged? Would you accept a PR for such a feature? Cheers! Daniel Am Mittwoch, 30. Juli 2014 13:59:10 UTC+2 schrieb Michael DeHaan: Hi Daniel, replies are inline. On Wed, Jul 30, 2014 at 4:21 AM, Daniel Schroeder deem...@googlemail.com javascript: wrote: Heya, I'm

[ansible-project] Re: Accessing variables from within a plugin (callback)

2014-07-30 Thread Daniel Schroeder
Sorry for picking the wrong list. I reposted in ansible-devel now: https://groups.google.com/forum/#!topic/ansible-devel/oWglrylu1xM Thanks, Daniel Am Montag, 28. Juli 2014 14:17:12 UTC+2 schrieb Daniel Schroeder: Hello list, is there a way how I can access host/group vars from within

[ansible-project] Structure for Ansible and handling of config

2014-07-30 Thread Daniel Schroeder
Heya, I'm currently evaluating Ansible for our company but I'm having problems to understand how we would set up our global structure. We have like 10.000 hosts and hundreds of different projects with different teams and needs. Still we need to use a common code base (roles, plugins) and not

[ansible-project] Accessing variables from within a plugin (callback)

2014-07-28 Thread Daniel Schroeder
Hello list, is there a way how I can access host/group vars from within a callback plugin? Basically I want to modify the Hipchat callback plugin to use a room ID configured via group_vars (or maybe *register*ed as a var right in the role tasks), as we have hundred of chat rooms and to which

Re: [ansible-project] Play recap or current status programmatically available in task?

2014-07-25 Thread Daniel Schroeder
this, as callbacks have an opportunity to see *everything* and it's also going to be more efficient as they can limit the number of connections/disconnections involved in the chat server. On Thu, Jul 24, 2014 at 5:35 AM, Daniel Schroeder deem...@googlemail.com javascript: wrote: Hello, I'd like

[ansible-project] Play recap or current status programmatically available in task?

2014-07-24 Thread Daniel Schroeder
Hello, I'd like to send a summary of the run (basically the play recap which is shown after playbook execution on the command line) to a hipchat room. PLAY RECAP host1: ok=8changed=0unreachable=0failed=0