mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Fixing up some check-mode stuff
This commit is contained in:
parent
ad53b6f36a
commit
cf51d0a790
11 changed files with 26 additions and 68 deletions
|
@ -51,10 +51,8 @@ class ActionModule(ActionBase):
|
|||
self._connection.put_file(src, tmp_src)
|
||||
|
||||
if self._connection_info.become and self._connection_info.become_user != 'root':
|
||||
# FIXME: noop stuff here
|
||||
#if not self.runner.noop_on_check(inject):
|
||||
# self._remote_chmod('a+r', tmp_src, tmp)
|
||||
self._remote_chmod('a+r', tmp_src, tmp)
|
||||
if not self._connection_info.check_mode:
|
||||
self._remote_chmod('a+r', tmp_src, tmp)
|
||||
|
||||
new_module_args = self._task.args.copy()
|
||||
new_module_args.update(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue