Stouts / Stouts.jenkins

Ansible role which manage Jenkins CI
MIT License
41 stars 35 forks source link

Proper use of sudo #21

Closed AlbanAndrieu closed 9 years ago

AlbanAndrieu commented 9 years ago

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

klen commented 9 years ago

OK, thank you.