diff options
Diffstat (limited to 'test/integration/openshift_health_checker/preflight/playbooks/tasks/enable_repo.yml')
-rw-r--r-- | test/integration/openshift_health_checker/preflight/playbooks/tasks/enable_repo.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/openshift_health_checker/preflight/playbooks/tasks/enable_repo.yml b/test/integration/openshift_health_checker/preflight/playbooks/tasks/enable_repo.yml new file mode 100644 index 000000000..6022f4289 --- /dev/null +++ b/test/integration/openshift_health_checker/preflight/playbooks/tasks/enable_repo.yml @@ -0,0 +1,9 @@ +--- +- name: Enable {{ repo_name }} repo + # believe it or not we can't use the yum_repository module for this. + # https://github.com/ansible/ansible-modules-extras/issues/2384 + ini_file: + dest: /etc/yum.repos.d/{{ repo_file | default(repo_name) }}.repo + section: "{{ repo_name }}" + option: enabled + value: "{{ repo_enabled | default(1) }}" |