mirror of
https://github.com/roles-ansible/ansible_role_unbound.git
synced 2024-08-16 13:39:49 +02:00
increase required ansible version to 2.11
Increase required ansible version to 2.11 becaus of using new fully qualified collection names
This commit is contained in:
parent
1b66f791a5
commit
e3d2e6796b
3 changed files with 6 additions and 7 deletions
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
description: Ansible role to install and configure the unbound DNS resolver.
|
description: Ansible role to install and configure the unbound DNS resolver.
|
||||||
role_name: unbound
|
role_name: unbound
|
||||||
license: MIT
|
license: MIT
|
||||||
min_ansible_version: 2.8
|
min_ansible_version: 2.11
|
||||||
github_branch: master
|
github_branch: master
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
|
@ -14,4 +14,5 @@ galaxy_info:
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- unbound
|
- unbound
|
||||||
- dns
|
- dns
|
||||||
|
- dnssec
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
|
@ -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
|
- name: Create directory for versionscheck
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
@ -32,11 +35,6 @@
|
||||||
when:
|
when:
|
||||||
- playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck|bool
|
- 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
|
- name: write new version to remote disk
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|
|
@ -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'
|
playbook_version_path: 'role-unbound_roles-ansible_github.com.version'
|
||||||
|
|
Loading…
Reference in a new issue