AMBARI-8703. Rolling Upgrade - Upgrade Pack to run preupgrade tasks only on master for NameNode (alejandro)