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:
Chris Houseknecht 2016-10-28 00:38:39 -04:00 committed by GitHub
commit dceb2a0393
3 changed files with 33 additions and 5 deletions

View file

@ -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: