Commit 9047fc41 by James Cammarata Committed by James Tanner

Don't create main.yml in files/templates directories on galaxy init

parent 63b31eec
......@@ -523,7 +523,7 @@ def execute_init(args, options):
f.write(rendered_meta)
f.close()
pass
else:
elif dir not in ('files','templates'):
# just write a (mostly) empty YAML file for main.yml
f = open(main_yml_path, 'w')
f.write('---\n# %s file for %s\n' % (dir,role_name))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment