---
###############################
# OpenShift Pre-Requisites

# - subscribe hosts
# - prepare docker
# - other prep (install additional packages, etc.)
#
- hosts: OSEv3
  become: true
  roles:
    - { role: subscription-manager, when: hostvars.localhost.rhsm_register, tags: 'subscription-manager', ansible_sudo: true }
    - { role: docker, tags: 'docker' }
    - { role: openshift-prep, tags: 'openshift-prep' }

- hosts: localhost:cluster_hosts
  become: False
  tasks:
    - include: pre_tasks.yml

---
###############################
# OpenShift Pre-Requisites

# - subscribe hosts
# - prepare docker
# - other prep (install additional packages, etc.)
#
- hosts: OSEv3
  become: true
  roles:
    - { role: subscription-manager, when: hostvars.localhost.rhsm_register|default(False), tags: 'subscription-manager', ansible_sudo: true }
    - { role: docker, tags: 'docker' }
    - { role: openshift-prep, tags: 'openshift-prep' }

- hosts: localhost:cluster_hosts
  become: False
  tasks:
    - include: pre_tasks.yml

Make the `rhsm_register` value optional
Make the `rhsm_register` value optional

This was a regression -- it used to be optional (defaulting to False),
but among some changes we ended up requiring it again.
