1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_unbound.git synced 2024-08-16 13:39:49 +02:00

Merge pull request #2 from roles-ansible/version

increase required ansible version to 2.11
This commit is contained in:
L3D 2021-07-09 11:55:10 +02:00 committed by GitHub
commit 32229ad618
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 11 deletions

View file

@ -7,8 +7,6 @@ on:
branches: '*'
pull_request:
branches: '*'
schedule:
- cron: '42 6 * */1 *'
jobs:
build:

View file

@ -7,8 +7,6 @@ on:
branches: '*'
pull_request:
branches: '*'
schedule:
- cron: '23 6 * */1 *'
jobs:
yamllint:

View file

@ -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: []

View file

@ -1,4 +1,7 @@
---
# Copyright (c) 2021 L3D <l3d@c3woc.de>
# 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:

View file

@ -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'