Skip to content

feature: idempotency fix #384

Description

@intonet

Summary

According to the Ansible documentation on desired state and idempotency , a playbook should be idempotent. This means that when executed repeatedly with the same parameters, the tasks should not produce any changes. The same principle applies when running the playbook with the --check parameter.

Currently, the playbook always reports changes for the following tasks:

lablabs.rke2 : Update apt cache
lablabs.rke2 : Download RKE2 installation script

Ensuring idempotency is critical for proper integration with CI/CD pipelines and for periodic infrastructure validation using Infrastructure-as-Code principles. Without idempotency, automated checks and deployments may result in false positives, unnecessary resource usage, and unreliable build results.

Issue Type

Feature Idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions