From 683058cc3157cd89300a7530a3ff7a2ca04e6cb0 Mon Sep 17 00:00:00 2001 From: Yongli He Date: Wed, 3 Jun 2015 10:22:09 +0800 Subject: [PATCH] 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 --- README.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 02231f850..f809639ae 100644 --- a/README.rst +++ b/README.rst @@ -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