mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Keep machinectl from parsing options of cmd (#56572)
This is needed on machinectl versions prior to v231 (d6c3537ea9
to be precise).
Fixes #56571
This commit is contained in:
parent
8cee127ee4
commit
3b16036ce2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue