You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/docker_secret/tasks/RedHat.yml

22 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