Re: [ansible-project] Re: Help with Docker module

2015-03-06 Thread Lars Sommer
ch to get it to mount the container. Is there a way we can manage the status of the volumes more intelligently? On Fri, Mar 6, 2015 at 8:08 AM, Lars Sommer wrote: > That was very helpful, thank you Ash! I do understand the way that the > docker volumes work, but was hoping that the ansible

Re: [ansible-project] Re: Help with Docker module

2015-03-06 Thread Lars Sommer
* If I deploy a container from an image (foo.com:5000/nginx:1.1) and > give it the name "bob", would I be able to later say "Ok I want Bob to be > stopped now"? I have tried that with stopped and absent and neither worked, > the only parameter option that had any effect was

[ansible-project] Help with Docker module

2015-03-05 Thread Lars Sommer
Hello, I am trying to implement docker in my workplace and plan on using Ansible to orchestrate my containers on my hosts. I have a few questions: Is it possible to get the documentation the docker module page fleshed out a bit more? it's a very capable module but a lot of the parameters hav

[ansible-project] Ansible UFW module: inaccurate documentation?

2014-07-30 Thread Lars Sommer
Having a hell of a time getting UFW to play nicely. Here's what I've got: Each role (in this case the role is "common", part of our baseline role) has a ufw.yml task file that gets imported to main.yml: --- - name: Configure UFW for baseline access ufw: rule=allow from_ip={{ item.ip }}

Re: [ansible-project] Hipchat module not compatible with hipchat API v2?

2014-05-28 Thread Lars Sommer
issues with the module as it stands. A > 401 indicates an authorization issue, not a target URL problem, so I would > double check your API token and username. > > > On Tue, May 27, 2014 at 3:55 PM, Lars Sommer wrote: > >> http://docs.ansible.com/hipchat_module.html >>

[ansible-project] Hipchat module not compatible with hipchat API v2?

2014-05-27 Thread Lars Sommer
http://docs.ansible.com/hipchat_module.html https://www.hipchat.com/docs/apiv2/method/send_room_notification Difference in expected URL: https://api.hipchat.com/v1/rooms/message vs https://api.hipchat.com/v2/room/{id_or_name}/notification I was receiving a 401 until I started messing with the api

[ansible-project] Setting a variable by conditional in a playbook

2014-05-27 Thread Lars Sommer
I have spent the last few hours trying to find a way to do this and keep running into formatting issues with every suggestion I find. What I am trying to accomplish is to have a variable that is set based on the value of another variable. So if {{ group }} == dev* then I want to set uwsgi_env: