ansible / workshops

Training Course for Ansible Automation Platform
MIT License
1.75k stars 1.14k forks source link

Request for a mini-workshop: "Collections, Hands on" #1025

Open termlen0 opened 3 years ago

termlen0 commented 3 years ago
SUMMARY

Topics would cover:

  1. Using collections (Galaxy and Automation Hub) from command line
  2. requirement.yml file and Tower
  3. Creating a simple collection (migrate a role)
  4. Publishing collection to a private AH

Re-use existing provisioner

ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
cloin commented 3 years ago

I think I'm working on this. I'm working with the new unified installer on top of the RHEL workshop topology turning one of the web nodes into automation hub. I think that provides a solid foundation for adding in exercises for the rest of the collection content.

abenokraitis commented 3 years ago

FYI, RHEL folks built a role migration tool as well: https://github.com/linux-system-roles/auto-maintenance#lsr_role2collectionpy

IPvSean commented 3 years ago

@termlen0 isn't there already a collections lab in there. Look into the ansible_collections folder under exercises. Is this sufficient? This was made for Ansiblefest 2020. I have not audited it yet, but it had good reviews from folks.

IPvSean commented 3 years ago

looks like Automation Hub PR here will help: https://github.com/ansible/workshops/pull/1044

IPvSean commented 3 years ago

@termlen0 would that lab work? should we abandon this workshop and just focus on EE?

termlen0 commented 3 years ago

@IPvSean probably. If it helps, I've had very positive feedback on a mini-workshop (https://github.com/RedHatTelco/collections-mini-workshop) from folks who were brand new to collections. It is very basic but helps folks get started with using collections and then converting an existing role to a collection.

IPvSean commented 2 years ago

do we still need this with Instruqt labs coming on board and execution environments? I see this issue is not been updated since October of 2021 @termlen0