Remove support for docker_rc

master
Carlos León 10 years ago
parent de36229178
commit 3bce66d856

@ -13,10 +13,7 @@ None
Role Variables
--------------
```
- vars:
docker_rc: no # no by default. Set to yes to install the latest Docker version (release candidates and such)
```
None
Dependencies
------------
@ -25,18 +22,27 @@ None
Example Playbook
----------------
Install vanilla Docker
Install Docker
```
- hosts: servers
roles:
- mongrelion.docker
```
Install testing release of Docker
Testing
-------
For development, we use Vagrant.
Bring the VM up with
```
$ vagrant up
```
This will automatically run the playbooks against the virtual machine once it's up.
After making changes to any playbook, you can test the provisioning with
```
- hosts: servers
roles:
- { role: mongrelion.docker, docker_rc: yes }
$ vagrant provision
```
License

@ -1,4 +1,3 @@
---
docker_rc: no
docker_clusterstore: no
consul_ip: 127.0.0.1

@ -1,6 +0,0 @@
[docker-testing-repo]
name=Docker testing Repository
baseurl=https://yum.dockerproject.org/repo/testing/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg

@ -1,11 +1,6 @@
---
- name: ensure repo is present
copy: src=files/docker.repo dest=/etc/yum.repos.d/docker.repo
when: not docker_rc
- name: ensure testing repo is present
copy: src=files/docker-testing.repo dest=/etc/yum.repos.d/docker-testing.repo
when: docker_rc
- name: ensure docker is installed
yum: name=docker-engine state=present

Loading…
Cancel
Save