diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ddc762b..dde6f4a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,9 @@ --- +# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates version: 2 updates: - - package-ecosystem: github-actions + + - package-ecosystem: "github-actions" directory: "/" schedule: interval: "daily" - assignees: - - 'do1jlr' diff --git a/.github/galaxy.svg b/.github/galaxy.svg deleted file mode 100644 index 3c6a5ab..0000000 --- a/.github/galaxy.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/license.svg b/.github/license.svg deleted file mode 100644 index 4ab6d9a..0000000 --- a/.github/license.svg +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - image/svg+xml - - - - - - 3D <l3d@c3woc.de> - - - - - MIT License - - - - - - - - - - - - - - - - - - - - - - - - - - - MIT - MIT - - - license - license - - diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 0b1268c..fbcc50a 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -11,13 +11,11 @@ jobs: steps: - name: 'checkout git repo' - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: - lfs: true - submodules: false fetch-depth: 0 - - name: 'Lint Ansible Playbook' - uses: ansible/ansible-lint-action@v6 + - name: Run ansible-lint + uses: ansible-actions/ansible-lint-action@v1.0.3 with: - path: "." + target: "./" diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index 4426496..1fb3acd 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -1,22 +1,25 @@ --- -name: Galaxy release +name: Galaxy-NG Roles Import # yamllint disable-line rule:truthy on: - push: - branches: ['main'] release: types: ['created'] jobs: build: + name: Galaxy Role Importer runs-on: ubuntu-latest - steps: - - name: 'checkout git repo' - uses: actions/checkout@v4 - - name: 'release on galaxy' - uses: robertdebock/galaxy-action@1.2.1 + steps: + - name: 'Checkout git repo' + uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + + - name: 'Release on galaxy' + uses: ansible-actions/ansible-galaxy-action@v1.2.0 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} - git_branch: 'main' + galaxy_version: 'main' diff --git a/.github/workflows/j2lint-check.yml b/.github/workflows/j2lint-check.yml new file mode 100644 index 0000000..5037de5 --- /dev/null +++ b/.github/workflows/j2lint-check.yml @@ -0,0 +1,22 @@ +--- +name: Jinja2 Linting check + +# yamllint disable-line rule:truthy +on: [push, pull_request] + +jobs: + build: + name: Jinja2 Linting + runs-on: ubuntu-latest + + steps: + - name: 'checkout git repo' + uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + + - name: Run j2lint + uses: ansible-actions/j2lint-action@v0.0.1 + with: + target: "./" diff --git a/.github/workflows/yamllint-check.yml b/.github/workflows/yamllint-check.yml new file mode 100644 index 0000000..ea68bf5 --- /dev/null +++ b/.github/workflows/yamllint-check.yml @@ -0,0 +1,22 @@ +--- +name: Yamllint check + +# yamllint disable-line rule:truthy +on: [push, pull_request] + +jobs: + build: + name: Yamllint + runs-on: ubuntu-latest + + steps: + - name: 'checkout git repo' + uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + + - name: Run yamllint + uses: ansible-actions/yamllint-action@v0.0.2 + with: + target: "./" diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml deleted file mode 100644 index bf2ed10..0000000 --- a/.github/workflows/yamllint.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: 'Yamllint GitHub Actions' - -# yamllint disable-line rule:truthy -on: - push: - branches: '*' - pull_request: - branches: '*' - -jobs: - yamllint: - name: 'Yamllint' - runs-on: ubuntu-latest - steps: - - name: 'checkout git repo' - uses: actions/checkout@v4 - - - name: 'Yamllint' - uses: karancode/yamllint-github-action@v3.0.0 - with: - yamllint_file_or_dir: '.' - yamllint_config_filepath: './.yamllint' diff --git a/README.md b/README.md index 5d06749..8e9476b 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ +[![Ansible Galaxy](https://ansible.l3d.space/svg/roles-ansible.restic.svg)](https://galaxy.ansible.com/ui/standalone/roles/roles-ansible/restic/) +[![BSD-3 Clause](https://ansible.l3d.space/svg/roles-ansible.restic_license.svg)](LICENSE) +[![Maintainance](https://ansible.l3d.space/svg/roles-ansible.restic_maintainance.svg)](https://ansible.l3d.space/#roles-ansible.restic) + Ansible Role: restic ======================= > **Beta:** This role is in beta status. -[![license](https://raw.githubusercontent.com/roles-ansible/ansible_role_restic/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_restic/blob/main/LICENSE) -[![Ansible Galaxy](https://raw.githubusercontent.com/roles-ansible/ansible_role_restic/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/restic) - Description ------------- [Restic](https://github.com/restic/restic) is a versatile Go based backup diff --git a/meta/main.yml b/meta/main.yml index b233d7d..6ebd72a 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -4,7 +4,7 @@ galaxy_info: author: do1jlr description: Ansible role to deploy restic and setup backups. license: MIT - min_ansible_version: 2.10.6 + min_ansible_version: 2.13.0 platforms: - name: ArchLinux versions: