mirror of
https://github.com/roles-ansible/ansible_role_unbound.git
synced 2024-08-16 13:39:49 +02:00
14 lines
273 B
YAML
14 lines
273 B
YAML
|
---
|
||
|
- name: update debian cache
|
||
|
become: true
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: true
|
||
|
cache_valid_time: 43200
|
||
|
when: ansible_pkg_mgr == "apt"
|
||
|
|
||
|
- name: install unbound
|
||
|
become: true
|
||
|
ansible.builtin.package:
|
||
|
name: unbound
|
||
|
state: "{{ unbound__state }}"
|