summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/enable-repos.yml
blob: 204bf03d3d556bbce40068340bc80a5f9eebb3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: Enable docker repos back for Molecule testing purposes
  copy:
    remote_src: yes
    src: "{{ item }}"
    dest: "{{ (item | splitext)[0] }}"
  loop: "{{ docker_needed_repos }}"

- name: Disable offline repo for molecule testing purposes
  lineinfile:
    path: "{{ offline_repo_file }}"
    regexp: 'enabled = 1'
    line: 'enabled = 0'