ansible vars are as follows:
self.facts['hostname'] = platform.node().split('.')[0]
self.facts['nodename'] = platform.node()
We should use the "nodename" var instead of the hostname variable.
Closes-Bug: #1667193
Change-Id: Id98016cfffd30d2adaec058c861771f9aefe27b3
1.0 KiB
1.0 KiB