1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/docker_secret/tasks/RedHat.yml

22 lines
436 B
YAML
Raw Normal View History

2017-07-06 15:22:04 +02:00
- 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