Browse Source

test 2

tags/0.0.4^2
Morgan WAHBI 9 months ago
parent
commit
17f3e9f38d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tasks/setup-RedHat.yml

+ 3
- 1
tasks/setup-RedHat.yml View File

@@ -24,7 +24,7 @@
- name: 'replace repo file'
copy:
src: docker-ce.repo
dest: '/etc/yum.repos.d/docker-ce.repo'
dest: '/etc/yum.repos.d/docker-{{ docker_edition }}.repo'
owner: root
group: root
mode: 0644
@@ -36,6 +36,7 @@
section: 'docker-{{ docker_edition }}-edge'
option: 'enabled'
value: '{{ docker_yum_repo_enable_edge }}'
when: not docker_repo_workaround

- name: 'Configure Docker Test repo'
ini_file:
@@ -43,6 +44,7 @@
section: 'docker-{{ docker_edition }}-test'
option: 'enabled'
value: '{{ docker_yum_repo_enable_test }}'
when: not docker_repo_workaround

# To install docker-ce, we need container-selinux available from an extras repo.
# The repository name depends of the environment (AWS RHEL AMI has a specific naming).


Loading…
Cancel
Save