hac/ansible/roles/knot_resolver/handlers/main.yml
Ada 2410885737
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add knot roles
2024-03-24 22:12:56 +01:00

19 lines
458 B
YAML

---
- name: Package cache update
become: true
ansible.builtin.package:
update_cache: true
- name: Restart knot resolver
become: true
ansible.builtin.service:
state: restarted
name: kresd@{{ item }}.service
with_sequence: count={{ ansible_processor_vcpus }}
- name: Enable knot resolver
become: true
ansible.builtin.service:
enabled: true
name: kresd@{{ item }}.service
with_sequence: count={{ ansible_processor_vcpus }}