From caf4e44be717ae0140ab9e6f32d7077cfeaf5420 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 21 Aug 2014 18:26:40 -0400 Subject: [PATCH] Replace examples for requirements file. --- docsite/rst/galaxy.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docsite/rst/galaxy.rst b/docsite/rst/galaxy.rst index 1dcfab45f5..149a98a915 100644 --- a/docsite/rst/galaxy.rst +++ b/docsite/rst/galaxy.rst @@ -61,17 +61,17 @@ The extension is important. If the .yml extension is left off, the ansible-galax And here's an example showing some specific version downloads from multiple sources. In one of the examples we also override the name of the role and download it as something different:: + - src: bennojoy.mysql + name: mysql # save as mysql not bennojoy.mysql + - src: git+http://bitbucket.org/willthames/git-ansible-galaxy version: v1.4 - src: http://bitbucket.org/willthames/hg-ansible-galaxy scm: hg - - src: https://bitbucket.org/willthames/http-ansible-galaxy/get/master.tar.g name: http-role - - - src: galaxyusername.rolename - version: v1.5 - name: save_as_this_role_name + - src: https://bitbucket.org/willthames/http-ansible-galaxy/get/master.tar.gz + name: http-role As you can see in the above, there are a large amount of controls available to customize where roles can be pulled from, and what to save roles as.