# Docker modules in Ansible Extras and authentication

**URL:** <https://forum.ansible.com/t/docker-modules-in-ansible-extras-and-authentication/18545>\
**Category:** Ansible Developer\
**Created:** [June 19, 2015, 3:01am UTC](https://forum.ansible.com/t/docker-modules-in-ansible-extras-and-authentication/18545 "2015-06-19T03:01:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg\_DeKoenigsberg1](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Post date:** [June 19, 2015, 3:01am UTC](https://forum.ansible.com/t/docker-modules-in-ansible-extras-and-authentication/18545/1 "2015-06-19T03:01:41Z")

</div>

Wanted to bring a conversation from a PR in Extras:

Earlier I had wondered if this was the way we wanted authentication to  
work (as separate modules) or if we wanted it to be integrated. @bcoca  
mentioned that there was precedent in another cloud module but we  
didn't settle on whether it's a good architecture or not. We didn't  
discuss this in the context of the new extras policies, though. Is  
this some thing that should be discussed amongst the current module  
authors on the mailing list? Our do we just want to have one current  
module author ok the strategy? Our something else?

---

<div class="post-metadata">

**Author:** ![Greg\_DeKoenigsberg1](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Post date:** [June 19, 2015, 3:03am UTC](https://forum.ansible.com/t/docker-modules-in-ansible-extras-and-authentication/18545/2 "2015-06-19T03:03:07Z")

</div>

GAAAH STUPID SEND BUTTON

Anyway. The issue is here:

[https://github.com/ansible/ansible-modules-extras/pull/444](https://github.com/ansible/ansible-modules-extras/pull/444)

And the question is, should Docker authentication in Ansible be  
through separate modules, or integrated? The quote is Toshio's, for  
context.

bcoca said we should talk about it on ansible-devel -- so let's talk  
about it on ansible-devel. 🙂

--g

---

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [June 19, 2015, 6:54am UTC](https://forum.ansible.com/t/docker-modules-in-ansible-extras-and-authentication/18545/3 "2015-06-19T06:54:24Z")

</div>

Seems that independent of whether docker auth is integrated with docker modules, it would still be useful to have a module that simply creates the .dockercfg for non-ansible modules. For example, I am creating the .dockercfg via template (using variables that I extracted from a manually created .dockercfg) so that mesos can download from our docker repo.
