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

Fix pep8 error in hostname module

This commit is contained in:
James Tanner 2013-11-19 16:39:48 -05:00
parent cc2fdb9d83
commit 1d24bcc916

View file

@ -265,7 +265,7 @@ class FedoraStrategy(GenericStrategy):
if rc != 0: if rc != 0:
self.module.fail_json(msg="Command failed rc=%d, out=%s, err=%s" % self.module.fail_json(msg="Command failed rc=%d, out=%s, err=%s" %
(rc, out, err)) (rc, out, err))
return out return out
def set_permanent_hostname(self, name): def set_permanent_hostname(self, name):
cmd = ['hostnamectl', '--pretty', 'set-hostname', name] cmd = ['hostnamectl', '--pretty', 'set-hostname', name]