mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
Update testing (#147)
* Remove superfluous requirements file. * Update RHEL 7.6 to RHEL 7.8 in CI. * Fix docker install. * ci_complete
This commit is contained in:
parent
797699f05f
commit
bfcb96573f
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: Get OS version
|
- name: Get OS version
|
||||||
shell: uname -r
|
shell: uname -r
|
||||||
register: os_version
|
register: os_version
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: Add repository
|
- name: Add repository
|
||||||
yum_repository:
|
yum_repository:
|
||||||
file: docker-ce
|
file: docker-ce
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# The RHEL extras repository must be enabled to provide the container-selinux package.
|
# The RHEL extras repository must be enabled to provide the container-selinux package.
|
||||||
# See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository
|
# See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository
|
||||||
|
|
||||||
@ -12,7 +13,8 @@
|
|||||||
name: setup_epel
|
name: setup_epel
|
||||||
|
|
||||||
- name: Enable extras repository for RHEL on AWS
|
- name: Enable extras repository for RHEL on AWS
|
||||||
command: yum-config-manager --enable rhui-REGION-rhel-server-extras
|
# RHEL 7.6 uses rhui-REGION-rhel-server-extras and RHEL 7.7+ use rhui-rhel-7-server-rhui-extras-rpms
|
||||||
|
command: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# The RHEL extras repository must be enabled to provide the container-selinux package.
|
# The RHEL extras repository must be enabled to provide the container-selinux package.
|
||||||
# See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository
|
# See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: Install docker 17
|
- name: Install docker 17
|
||||||
community.general.zypper:
|
community.general.zypper:
|
||||||
name: "{{ docker_packages }}"
|
name: "{{ docker_packages }}"
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: Setup Docker
|
- name: Setup Docker
|
||||||
when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['CentOS6', 'RedHat6']
|
when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['CentOS6', 'RedHat6']
|
||||||
block:
|
block:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user