# SPDX-License-Identifier: MIT
---
- name: Run subscription-manager repos --{{ mode | d("list") }}
  shell: |
    set -euo pipefail
    subscription-manager repos --{{ mode | d("list") }} |
    awk '/^Repo ID/ {print $3;}'
  register: test_repositories
  changed_when: false
