Skip to content

Commit

Permalink
Merge pull request #6 from christopherobin/update/version
Browse files Browse the repository at this point in the history
Update RHEL tasks to support new package name, requires latest AerisCloud.repos
  • Loading branch information
MiLk authored Oct 19, 2017
2 parents e78ba06 + 0f1eba7 commit 580c22b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions tasks/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@
tags:
- docker

- name: "Make sure to remove older versions of docker"
yum:
name: "{{ item }}"
state: absent
with_items:
- docker
- docker-common
- docker-selinux
- docker-engine

- name: "Install docker"
yum: >
name=docker-engine
enablerepo=dockerrepo
state=present
yum:
name: docker-ce
enablerepo: docker-ce-stable
state: present
notify: Restart docker
tags:
- docker
Expand Down

0 comments on commit 580c22b

Please sign in to comment.