Fix permissions (add become: true)

This commit is contained in:
Filipe Marcelino 2024-09-02 02:31:30 +01:00
parent f0246711c3
commit 90a6428440
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---
- name: restart docker
become: true
service:
name: docker
state: "{{ docker_restart_handler_state }}"

View File

@ -104,6 +104,7 @@
when: at_least_one_user_to_modify is defined
- name: Set `/var/run/docker.sock` right permissions
become: true
ansible.builtin.file:
path: /var/run/docker.sock
mode: "0666"