From a721416940a16eb20c741ae854104b704e114e52 Mon Sep 17 00:00:00 2001 From: Jeff Geerling <geerlingguy@mac.com> Date: Wed, 10 Mar 2021 16:02:31 -0600 Subject: [PATCH] Remove errant note about changing the name of existing roles. See: https://github.com/ansible/galaxy/issues/2622#issuecomment-792808354 +label: docsite_pr --- docs/docsite/rst/contributing/creating_role.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/docsite/rst/contributing/creating_role.rst b/docs/docsite/rst/contributing/creating_role.rst index 2ab87c65a..86b1a9066 100644 --- a/docs/docsite/rst/contributing/creating_role.rst +++ b/docs/docsite/rst/contributing/creating_role.rst @@ -185,12 +185,6 @@ To override the default name, set the ``role_name`` attribute in the role ``meta Role names are limited to lowercase word characters (i.e., a-z, 0-9) and '_'. No special characters are allowed, including '.', '-', and space. During import, any '.' and '-' characters contained in the repository name or role_name will be replaced with '_'. -.. note:: - - Setting the value of *role_name* on an existing role will change the name of the role by converting it - to lowercase, and translating '-' and '.' to '_'. If the name of an existing role should not be - altered, don't set the value of *role_name*. - .. note:: `role_name` is not used at all if the role is installed using its Git URL. Instead, the name of the repo is used.