Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible MVP - Implement ansible-lint GHA Action into Workflows #1519

Open
YisDav opened this issue Jan 22, 2025 · 0 comments
Open

Ansible MVP - Implement ansible-lint GHA Action into Workflows #1519

YisDav opened this issue Jan 22, 2025 · 0 comments

Comments

@YisDav
Copy link
Member

YisDav commented Jan 22, 2025

Description

The objective of this sub-issue is to integrate ansible-lint into the existing GitHub Actions (GHA) workflows for the Wazuh Ansible project. This integration will ensure that all Ansible playbooks and roles adhere to best practices and coding standards, thereby enhancing the overall quality and maintainability of the codebase.

Tasks

  1. Modify Existing Workflow:

    • Include ansible-lint in the project's dependencies.
    • Integrate the ansible-lint step into the workflow, ensuring it runs at appropriate stages (e.g., before deployment).
  2. Configure Linting Parameters:

    • Specify the environment setup for ansible-lint, including the necessary Python version.
    • Adjust the configuration to run ansible-lint against the playbooks and roles in the repository.
  3. Capture and Report Linting Results:

    • Ensure that the output from ansible-lint is captured and reported in the workflow logs.
  4. Fine-tune Configuration:

    • Review the output from the integrated ansible-lint step and adjust the linting rules as necessary.
@YisDav YisDav changed the title Implement ansible-lint GHA Action into Workflows Ansible MVP | Implement ansible-lint GHA Action into Workflows Jan 22, 2025
@YisDav YisDav changed the title Ansible MVP | Implement ansible-lint GHA Action into Workflows Ansible MVP - Implement ansible-lint GHA Action into Workflows Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant