Ansible 1.8 (devel c289ba1b21) last updated 2014/09/22 14:24:43 (GMT -400)

On Monday, September 8, 2014 5:40:53 PM UTC-4, Michael DeHaan wrote:
>
> I'd concur.
>
> Can you share what version of Ansible you are using?  (ansible --version) 
> and also paste the output when you leave them off?
>
>
>
>
>
>
> On Mon, Sep 8, 2014 at 11:15 AM, Matt Hughes <[email protected] 
> <javascript:>> wrote:
>
>> Using the docker module in the master branch.  I have one task that 
>> ensures a particular docker container is running with a given name.  And 
>> then I have a handler that tries to restart that container (by name) when 
>> any configuration changes.
>>
>> However, it looks like the docker module requires you to specify the 
>> parameters all over again.  IMO, you should be able to say:
>>
>> name: Restart a Container
>> docker: name="existing_container" state="restarted"
>>
>> but instead, I have to respecify all my docker parameters in the handler:
>>
>> name: Restart a Container
>> docker: name="existing_container" state="restarted" ports="..." 
>> volumes="..."
>>
>>
>>
>> I would think we support the first form and the command just fails if 
>> there isn't an existing container with that name.  Thoughts?  
>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/5e382035-1503-40f8-b44f-1def4cde849a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/5e382035-1503-40f8-b44f-1def4cde849a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7729ef56-9991-4ed6-a723-7bc002f3f484%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to