HI,
I had some problems with sudo_user switching. Config file not changed.
ansible 1.7.2
test.yml
HI,
I had some problems with sudo_user switching. Config file not changed.
ansible 1.7.2
test.yml
Looks like setting “sudo_user” on a task doesn’t actively cause it to invoke sudo on that task. To me, I think it should.
Can you file a ticket on this if you are seeing this in Ansible 1.7.2 or later?
Thanks!
Server: Linux Mint 17
Remote host: Ubuntu Server 14.04 LTS
Hi Evgeny,
You've missed `sudo: yes` in a first task
`sudo: yes` is mandatory `sudo_user` doesn't enable 'sudoing'
-- Best, Igor
Hi Igor,
Yes, I know it and I do it specially. I wanted to show results of both variants. And main problem showed in a second task.