132 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
11.Check whether the VMs are started:
12.Uninstall the old kernels from VMs:
ansible -i <inventory_file> nodes,lb -m ping
mstnode01.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
wrknode01.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
wrknode02.domain.example.com | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
ansible -i <inventory_file> nodes,lb -a 'package-cleanup -y --oldkernels 
--count=1'
mstnode01.domain.example.com | SUCCESS | rc=0 >>
Loaded plugins: product-id, subscription-manager
--> Running transaction check
---> Package kernel.ppc64le 0:4.14.0-115.13.1.el7a will be erased
...
Output truncated
...
Removed:
  kernel.ppc64le 0:4.14.0-115.13.1.el7a 
Complete!