mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
63b6b8a9d3
* Remove superfluous requirements file. * Update RHEL 7.6 to RHEL 7.8 in CI. * Fix docker install. * ci_complete
22 lines
521 B
YAML
22 lines
521 B
YAML
---
|
|
- name: Add repository
|
|
yum_repository:
|
|
file: docker-ce
|
|
name: docker-ce-stable
|
|
description: Docker CE Stable - $basearch
|
|
baseurl: https://download.docker.com/linux/fedora/$releasever/$basearch/stable
|
|
enabled: yes
|
|
gpgcheck: yes
|
|
gpgkey: https://download.docker.com/linux/fedora/gpg
|
|
|
|
- name: Update cache
|
|
command: dnf makecache
|
|
args:
|
|
warn: no
|
|
|
|
- name: Install docker
|
|
dnf:
|
|
name: "{{ docker_packages }}"
|
|
state: present
|
|
enablerepo: docker-ce-test
|
|
notify: cleanup docker
|