From 70d01a49089114f5317d14a8c1851fb22bc08ef8 Mon Sep 17 00:00:00 2001 From: David Ehrman Date: Wed, 14 Feb 2024 12:01:11 -0500 Subject: [PATCH 1/2] Enable installation as an Ansible Galaxy collection Signed-off-by: David Ehrman --- README.md | 17 ++++++++++++----- galaxy.yml | 14 ++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 galaxy.yml diff --git a/README.md b/README.md index 23ab1ba..6927b6b 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,18 @@ sudo pip install ansible ``` sudo pip install imcsdk ``` -- clone this repository -``` -git clone https://github.com/ciscoucs/imc-ansible -cd imc-ansible -``` +- install this repository as an ansible galaxy collection OR by cloning this repository + ```bash + # Install as an Ansible Galaxy collection + ansible-galaxy collection install git+https://github.com/CiscoUcs/imc-ansible.git --upgrade + ``` + ```bash + # OR Install by cloning tis repository + git clone https://github.com/ciscoucs/imc-ansible + cd imc-ansible + ``` + +If you install via cloning this repository: - You will need to run playbooks from the imc-ansible module directory so that local modules are available from the library subdirectory. - See https://docs.ansible.com/ansible/latest/dev_guide/developing_locally.html for more information on Ansible's use of local modules. diff --git a/galaxy.yml b/galaxy.yml new file mode 100644 index 0000000..7d8f273 --- /dev/null +++ b/galaxy.yml @@ -0,0 +1,14 @@ +--- + +namespace: "cisco" +name: "imc" +version: 1.0.0 +readme: README.md +authors: + - "Vikrant Balyan (@vvb)" +description: "Ansible Modules for Cisco UCS IMC servers." +license: + - "Apache-2.0" +repository: "https://github.com/CiscoUcs/imc-ansible" + +... From f442c7a8f65a8fe20b9d3a8cca37eb4de281c96d Mon Sep 17 00:00:00 2001 From: David Ehrman Date: Fri, 29 Mar 2024 12:16:07 -0400 Subject: [PATCH 2/2] Add dsoper2 to authors list Signed-off-by: David Ehrman --- galaxy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/galaxy.yml b/galaxy.yml index 7d8f273..3180239 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -6,6 +6,7 @@ version: 1.0.0 readme: README.md authors: - "Vikrant Balyan (@vvb)" + - "David Soper (@dsoper2)" description: "Ansible Modules for Cisco UCS IMC servers." license: - "Apache-2.0"