Skip to content

Improvement: move ansible playbooks to playbooks/ directory to allow direct references to them #557

Open
@ednxzu

Description

@ednxzu

Could it be considered to move the playbooks to a dedicated playbooks/ directory, in order for them to be usable from outside the repository ?

Expected Behavior

As this repo is essentially an ansible collection, I would expect to be able to add it to a larger project, and run its playbooks from this large project.

Something like:

ansible-playbook -i inventory techno_tim.k3s_ansible.site

Current Behavior

Currently, the only way to do so, is to copy the playbooks to the large project's playbook dir, and then run it (or call the absolute path to the playbook (/home/user/.ansible/collections/...)

Possible Solution

The easy fix is to move the paybooks to a dedicated playbooks/ directory as per documentation

Example in a similar collection : here

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