From e2bee24621a9e8249529d770942059ba3ef90a68 Mon Sep 17 00:00:00 2001 From: Lee Hambley Date: Tue, 26 Nov 2013 16:35:11 +0100 Subject: [PATCH] Apply filtering doc changes in Jekyll --- .../getting-started/role-filtering/index.html | 42 +++++++++++++------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/_site/documentation/getting-started/role-filtering/index.html b/_site/documentation/getting-started/role-filtering/index.html index c7f5c757..a5f37668 100644 --- a/_site/documentation/getting-started/role-filtering/index.html +++ b/_site/documentation/getting-started/role-filtering/index.html @@ -136,16 +136,22 @@ be executed on it.

Capistrano will read the role filter from the environment variable ROLES if it is set. You can set it inline:

-
ROLES=app,web cap production deploy
-
+ +
+
ROLES=app,web cap production deploy
+
+

Specify multiple roles by separating them with a comma.

In configuration

You can set the role filter inside your deploy configuration. For example, you can set the following inside config/deploy.rb:

-
set :filter, :roles => %w{app web}
-
+ +
+
set :filter, :roles => %w{app web}
+
+

Note that you specify the filter as an array rather than as a comma-separated list of roles when using this method.

@@ -153,8 +159,11 @@ list of roles when using this method.

In a similar way to using the environment variable, you can set the role filter by specifying it as a command line argument to cap:

-
cap --roles=app,web production deploy
-
+ +
+
cap --roles=app,web production deploy
+
+

Like the environment variable method, specify multiple roles by separating them with a comma.

@@ -190,16 +199,22 @@ be executed on it.

Capistrano will read the role filter from the environment variable ROLES if it is set. You can set it inline:

-
ROLES=app,web cap production deploy
-
+ +
+
ROLES=app,web cap production deploy
+
+

Specify multiple roles by separating them with a comma.

In configuration

You can set the role filter inside your deploy configuration. For example, you can set the following inside config/deploy.rb:

-
set :filter, :roles => %w{app web}
-
+ +
+
set :filter, :roles => %w{app web}
+
+

Note that you specify the filter as an array rather than as a comma-separated list of roles when using this method.

@@ -207,8 +222,11 @@ list of roles when using this method.

In a similar way to using the environment variable, you can set the role filter by specifying it as a command line argument to cap:

-
cap --roles=app,web production deploy
-
+ +
+
cap --roles=app,web production deploy
+
+

Like the environment variable method, specify multiple roles by separating them with a comma.

-->