mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
(cherry picked from commit b362bdfd88)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
9241ecadef
commit
a2bb8a2620
@ -14,8 +14,6 @@
|
||||
|
||||
- name: CLEANUP | Clear out /var/lib/docker
|
||||
shell: rm -rf /var/lib/docker/*
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: CLEANUP | Start docker daemon
|
||||
service:
|
||||
|
||||
@ -15,8 +15,6 @@
|
||||
|
||||
- name: Update cache
|
||||
command: dnf makecache
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: Install docker
|
||||
dnf:
|
||||
|
||||
@ -15,8 +15,6 @@
|
||||
- name: Enable extras repository for RHEL on AWS
|
||||
# RHEL 7.6 uses REGION-rhel-server-extras and RHEL 7.7+ use rhel-7-server-rhui-extras-rpms
|
||||
command: yum-config-manager --enable REGION-rhel-server-extras rhel-7-server-rhui-extras-rpms
|
||||
args:
|
||||
warn: no
|
||||
|
||||
# Docker broke their .repo file, so we set it up ourselves
|
||||
- name: Set-up repository
|
||||
@ -29,8 +27,6 @@
|
||||
|
||||
- name: Update cache
|
||||
command: yum -y makecache fast
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: Install docker
|
||||
yum:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user