Stouts/Stouts.jenkins — pull request #21 by AlbanAndrieu (2014-11-21 10:46:50+00:00)
Title: Proper use of sudo

Hi,

May I suggest the following improvment:

Proper use of sudo (only when required).
My issue was the following:

I was running :
sudo ansible-playbook -i hosts -c local -v jenkins-master.yml -vvvv
I must have done
ansible-playbook -i hosts -c local -v jenkins-master.yml -vvvv --ask-sudo-pass

I cannot sudo the whole playbook, because I an getting rsa key from my home. And my home is on a NIS (So I have a permission issue)

That is why sudo must be done only when required (for me)

Thanks for reading... It was a bit long

And have a nice day.

Alban