[ansible-project] Re: Why doesn't Ansible create uwsgi configuration files?

2014-02-20 Thread Damjan Georgievski
2014/02/18 19:07:20 [error] 31891#0: *1 connect() to unix:/tmp/pile.sock failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: localhost, request: GET / HTTP/1.1, upstream: uwsgi://unix:/tmp/pile.sock:, host:

Re: [ansible-project] Notified handler, but skipped

2014-02-20 Thread Dan C
I am using the groups aproach in some cases, but I can't use it in pull-mode, can I? The playbook I wrote (with the whens) is to be used in pull-mode. Thanks Michael. El miércoles, 19 de febrero de 2014 14:04:38 UTC+1, Michael DeHaan escribió: I am using whens because I want to have only one

Re: [ansible-project] Re: Ansible Vault is now merged into devel (1.5)

2014-02-20 Thread Michael DeHaan
Just a minor process note -- It's often troublesome to have a discussion about a feature on github because less people are there to read a ticket. I'd much prefer we discuss feature ideas here, for most major things, since that allows greater discussion, and search is also better. That all being

Re: [ansible-project] Re: Ansible Vault is now merged into devel (1.5)

2014-02-20 Thread Michael DeHaan
What you are proposing wouldn't be the ansible-vault CLI, it would probably need to be a password2 plugin, but the Vault code is totally usable by the plugin (utils/vault.py) as I've mentioned above. What *most* people want is the ability to set secrets that are global across their

[ansible-project] action_plugins are not loaded relative to current playbook

2014-02-20 Thread Dmitry Horbach
Hi All, Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible. Based on https://github.com/ansible/ansible/issues/6089 I'm trying to load action plugin from playbook's relative directory action_plugins tree ├── action_plugins │ ├──

Re: [ansible-project] action_plugins are not loaded relative to current playbook

2014-02-20 Thread Michael DeHaan
Action plugins don't have categories, that is probably it. -- Michael On Feb 20, 2014, at 10:36 AM, Dmitry Horbach dim.horb...@gmail.com wrote: Hi All, Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible. Based on

Re: [ansible-project] Combining lists

2014-02-20 Thread Michael DeHaan
Here's some documentation on set theory filters that may help: http://docs.ansible.com/playbooks_variables.html#id22 On Thu, Feb 20, 2014 at 1:25 PM, Stephen Gargan steve.gar...@gmail.comwrote: I'd like to be able to do the following, hopefully someone can point me to a simple way to do

[ansible-project] Re: Request for feedback: support for realtime output pull request

2014-02-20 Thread Lorin Hochstein
On Tuesday, February 18, 2014 1:27:35 PM UTC-5, Adam Morris wrote: On Monday, February 17, 2014 5:24:45 PM UTC-8, Lorin Hochstein wrote: Hi all: I submitted a pull request to implement realtime output: https://github.com/ansible/ansible/pull/6035/ Since the proposed patch is large,

Re: [ansible-project] command and shell: add unchanged=True

2014-02-20 Thread Guido Serra
perfect, thanks Michael On Feb 18, 2014, at 5:25 PM, Michael DeHaan mich...@ansible.com wrote: Reading the subject again, here's your answer: - shell: foo changed_when: False On Tue, Feb 18, 2014 at 8:24 PM, Michael DeHaan mich...@ansible.com wrote: There's only a snippet of

[ansible-project] nooBQ: How do I diagnose SSH failures

2014-02-20 Thread Larry Fast
I'm just getting started with Ansible and trying to get my first SSH connections working. When I run ansible all -m ping it comes back with fqdn | FAILED = FAILED: Authentication failed. How do I dig into the source of that failure? Can ansible find ansible.cfg? Is my config wrong? In a bit

[ansible-project] Re: Behavior of ec2_elb module

2014-02-20 Thread Alexander Popov
I observed similar issue with ec2_group and ec2_vpc (while creating subnets, route tables, associations, etc.) On Friday, February 14, 2014 12:35:27 PM UTC-5, Scott Anderson wrote: Are there other modules that behave in this fashion as well? If so a generic retry loop that takes a callable

[ansible-project] generate config file from template with N dimensional array

