Here’s the solution:
When stating hostnames it has to be very carefully typed as hostname.domain or otherwise, if there is a difference between what’s advertised in
pcs status resources | awk ‘NR==1 {print $5}’ to what the hostname command produces, then your nodes will fail to print their proper role.
closing!