44and systems administration tasks. It allows the user to run commands across a
55server farm.
66
7- ## Local usage
7+ This repository is intended to be setup and run on your local workstation/laptop.
88
9- This is intended to be setup and run on your local workstation/laptop.
10-
11- ###Setup
9+ ##Setup
1210
1311To install the dependencies:
1412
@@ -24,7 +22,7 @@ Configure it (see [the fabric documentation][fabdoc] for more examples),
2422
2523[ fabdoc ] :http://docs.fabfile.org/en/latest/usage/fab.html
2624
27- ### Commands
25+ ##Commands
2826
2927You can view a list of the available tasks:
3028
@@ -37,7 +35,7 @@ And execute against an environment and set of hosts like so:
3735$ fab preview class:frontend do:'uname -a'
3836...
3937
40- ### Targetting groups of machines
38+ ##Targetting groups of machines
4139
4240Fabric tasks can be run on groups of machines in a variety of different ways.
4341
@@ -61,19 +59,6 @@ by the node name
6159# target just one node
6260$ fab production -H backend-3.backend do:'uname -a'
6361
64- ##Remote usage (legacy)
65-
66- It was previously possible to use these scripts from the jumpboxes via the
67- ` govuk_fab ` wrapper. This is no longer supported as it relied on SSH agent
68- forwarding, which is a Bad Thing because other people with root access to
69- that jumpbox would be able to re-use any of the private keys in your agent.
70-
71- You should convert to the[ local usage] (#Local usage) method described above
72- and ensure that you do not have the following option anywhere in your
73- ` ~/.ssh/config ` :
74-
75- ForwardAgent yes
76-
7762##Syncing postgres machines
7863
7964An example