Skip to content

Idempotent incus module #45

@breml

Description

@breml

While working with my home lab with actual hardware I found the existing conditions, which decide, if a particular task is executed or not, problematic, in particular for the incus part. There the condition for a good number of tasks is install_deb.changed or install_rpm.changed.

In my tests, the installation of the .deb package was already successful in a previous run, but some of the later incus command based tasks failed. In the consecutive runs, these steps have been skipped, since the .deb package was already installed and therefore the condition was not met.

For the ansible playbook to become more reliable and "self healing", these tasks need to be rewritten in an idempotent way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions