COLLECTION_DESCRIPTION
Part of the clbsoldev Collaboration Solution Development Environment Ansible collections.
| Role | Description |
|---|---|
__ROLE_NAME__ |
ROLE_DESCRIPTION |
Via requirements.yml in the consuming control-node repo:
collections:
- name: https://github.com/clbsoldev/ansible-collection-__COLLECTION_NAME__.git
type: git
version: v0.1.0Then:
ansible-galaxy collection install -r requirements.yml- hosts: all
roles:
- role: clbsoldev.__COLLECTION_NAME__.__ROLE_NAME__pip install ansible-core ansible-lint yamllint
yamllint .
ansible-lint
# One-time per clone: commit message template + local Conventional
# Commits check (this repo is pushed to directly, no PRs)
git config commit.template .gitmessage
git config core.hooksPath .githooks
chmod +x .githooks/commit-msgCommits must follow Conventional Commits
(feat:, fix:, chore:, ...) - .githooks/commit-msg blocks a bad
commit message locally before it's even created; commit-lint.yml is a
CI-side safety net for the case that hook was skipped. release-please
reads these commit messages directly (no squash/PR step in between).
CI runs lint + a syntax-check matrix for every role on each push/PR.
Molecule-based functional testing is intentionally deferred - see
CONTRIBUTING.md (or the project notes) for the rollout plan.
Versioning and CHANGELOG.md are maintained automatically by
release-please based on
Conventional Commits. Merging the release PR it opens creates the tag,
bumps galaxy.yml's version field, and triggers the release workflow,
which builds and publishes the collection artifact as a GitHub Release.