Prettier

This commit is contained in:
SebClem 2022-03-04 14:44:55 +01:00
parent 25f2495360
commit 9e631bde2d
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305
9 changed files with 32 additions and 34 deletions

View File

@ -1,3 +1,7 @@
{
"recommendations": ["redhat.ansible", "dhoeric.ansible-vault", "esbenp.prettier-vscode"]
"recommendations": [
"redhat.ansible",
"dhoeric.ansible-vault",
"esbenp.prettier-vscode"
]
}

View File

@ -4,6 +4,6 @@
"hosts": "yaml",
"*.yml": "ansible"
},
"ansible.ansible.useFullyQualifiedCollectionNames": true,
"editor.formatOnSave": true
"ansible.ansible.useFullyQualifiedCollectionNames": true,
"editor.formatOnSave": true
}

View File

@ -1,25 +1,20 @@
Role Name
=========
# Role Name
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).

View File

@ -1,7 +1,6 @@
---
# defaults file for ansible-renovate-role
renovate_image_name: renovate/renovate
renovate_image_tag: slim
renovate_git_endpoint: ""

View File

@ -39,7 +39,8 @@ galaxy_info:
# - 7
# - 99.99
galaxy_tags: []
galaxy_tags:
[]
# 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
# remove the '[]' above, if you add tags to this list.
@ -47,6 +48,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.

View File

@ -13,16 +13,16 @@
- name: Install requirements
pip:
name: '{{ item.name }}'
executable: '{{ item.exec }}'
loop: '{{ __docker_requirements }}'
name: "{{ item.name }}"
executable: "{{ item.exec }}"
loop: "{{ __docker_requirements }}"
- name: 'Pull renovate image'
- name: "Pull renovate image"
docker_image:
source: pull
name: '{{ renovate_image_name }}'
tag: '{{ renovate_image_tag }}'
state: 'present'
name: "{{ renovate_image_name }}"
tag: "{{ renovate_image_tag }}"
state: "present"
force_source: true
- name: Add config file