I've noticed whenever I'm using this role, other tasks in a playbook that require no privilege escalation will fail.
ansible_become: yes
From vars/main.yaml seems to be the problem, as far as I understand setting ansible_become will override become: false for all tasks. When I comment that line, everything still works perfectly + the tasks that require become: false also work.
Hello,
I've noticed whenever I'm using this role, other tasks in a playbook that require no privilege escalation will fail.
From
vars/main.yaml
seems to be the problem, as far as I understand settingansible_become
will overridebecome: false
for all tasks. When I comment that line, everything still works perfectly + the tasks that requirebecome: false
also work.Maybe removing it is an option?
Greetings, Michael