1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix hostname GenericStrategy.update_current_hostname() (#28774)

This commit is contained in:
Adrian Likins 2017-08-29 12:37:17 -04:00 committed by GitHub
parent d513c430de
commit f040a37c9f

View file

@ -154,7 +154,7 @@ class GenericStrategy(object):
current_name = self.get_current_hostname()
if current_name != name:
if not self.module.check_mode:
self.set_curent_hostname(name)
self.set_current_hostname(name)
self.changed = True
def update_permanent_hostname(self):