diff --git a/osism/commands/noset.py b/osism/commands/noset.py index 9901efa7..80a30e4c 100644 --- a/osism/commands/noset.py +++ b/osism/commands/noset.py @@ -24,13 +24,11 @@ def take_action(self, parsed_args): arguments = [ "-e status=False", - "-l {host}", + f"-l {host}", ] ansible.run.delay( "generic", "state-maintenance", arguments, - publish=False, - locking=False, ) diff --git a/osism/commands/set.py b/osism/commands/set.py index 67d4fb2b..f9b78bf4 100644 --- a/osism/commands/set.py +++ b/osism/commands/set.py @@ -24,13 +24,11 @@ def take_action(self, parsed_args): arguments = [ "-e status=True", - "-l {host}", + f"-l {host}", ] ansible.run.delay( "generic", "state-maintenance", arguments, - publish=False, - locking=False, )