From 51d17584d3ce2e439b01f0d115d18f8570b2679d Mon Sep 17 00:00:00 2001 From: SebClem Date: Fri, 4 Mar 2022 14:02:21 +0100 Subject: [PATCH] :sparkles: Prettier --- .drone.yml | 12 ++++++------ README.md | 2 +- group_vars/nodes.yml | 2 +- renovate.json | 4 +--- roles/requirements.yml | 2 +- secrets/hostname.yml | 28 +++++++++++++--------------- sites.yml | 5 +---- 7 files changed, 24 insertions(+), 31 deletions(-) diff --git a/.drone.yml b/.drone.yml index d2e9cce..6613a70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,13 +37,13 @@ steps: - name: Notify image: drillster/drone-email settings: - host: + host: from_secret: mail_host - username: + username: from_secret: mail_username - password: + password: from_secret: mail_password - from: - from_secret: mail_from + from: + from_secret: mail_from when: - status: [ changed, failure ] \ No newline at end of file + status: [changed, failure] diff --git a/README.md b/README.md index 0cb68d8..99ce20f 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -${REPO_NAME_TITLE} \ No newline at end of file +${REPO_NAME_TITLE} diff --git a/group_vars/nodes.yml b/group_vars/nodes.yml index b4a2c4f..f1a3ed4 100644 --- a/group_vars/nodes.yml +++ b/group_vars/nodes.yml @@ -1 +1 @@ -ansible_python_interpreter: /usr/bin/python3 \ No newline at end of file +ansible_python_interpreter: /usr/bin/python3 diff --git a/renovate.json b/renovate.json index 551a6ac..81720f6 100644 --- a/renovate.json +++ b/renovate.json @@ -1,8 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ], + "extends": ["config:base"], "commitMessagePrefix": ":arrow_up:", "regexManagers": [ { diff --git a/roles/requirements.yml b/roles/requirements.yml index 317ce9e..e489037 100644 --- a/roles/requirements.yml +++ b/roles/requirements.yml @@ -1,3 +1,3 @@ roles: - - src: https://git.sebclem.fr/ansible-roles/ansible-victoria-role.git + - src: https://git.sebclem.fr/ansible-roles/ansible-victoria-role.git scm: git diff --git a/secrets/hostname.yml b/secrets/hostname.yml index 48e11c1..45c35bb 100644 --- a/secrets/hostname.yml +++ b/secrets/hostname.yml @@ -1,19 +1,17 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ], + "extends": ["config:base"], "ignorePresets": [":prHourlyLimit2"], "commitMessagePrefix": ":arrow_up:", - "regexManagers": [ - { - "fileMatch": [ - "group_vars\\/.*\\.yml", - "host_vars\\/.*\\.yml"], - "matchStrings": [ - "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\s.*?_version: \"(?.*)\"\\s" - ], - "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" - } - ] -} \ No newline at end of file + "regexManagers": + [ + { + "fileMatch": ["group_vars\\/.*\\.yml", "host_vars\\/.*\\.yml"], + "matchStrings": + [ + "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\s.*?_version: \"(?.*)\"\\s", + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", + }, + ], +} diff --git a/sites.yml b/sites.yml index 981fc9a..2f8dd9d 100644 --- a/sites.yml +++ b/sites.yml @@ -1,5 +1,4 @@ --- - - name: ${REPO_NAME_TITLE} hosts: nodes @@ -9,7 +8,5 @@ file: "secrets/{{ inventory_hostname }}.yml" tags: - always - - - roles: [] + roles: []