From 983ee0898dd372de415769d161ba74ed53c5ddd2 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 22 Sep 2015 15:03:40 -0700 Subject: [PATCH] Add mention of roles_path parameter to `ansible-galaxy install` command --- docsite/rst/galaxy.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docsite/rst/galaxy.rst b/docsite/rst/galaxy.rst index 808e3e42356..5f3d2e1ff86 100644 --- a/docsite/rst/galaxy.rst +++ b/docsite/rst/galaxy.rst @@ -26,6 +26,17 @@ The most obvious is downloading roles from the Ansible Galaxy website:: ansible-galaxy install username.rolename +.. _roles_path: + +roles_path +=============== + +You can specify a particular directory where you want the downloaded roles to be placed:: + + ansible-galaxy install username.role -p ~/Code/ansible_roles/ + +This can be useful if you have a master folder that contains ansible galaxy roles shared across several projects. The default is the roles_path configured in your ansible.cfg file (/etc/ansible/roles if not configured). + Building out Role Scaffolding -----------------------------