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:
commit
32229ad618
5 changed files with 6 additions and 11 deletions
2
.github/workflows/ansible-linting-check.yml
vendored
2
.github/workflows/ansible-linting-check.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
|||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
schedule:
|
||||
- cron: '42 6 * */1 *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
2
.github/workflows/yamllint.yaml
vendored
2
.github/workflows/yamllint.yaml
vendored
|
@ -7,8 +7,6 @@ on:
|
|||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
schedule:
|
||||
- cron: '23 6 * */1 *'
|
||||
|
||||
jobs:
|
||||
yamllint:
|
||||
|
|
|
@ -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: []
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue