mirror of
https://github.com/roles-ansible/ansible_role_unbound.git
synced 2024-08-16 13:39:49 +02:00
commit
b3c0dfffab
2 changed files with 9 additions and 4 deletions
|
@ -3,14 +3,19 @@
|
|||
ansible.builtin.include_tasks: versioncheck.yml
|
||||
when: submodules_versioncheck|bool
|
||||
|
||||
- name: Install unbound
|
||||
- name: update cache
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- unbound
|
||||
state: "{{ unbound__state }}"
|
||||
update_cache: true
|
||||
cache_valid_time: 43200
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
- name: install unbound
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name: unbound
|
||||
state: present
|
||||
|
||||
- name: Copy unbound configuration snippets
|
||||
become: true
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
playbook_version_number: 67 # should be integer
|
||||
playbook_version_number: 68 # should be integer
|
||||
playbook_version_path: 'role-unbound_roles-ansible_github.com.version'
|
||||
|
|
Loading…
Reference in a new issue