local install with -K if needed

local host need exec sudo without passwork in local host, if it
need password, use -K when running the playbooks.

Change-Id: I0abf28cd76a0b69e928209daaccbbe5997af37c9
This commit is contained in:
Yongli He 2015-06-03 10:22:09 +08:00
parent 7319c65466
commit 683058cc31

View File

@ -61,7 +61,10 @@ restarted.
Run::
ansible-playbook -vvvv -i inventory/localhost install.yaml
If you have password-less sudo enabled, run:
ansible-playbook -vvvv -i inventory/localhost install.yaml
Otherwise, add -K option to let Ansible prompting for the sudo password:
ansible-playbook -K -vvvv -i inventory/localhost install.yaml
Manual CLI Use