summaryrefslogtreecommitdiffstats
path: root/test/integration/openshift_health_checker/preflight/playbooks/tasks/enable_repo.yml
blob: aaacf205e6875a701530a97e3235f5d937c3f7a3 (plain)
1
2
3
4
5
6
7
8
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_name }}.repo
    section: "{{ repo_name }}"
    option: enabled
    value: 1