Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ansible_become: yes' messes with tasks that need 'become: false' #7

Open
michaelbaisch opened this issue Nov 13, 2021 · 0 comments · May be fixed by #8
Open

'ansible_become: yes' messes with tasks that need 'become: false' #7

michaelbaisch opened this issue Nov 13, 2021 · 0 comments · May be fixed by #8

Comments

@michaelbaisch
Copy link
Contributor

Hello,

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.

Maybe removing it is an option?

Greetings,
Michael

michaelbaisch added a commit to michaelbaisch/ansible-role-imagemagick that referenced this issue Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant