Added SUDO (become:True) to Restart Service

This commit is contained in:
Fabio Sinibaldi 2026-05-06 16:09:44 +02:00
parent 8bf6782a9c
commit 479df3737e
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@
name: bind
- name: Start a service
become: True
ansible.builtin.systemd:
name: named
state: restarted