summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-09 16:37:58 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-09 16:37:58 +0000
commit87c26966e32fb668b607a4ee5b00768c63afcd47 (patch)
tree539c3ce99f70445e7be3caf2f5e72addfe0606dc
parent4d3803775ec596be86fe9be30d04b6bb26176231 (diff)
downloadinfrastructure-87c26966e32fb668b607a4ee5b00768c63afcd47.tar.gz
Fix the Ansible examples (need -y to avoid blocking waiting for input)
-rw-r--r--README.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.mdwn b/README.mdwn
index a978114a..d318eaec 100644
--- a/README.mdwn
+++ b/README.mdwn
@@ -192,5 +192,5 @@ To run a playbook:
To run an ad-hoc command (upgrading, for example):
- ansible-playbook -i hosts fedora -m command -a 'sudo yum update'
- ansible-playbook -i hosts ubuntu -m command -a 'sudo apt-get update'
+ ansible-playbook -i hosts fedora -m command -a 'sudo yum update -y'
+ ansible-playbook -i hosts ubuntu -m command -a 'sudo apt-get update -y'