128 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
wrknode0[1:3].domain.example.com openshift_node_group_name='node-config-compute'
2. Check whether the VMs are available:
3. Register the VMs to RHSM:
ansible -i <inventory_file> nodes -m ping
mstnode02.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
mstnode03.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
wkrnode02.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
wkrnode03.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
mstnode01.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
wkrnode01.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
lbsnode01.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}s
ansible -i <inventory_file> -a 'subscription-manager register 
--username={{REGISTRY_SERVICE_ACCOUNT}}}} --password={{SERVICE_KEY}}'
wkrnode01.domain.example.com | SUCCESS | rc=0 >>
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: 5aee976f-1345-4e25-8c27-0028b40b6cac
...
Output truncated
...
mstnode03.domain.example.com | SUCCESS | rc=0 >>
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: 952c0b7d-bd50-4ed4-99a9-47ef762ef29f
The registered system name is: mstnode03.domain.example.com