From b5fbf4c24d8bfd42c352dcfdf1ea98b4fa01f367 Mon Sep 17 00:00:00 2001 From: Adrian Wyssmann Date: Thu, 8 Jul 2021 12:27:17 +0200 Subject: [PATCH] ansible-galaxy: add role info and collection info examples (#6187) --- pages/common/ansible-galaxy.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/common/ansible-galaxy.md b/pages/common/ansible-galaxy.md index 5f422e3f96..31f4b5983e 100644 --- a/pages/common/ansible-galaxy.md +++ b/pages/common/ansible-galaxy.md @@ -5,11 +5,11 @@ - Install a role: -`ansible-galaxy install {{username.role_name}}` +`ansible-galaxy install {{username}}.{{role_name}}` - Remove a role: -`ansible-galaxy remove {{username.role_name}}` +`ansible-galaxy remove {{username}}.{{role_name}}` - List installed roles: @@ -22,3 +22,11 @@ - Create a new role: `ansible-galaxy init {{role_name}}` + +- Get information about a user role: + +`ansible-galaxy role info {{username}}.{{role_name}}` + +- Get information about a collection: + +`ansible-galaxy collection info {{username}}.{{collection_name}}`