Skip to content

Conversation

Alex-Welsh
Copy link
Member

@Alex-Welsh Alex-Welsh commented Jul 7, 2025

This change subdivides the playbooks under the etc/kayobe/ansible/ directory into categories based on the content and purpose of the playbook.

The new categories are:

  • pulp
  • ceph
  • secret-store
  • fixes
  • deployment
  • maintenance
  • tools

The changes have been applied using various scripts, a few of which I have refined and added to this PR, namely:

  • tools/get-new-playbook-path.sh - returns the new category of a given playbook
  • tools/magic-symlink-fix.sh - Fixes all the symlinks it can find, using the previous script

@Alex-Welsh Alex-Welsh requested a review from a team as a code owner July 7, 2025 15:48
@product-auto-label product-auto-label bot added size: l documentation Improvements or additions to documentation kayobe-automation workflows Workflow files have been modified labels Jul 7, 2025
@Alex-Welsh Alex-Welsh force-pushed the ansible-directories branch from d6bc9ed to c396e39 Compare July 7, 2025 15:49
@Alex-Welsh Alex-Welsh marked this pull request as draft July 8, 2025 09:55
@Alex-Welsh Alex-Welsh force-pushed the ansible-directories branch 6 times, most recently from ffdb951 to 42fa998 Compare July 17, 2025 14:38
@technowhizz
Copy link
Contributor

@Alex-Welsh is there a reason certain playbooks are missing from tools/get-new-playbook-path.sh ?

@Alex-Welsh
Copy link
Member Author

@Alex-Welsh is there a reason certain playbooks are missing from tools/get-new-playbook-path.sh ?

Probably because they were added after I wrote the script

@technowhizz
Copy link
Contributor

Makes sense. Would be good to get them into the script before this gets merged though

@seunghun1ee
Copy link
Member

What do you think of dropping prefix of playbooks when the prefix and the category name is the same? Like secret-store, pulp, ceph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation kayobe-automation size: l workflows Workflow files have been modified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants