mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
add transparent vault use to other plugins (#16957)
assemble, script and unarchive (copy already had it).
This commit is contained in:
@@ -48,7 +48,8 @@ class ActionModule(ActionBase):
|
||||
fragment = "%s/%s" % (src_path, f)
|
||||
if not os.path.isfile(fragment) or (ignore_hidden and os.path.basename(fragment).startswith('.')):
|
||||
continue
|
||||
fragment_content = file(fragment).read()
|
||||
|
||||
fragment_content = file(self._loader.get_real_file(fragment)).read()
|
||||
|
||||
# always put a newline between fragments if the previous fragment didn't end with a newline.
|
||||
if add_newline:
|
||||
|
||||
Reference in New Issue
Block a user