From 6580295711999f79a206dcfe84fc8c5e576d6af9 Mon Sep 17 00:00:00 2001 From: SebClem Date: Fri, 4 Mar 2022 14:38:06 +0100 Subject: [PATCH] :sparkles: Prettier --- .vscode/extensions.json | 6 +++++- .vscode/settings.json | 4 ++-- README.md | 21 +++++++-------------- meta/main.yml | 12 ++++++------ vars/main.yml | 2 +- 5 files changed, 21 insertions(+), 24 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 290752b..b683cda 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,7 @@ { - "recommendations": ["redhat.ansible", "dhoeric.ansible-vault", "esbenp.prettier-vscode"] + "recommendations": [ + "redhat.ansible", + "dhoeric.ansible-vault", + "esbenp.prettier-vscode" + ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 95a5416..2faa62e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,6 +4,6 @@ "hosts": "yaml", "*.yml": "ansible" }, -"ansible.ansible.useFullyQualifiedCollectionNames": true, -"editor.formatOnSave": true + "ansible.ansible.useFullyQualifiedCollectionNames": true, + "editor.formatOnSave": true } diff --git a/README.md b/README.md index 6f056f2..17a35dc 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,20 @@ -${REPO_NAME_TITLE} -========= +# ${REPO_NAME_TITLE} A brief description of the role goes here. -Requirements ------------- +## Requirements Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. -Role Variables --------------- +## Role Variables A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. -Dependencies ------------- +## Dependencies A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. -Example Playbook ----------------- +## Example Playbook Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: @@ -27,12 +22,10 @@ Including an example of how to use your role (for instance, with variables passe roles: - { role: username.rolename, x: 42 } -License -------- +## License BSD -Author Information ------------------- +## Author Information An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/meta/main.yml b/meta/main.yml index 0548434..eaf30c1 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -27,12 +27,11 @@ galaxy_info: # https://galaxy.ansible.com/api/v1/platforms/ # platforms: - - name: Debian - versions: - - all + - name: Debian + versions: + - all - - galaxy_tags: + galaxy_tags: - ignore # List tags for your role here, one per line. A tag is a keyword that describes # and categorizes the role. Users find roles by searching for tags. Be sure to @@ -41,6 +40,7 @@ galaxy_info: # NOTE: A tag is limited to a single word comprised of alphanumeric characters. # Maximum 20 tags per role. -dependencies: [] +dependencies: + [] # List your role dependencies here, one per line. Be sure to remove the '[]' above, # if you add dependencies to this list. diff --git a/vars/main.yml b/vars/main.yml index fa96de2..95e177f 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,2 +1,2 @@ --- -# vars file for ${REPO_NAME_TITLE} \ No newline at end of file +# vars file for ${REPO_NAME_TITLE}