mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
Remove extra display statements and add docs (#18229)
* Add docs for ansible-galaxy import --role-name option. * Add docs for ansible-galaxy init --container-enabled option.
This commit is contained in:
parent
bd9ca5ef28
commit
dceb2a0393
3 changed files with 33 additions and 5 deletions
|
@ -234,9 +234,7 @@ class GalaxyCLI(CLI):
|
|||
dest_file = os.path.join(role_path, rel_root, filename)
|
||||
template_env.get_template(src_template).stream(inject_data).dump(dest_file)
|
||||
else:
|
||||
display.display("root: %s f: %s role_skeleton: %s" % (root, f, role_skeleton))
|
||||
f_rel_path = os.path.relpath(os.path.join(root, f), role_skeleton)
|
||||
display.display("f_rel_path: %s" % f_rel_path)
|
||||
shutil.copyfile(os.path.join(root, f), os.path.join(role_path, f_rel_path))
|
||||
|
||||
for d in dirs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue