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 #5 from roles-ansible/yum

enable centos usage
This commit is contained in:
L3D 2021-09-28 14:59:34 +02:00 committed by GitHub
commit b3c0dfffab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View file

@ -3,14 +3,19 @@
ansible.builtin.include_tasks: versioncheck.yml ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool when: submodules_versioncheck|bool
- name: Install unbound - name: update cache
become: true become: true
ansible.builtin.apt: ansible.builtin.apt:
name:
- unbound
state: "{{ unbound__state }}" state: "{{ unbound__state }}"
update_cache: true update_cache: true
cache_valid_time: 43200 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 - name: Copy unbound configuration snippets
become: true become: true

View file

@ -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' playbook_version_path: 'role-unbound_roles-ansible_github.com.version'