[Container-tools] Reusable Ansible scripts for setting up Atomic on CentOS/7

Jason Brooks jbrooks at redhat.com
Tue Sep 1 14:57:17 UTC 2015



----- Original Message -----
> From: "Ratnadeep Debnath" <rtnpro at gmail.com>
> To: container-tools at redhat.com
> Sent: Saturday, August 29, 2015 1:52:55 AM
> Subject: [Container-tools] Reusable Ansible scripts for setting up Atomic on	CentOS/7
> 
> Hi all,
> 
> Last few days, I have been playing around setting up Atomic
> environment on CentOS 7. Although it was not that difficult, but it
> was not free of hiccups as well:
> - Setting up docker storage pool consistently
> - Getting Kubernetes up on a single node without any tinkering
> 
> Well, [1] helped resolve setting up Docker storage pull, and [2]
> helped get kubernetes up and running.
> 
> While I admire adb-atomic-developer[3], but I do not like the
> monolithic nature of it. Same'd go for the Kubernetes Ansible scripts
> at [4]. I can not just go ahead and reuse the scripts without
> duplicating code.

What's monolithic about [4]? Is it the fact that the separate
roles live in a repo together, rather than each in their
own repo?

I don't see the reason to remake it?

Jason

> 
> So, I started working on setting up a small repo:
> vagrant-ansible-centos-7-atomic[5], as a proof of concept, which is
> not monolithic, but reuses smaller standalone components:
> - Container ansible repo with boilerplate playbook
> - standalone Ansible roles for Docker, Kubernetes, Atomic
> 
> Although my scripts above are pretty much naive, the intention for the
> above work is to propose a better way to create small, reusable
> repositories, rather than checking all code in a single repository.
> "Small is beautiful". However, I do not deny the complexity of
> maintaining a larger number of smaller repositories.
> 
> Please share your feedback on my work and thoughts above :)
> 
> 
> [1]:
> http://kushaldas.in/posts/setting-up-storage-for-docker-on-fedora22-cloud-image.html
> [2]:
> https://github.com/projectatomic/adb-atomic-developer-bundle/pull/76/files
> [3]: https://github.com/projectatomic/adb-atomic-developer-bundle
> [4]: https://github.com/kubernetes/contrib/blob/master/ansible/
> [5]: https://github.com/rtnpro/vagrant-ansible-centos-7-atomic
> 
> Regards,
> rtnpro
> --
> Ratnadeep Debnath,
> https://www.waartaa.com
> GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
> 
> _______________________________________________
> Container-tools mailing list
> Container-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/container-tools
> 




More information about the Container-tools mailing list