summaryrefslogtreecommitdiff
path: root/README.mdwn
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-09 16:07:40 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-09 16:07:40 +0000
commit84b9cc1b8e26f2799879f57226c0bcb11bd8b7b6 (patch)
treef1ea27a39b9ee8f9721df16a923944deac33a366 /README.mdwn
parente3b5746f8064819bae40e900763bc2c2df77d376 (diff)
downloadinfrastructure-84b9cc1b8e26f2799879f57226c0bcb11bd8b7b6.tar.gz
Allow administrating all baserock.org systems using Ansible
Diffstat (limited to 'README.mdwn')
-rw-r--r--README.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.mdwn b/README.mdwn
index cc32a371..f8dc1cc5 100644
--- a/README.mdwn
+++ b/README.mdwn
@@ -170,3 +170,18 @@ The the Packer tool requires a floating IP to be available at the time a system
is being deployed to OpenStack. Currently 85.199.252.152 should be used for
this. If you specify a floating IP that is in use by an existing instance, you
will steal it for your own instance and probably break one of our web services.
+
+
+Administration
+--------------
+
+You can use Ansible to automate tasks on the baserock.org systems.
+
+To run a playbook:
+
+ ansible-playbook -i hosts $PLAYBOOK.yaml
+
+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'