fix(ansible): continue using the become directive in the block

This commit is contained in:
Michele Cereda
2024-06-02 19:03:23 +02:00
parent ae049048ed
commit 5b7a9cae7d

View File

@@ -105,9 +105,10 @@
| combine
}}
- name: Do your thing!
become: true
become_user: "{{ item.key }}"
ansible.builtin.file:
path: "{{ item.value }}/placeholder"
owner: "{{ item.key }}"
state: touch
with_dict: "{{ users_homedir }}"
- name: "From the system's entries"