mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Don't create main.yml in files/templates directories on galaxy init
This commit is contained in:
parent
a14d1ca485
commit
0d4294da42
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue