while-true-do / ansible-skeleton

The skeleton to create new ansible roles.
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

role_name conflict #35

Closed donvipre closed 6 years ago

donvipre commented 6 years ago

Type of Report

bug

Actual behaviour

The command ansible-galaxy init role-name will still break the Ansible Galaxy naming convention.

Expected behaviour

I would propose role-name should be the name in the initial setup of an creation of a role and should also be the Github name ansible-role-role-name.

But: the Ansible Galaxy relevant entries should be simply converted within the Jinja 2 template to convert
from - to _.

Result should be that the Ansible Galaxy name is then: role_name.

Specifications

Attachments