Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: use subscription manager to register and set up repos
- hosts: rhel84
- vars_prompt:
- - name: rhsm_user
- prompt: "specify the rhsm user name"
- - name: rhsm_password
- prompt: "specify the rhsm password"
- tasks:
- - name: register and subscribe rhel84
- redhat_subscription:
- username: "{{ rhsm_user }}"
- password: "{{ rhsm_password }}"
- state: present
- - name: configure additional repo access
- rhsm_repository:
- name:
- - rh-gluster-3-client-for-rhel-8-x86_64-rpms
- - rhel-8-for-x86_64-appstream-debug-rpms
- state: present
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement