GiorgioRegni / AnsibleScratch

Apache License 2.0
0 stars 0 forks source link

Runlevel 0 #1

Closed ratmav closed 8 years ago

ratmav commented 8 years ago

Use Ansible to install Docker 1.9 on all hosts in a hostgroup defined in ansible_hosts. We need to be able to support CentOS 7 and Ubuntu 14.04.

ratmav commented 8 years ago

Feedback from @GiorgioRegni:

TODO:

ratmav commented 8 years ago

Ansible setup script is present, which support for Ubuntu Server 14.04 LTS and CentOS 7, and the README has been updated. The playbooks also have support for a base_os variable, which is used for determining platform-specific plays (actions). Is there anything else I need to add for runlevel 0, @GiorgioRegni?

ratmav commented 8 years ago

I've made changes to the Ansible install script as outlined in #3, but there may be some more changes to both issues depending on feedback @GiorgioRegni gets from the rest of the team.

ratmav commented 8 years ago

In order to use Ansible's Docker module, the docker-py PIP package (which requires PIP) must be installed on the target host. I've updated the playbooks to install PIP and docker-py, but they still need some testing.

Also, Docker has to be chkconfigd on and manually started the first time on CentOS 7.

ratmav commented 8 years ago

docker-py and PIP are now installed on target hosts, tested on my Ubuntu 14.04 and CentOS 7 local VM's.

ratmav commented 8 years ago

Got the go-ahead yesterday to close this. Any changes past this point can be a new issue.