Skip to content

Add ansible-lint and pre-commit to install list#22

Merged
kenorb merged 1 commit into
masterfrom
kenorb-patch-2
Jun 4, 2026
Merged

Add ansible-lint and pre-commit to install list#22
kenorb merged 1 commit into
masterfrom
kenorb-patch-2

Conversation

@kenorb
Copy link
Copy Markdown
Owner

@kenorb kenorb commented Jun 2, 2026

Summary by Sourcery

Add additional development tools to the Ansible-managed package installation list.

New Features:

  • Include ansible-lint in the default apt packages installed by Ansible.
  • Include pre-commit in the default apt packages installed by Ansible.

Summary by CodeRabbit

  • Chores
    • Added ansible-lint and pre-commit packages to the system package installation configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ffb8148f-8574-4b15-9b88-974d16e6af67

📥 Commits

Reviewing files that changed from the base of the PR and between 41abdd6 and 3b03f7b.

📒 Files selected for processing (1)
  • .ansible/variables-example.yml

📝 Walkthrough

Walkthrough

This PR extends the Ansible variables example configuration by adding two development tools to the system package provisioning list: ansible-lint for Ansible playbook linting and pre-commit for git hook management.

Changes

System Package Provisioning

Layer / File(s) Summary
Development tools packages
.ansible/variables-example.yml
ansible-lint and pre-commit are added to the apt.install package list for development environment provisioning.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 Two tools hop into the package list,
ansible-lint and pre-commit persist,
Development workflows now more sound,
Better linting and hooks around! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch kenorb-patch-2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Jun 2, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds ansible-lint and pre-commit to the default Ansible-managed apt package installation list in the example variables file.

File-Level Changes

Change Details Files
Extend the default apt package install list with tooling for linting and git hooks.
  • Add ansible-lint to the apt.install package list so it is installed by default on managed hosts
  • Add pre-commit to the apt.install package list to ensure the git hooks tool is available by default
.ansible/variables-example.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@kenorb kenorb marked this pull request as ready for review June 4, 2026 02:15
@kenorb kenorb merged commit dda3efe into master Jun 4, 2026
7 checks passed
@kenorb kenorb deleted the kenorb-patch-2 branch June 4, 2026 02:15
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant