ansible/test/integration/targets/docker_secret/tasks/RedHat.yml
2017-07-06 09:22:04 -04:00

21 lines
436 B
YAML

- name: Install Docker pre-reqs
yum:
name: "{{ item }}"
state: present
items:
- yum-utils
- device-mapper-persistent-data
- lvm2
- python-crypto
- libseccomp
- name: Add repository
command: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- name: Update cache
command: yum -y makecache fast
- name: Install docker
yum:
name: docker-ce
state: present