mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-10 18:34:03 -07:00
This implements a basic --check mode which for now is only implemented on template & copy operations. More detail will be shared with the list
shortly.
This commit is contained in:
parent
28cf95e585
commit
fed82c2188
21 changed files with 125 additions and 24 deletions
|
@ -47,7 +47,11 @@ class ActionModule(object):
|
|||
}
|
||||
|
||||
def run(self, conn, tmp, module_name, module_args, inject):
|
||||
''' run the pause actionmodule '''
|
||||
''' run the pause action module '''
|
||||
|
||||
# note: this module does not need to pay attention to the 'check'
|
||||
# flag, it always runs
|
||||
|
||||
hosts = ', '.join(self.runner.host_set)
|
||||
args = parse_kv(template(self.runner.basedir, module_args, inject))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue