Browse Source

rhel_docker_repo_workaround

tags/0.0.4^2
Morgan WAHBI 8 months ago
parent
commit
44d8979a80
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      defaults/main.yml
  2. +1
    -1
      kitchen.yml
  3. +3
    -3
      tasks/setup-RedHat.yml

+ 1
- 1
defaults/main.yml View File

@@ -20,4 +20,4 @@ docker_yum_repo_enable_edge: 0
docker_yum_repo_enable_test: 0

docker_users: []
docker_repo_workaround: false
rhel_docker_repo_workaround: false

+ 1
- 1
kitchen.yml View File

@@ -78,7 +78,7 @@ suites:
name: "ansible_playbook"
playbook: "tests/test.yml"
extra_vars:
docker_repo_workaround: true
rhel_docker_repo_workaround: true
verifier:
inspec_tests:
- name: local


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

@@ -19,7 +19,7 @@
owner: root
group: root
mode: 0644
when: not docker_repo_workaround
when: not rhel_docker_repo_workaround

- name: 'replace repo file'
copy:
@@ -28,7 +28,7 @@
owner: root
group: root
mode: 0644
when: docker_repo_workaround
when: rhel_docker_repo_workaround

- name: 'Configure Docker Test repo'
ini_file:
@@ -36,7 +36,7 @@
section: 'docker-{{ docker_edition }}-test'
option: 'enabled'
value: '{{ docker_yum_repo_enable_test }}'
when: not docker_repo_workaround
when: not rhel_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