diff --git a/lib/ansible/plugins/become/machinectl.py b/lib/ansible/plugins/become/machinectl.py index 811f9c514e..d52aa65ff7 100644 --- a/lib/ansible/plugins/become/machinectl.py +++ b/lib/ansible/plugins/become/machinectl.py @@ -84,4 +84,4 @@ class BecomeModule(BecomeBase): become = self._get_option('become_exe') or self.name flags = self.get_option('flags') or '' user = self.get_option('become_user') or '' - return '%s shell -q %s %s@ %s' % (become, flags, user, cmd) + return '%s shell -q %s %s@ -- %s' % (become, flags, user, cmd)