2014-02-20 Thread jepper
I use roles and testXX/group_vars/all to define a great many things for each environments. I have to build xml files that contain two values at least in each iteration. The example below has pool1 and pool2, and within those pools we have server1, server2 etc. I can't get my head around how

[ansible-project] security token for ec2* modules

2014-02-20 Thread Yves Dorfsman
We want to use AWS temporary security token (actually anybody not using them should look into them). But to make it work with ansible, we need to make a small change to: lib/ansible/module_utiles/ec2.py library/cloud/ec2* do the original authors want to to tackle this, or should I submit a

[ansible-project] results from a multi-item Ansible task lacks the 'stdout_lines' attribute in the returned data structure

2014-02-20 Thread Roman Revyakin
Hi Michael, One of the pain points for us often times is the Ansible lack of the human-readable representability of the output of the task that has been run. A workaround up to now has been to use the `debug: var=output.stdout_lines` which while not perfect is at least more bearable in terms

[ansible-project] Re: results from a multi-item Ansible task lacks the 'stdout_lines' attribute in the returned data structure

2014-02-20 Thread Roman Revyakin
Sorry, posted wrong output for the multi-item task (too early in the morning I guess :-). Here's the evidence the multi-item 'results' return data structure lacks the 'stdout_lines' attribute for the individual items: TASK: [debug var=post]

[ansible-project] New AWS module: ec2_emr

2014-02-20 Thread Alexander Popov
I am developing ec2_emr module to mimic elastic-mapreduce cli developed by Richard@AWS: http://aws.amazon.com/developertools/Elastic-MapReduce/2264 Concerns, objections, functionality request? Besides the module development guide on Ansible Docshttp://docs.ansible.com/developing_modules.html

[ansible-project] Re: generate config file from template with N dimensional array

2014-02-20 Thread Adam Morris
I don't have anything quite this complicated, but I think that you should be able to do something like this... pool_list: - { name: pool1, server_list: {name: server1, hostname: hostname1, }, {name: server2, hostname: hostname2} } - { name: pool2, server_list: {name: server3,

Re: [ansible-project] New AWS module: ec2_emr

2014-02-20 Thread James Cammarata
Nope, just make sure that you use the ec2 common code to handle things like the authentication tokens/etc. and you should be fine. Just send us the pull request when it's ready. On Thu, Feb 20, 2014 at 3:21 PM, Alexander Popov alexanderpop...@gmail.comwrote: I am developing ec2_emr module to

Re: [ansible-project] New AWS module: ec2_emr

2014-02-20 Thread Yves Dorfsman
I'll create a pull request for the security token in the module_utlis/ec2.py later tonight. On 2014-02-20 16:11, James Cammarata wrote: Nope, just make sure that you use the ec2 common code to handle things like the authentication tokens/etc. and you should be fine. Just send us the pull

Re: [ansible-project] Combining lists

2014-02-20 Thread Stephen Gargan
Thanks for the pointer Michael, here's what I ended up doing. { combined: [ {{first_list | union(second_list) | join(', ')}}] } On Thursday, 20 February 2014 10:27:38 UTC-8, Michael DeHaan wrote: Here's some documentation on set theory filters that may help:

Re: [ansible-project] Re: security token for ec2* modules

2014-02-20 Thread Michael DeHaan
Pull request would be great. Look at the common auth systems in module_utils for a way that can be hopefully done for all modules. On Thu, Feb 20, 2014 at 4:41 PM, Alexander Popov alexanderpop...@gmail.comwrote: +1 -Alex On Thursday, February 20, 2014 4:37:53 PM UTC-5, Yves Dorfsman

Re: [ansible-project] rvm install succeeds, but Ansible fails

2014-02-20 Thread Michael DeHaan
Also, a bit of a follow up, the rvm module that was a pull request (was this it?) was submitted a very long time ago. If there is a good need for a module to install rvm, I'm open to it, though it also seems like maybe shell+async is still the right way to go? On Thu, Feb 20, 2014 at 6:10 PM,

Re: [ansible-project] Re: results from a multi-item Ansible task lacks the 'stdout_lines' attribute in the returned data structure

2014-02-20 Thread Brian Coca
you have |pprint and |to_nice_json filters to make the output 'human friendly. I use this on debug: all the time. -- 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