Update docker_secret test for RHEL 7.3 on AWS.

pull/26551/head
Matt Clay 7 years ago
parent 3cfbc17dc6
commit f5edc840e2

@ -1,3 +1,6 @@
# 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
- name: Install Docker pre-reqs - name: Install Docker pre-reqs
yum: yum:
name: "{{ item }}" name: "{{ item }}"
@ -6,9 +9,11 @@
- yum-utils - yum-utils
- device-mapper-persistent-data - device-mapper-persistent-data
- lvm2 - lvm2
- python-crypto
- libseccomp - libseccomp
- name: Enable extras repository for RHEL on AWS
command: yum-config-manager --enable rhui-REGION-rhel-server-extras
- name: Add repository - name: Add repository
command: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo command: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
@ -19,3 +24,9 @@
yum: yum:
name: docker-ce name: docker-ce
state: present state: present
- name: Make sure the docker daemon is running (failure expected inside docker container)
service:
name: docker
state: started
ignore_errors: yes

Loading…
Cancel
Save