From e3d2e6796bff884d20697ec8847645432d81d0bb Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 8 Jul 2021 12:11:04 +0200 Subject: [PATCH 1/2] increase required ansible version to 2.11 Increase required ansible version to 2.11 becaus of using new fully qualified collection names --- meta/main.yml | 3 ++- tasks/versioncheck.yml | 8 +++----- vars/main.yml | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index 063cb6b..5203cc5 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -4,7 +4,7 @@ galaxy_info: description: Ansible role to install and configure the unbound DNS resolver. role_name: unbound license: MIT - min_ansible_version: 2.8 + min_ansible_version: 2.11 github_branch: master platforms: - name: Debian @@ -14,4 +14,5 @@ galaxy_info: galaxy_tags: - unbound - dns + - dnssec dependencies: [] diff --git a/tasks/versioncheck.yml b/tasks/versioncheck.yml index dca3e47..5128cc8 100644 --- a/tasks/versioncheck.yml +++ b/tasks/versioncheck.yml @@ -1,4 +1,7 @@ --- +# Copyright (c) 2021 L3D +# this file is released with the MIT license. +# License: https://github.com/roles-ansible/ansible_role_template/blob/main/LICENSE - name: Create directory for versionscheck become: true ansible.builtin.file: @@ -32,11 +35,6 @@ when: - playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck|bool -- name: check if '/etc/ansible-version/' is empty - ansible.builtin.find: - paths: '/etc/ansible-version/' - register: filesFound - - name: write new version to remote disk become: true ansible.builtin.copy: diff --git a/vars/main.yml b/vars/main.yml index 6a7cd51..f8a5c8c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 65 # should be integer +playbook_version_number: 66 # should be integer playbook_version_path: 'role-unbound_roles-ansible_github.com.version' From 4649389a2248c03f6203da1aa1c49fb2b2af68cd Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 9 Jul 2021 11:52:07 +0200 Subject: [PATCH 2/2] disable scheduled runs --- .github/workflows/ansible-linting-check.yml | 2 -- .github/workflows/yamllint.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 7973217..ab63487 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -7,8 +7,6 @@ on: branches: '*' pull_request: branches: '*' - schedule: - - cron: '42 6 * */1 *' jobs: build: diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index ddb5b89..d4ad029 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -7,8 +7,6 @@ on: branches: '*' pull_request: branches: '*' - schedule: - - cron: '23 6 * */1 *' jobs: yamllint: