openSUSE_Leap.yaml 280 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
---
- name: Add upstream repo(s)
  zypper_repository:
    repo: "{{ repo_file_url}}"
    state: present
    disable_gpg_check: true  # auto_import_keys is broken
  with_items: "{{ repos }}"

- name: Refresh all repositories
  zypper_repository:
    repo: '*'
    runrefresh: true