enterprise.yml 456 B

123456789101112
  1. ---
  2. - name: Disable all repositories
  3. command: subscription-manager repos --disable="*"
  4. - name: Enable RHEL repositories
  5. command: subscription-manager repos \
  6. --enable="rhel-7-server-rpms" \
  7. --enable="rhel-7-server-extras-rpms" \
  8. --enable="rhel-7-server-ose-{{ openshift_release }}-rpms" \
  9. --enable="rhel-7-fast-datapath-rpms"
  10. register: subscribe_repos
  11. until: subscribe_repos | succeeded