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

14 lines
273 B
YAML
Raw Normal View History

2021-09-30 00:22:27 +02:00
---
2022-11-17 22:35:33 +01:00
- name: Update debian cache
2021-09-30 00:22:27 +02:00
become: true
ansible.builtin.apt:
update_cache: true
cache_valid_time: 43200
when: ansible_pkg_mgr == "apt"
2022-11-17 22:35:33 +01:00
- name: Install unbound
2021-09-30 00:22:27 +02:00
become: true
ansible.builtin.package:
name: unbound
state: "{{ unbound__state }}"