✨ Prettier
This commit is contained in:
parent
25f2495360
commit
9e631bde2d
@ -9,7 +9,7 @@ sudo: false
|
|||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- python-pip
|
- python-pip
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install ansible
|
# Install ansible
|
||||||
|
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"recommendations": ["redhat.ansible", "dhoeric.ansible-vault", "esbenp.prettier-vscode"]
|
"recommendations": [
|
||||||
|
"redhat.ansible",
|
||||||
|
"dhoeric.ansible-vault",
|
||||||
|
"esbenp.prettier-vscode"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -4,6 +4,6 @@
|
|||||||
"hosts": "yaml",
|
"hosts": "yaml",
|
||||||
"*.yml": "ansible"
|
"*.yml": "ansible"
|
||||||
},
|
},
|
||||||
"ansible.ansible.useFullyQualifiedCollectionNames": true,
|
"ansible.ansible.useFullyQualifiedCollectionNames": true,
|
||||||
"editor.formatOnSave": true
|
"editor.formatOnSave": true
|
||||||
}
|
}
|
||||||
|
21
README.md
21
README.md
@ -1,25 +1,20 @@
|
|||||||
Role Name
|
# Role Name
|
||||||
=========
|
|
||||||
|
|
||||||
A brief description of the role goes here.
|
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.
|
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.
|
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.
|
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:
|
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:
|
roles:
|
||||||
- { role: username.rolename, x: 42 }
|
- { role: username.rolename, x: 42 }
|
||||||
|
|
||||||
License
|
## License
|
||||||
-------
|
|
||||||
|
|
||||||
BSD
|
BSD
|
||||||
|
|
||||||
Author Information
|
## Author Information
|
||||||
------------------
|
|
||||||
|
|
||||||
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
|
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
# defaults file for ansible-renovate-role
|
# defaults file for ansible-renovate-role
|
||||||
|
|
||||||
|
|
||||||
renovate_image_name: renovate/renovate
|
renovate_image_name: renovate/renovate
|
||||||
renovate_image_tag: slim
|
renovate_image_tag: slim
|
||||||
renovate_git_endpoint: ""
|
renovate_git_endpoint: ""
|
||||||
|
@ -39,7 +39,8 @@ galaxy_info:
|
|||||||
# - 7
|
# - 7
|
||||||
# - 99.99
|
# - 99.99
|
||||||
|
|
||||||
galaxy_tags: []
|
galaxy_tags:
|
||||||
|
[]
|
||||||
# List tags for your role here, one per line. A tag is a keyword that describes
|
# 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
|
# and categorizes the role. Users find roles by searching for tags. Be sure to
|
||||||
# remove the '[]' above, if you add tags to this list.
|
# 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.
|
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
|
||||||
# Maximum 20 tags per role.
|
# Maximum 20 tags per role.
|
||||||
|
|
||||||
dependencies: []
|
dependencies:
|
||||||
|
[]
|
||||||
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
|
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
|
||||||
# if you add dependencies to this list.
|
# if you add dependencies to this list.
|
||||||
|
@ -13,16 +13,16 @@
|
|||||||
|
|
||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
pip:
|
pip:
|
||||||
name: '{{ item.name }}'
|
name: "{{ item.name }}"
|
||||||
executable: '{{ item.exec }}'
|
executable: "{{ item.exec }}"
|
||||||
loop: '{{ __docker_requirements }}'
|
loop: "{{ __docker_requirements }}"
|
||||||
|
|
||||||
- name: 'Pull renovate image'
|
- name: "Pull renovate image"
|
||||||
docker_image:
|
docker_image:
|
||||||
source: pull
|
source: pull
|
||||||
name: '{{ renovate_image_name }}'
|
name: "{{ renovate_image_name }}"
|
||||||
tag: '{{ renovate_image_tag }}'
|
tag: "{{ renovate_image_tag }}"
|
||||||
state: 'present'
|
state: "present"
|
||||||
force_source: true
|
force_source: true
|
||||||
|
|
||||||
- name: Add config file
|
- name: Add config file
|
||||||
|
Loading…
Reference in New Issue
Block a user