Skip to content

Install Ansible collections via IDEasy #2936

Description

@majesteSil

Feature idea

Ansible generally give the option to Install Collections, these external, versioned packages of plugins, modules, and playbooks collections such as amazon.aws https://docs.ansible.com/projects/ansible/latest/collections/amazon/aws/index.html#plugins-in-amazon-aws are Used to extend the functionally of Ansible-core package

Background

With the Ansible commandlet (#2513), IDEasy now installs ansible / ansible-core and points ANSIBLE_HOME at the project's conf folder. Out of the box, however, only the default collections shipped with the installed version are available: any playbook that requires an additional collection (e.g. amazon.aws for AWS) still requires a manual ansible-galaxy collection install on every machine.

Goal

Make the installation of Ansible collections available in IDEasy, so that a project's collection dependencies become part of the project configuration and are provisioned automatically. like any other software component IDEasy manages.

Scope

  • install declared collections into the project, pinned to a version
  • make the installed collections resolvable by ansible-playbook (collections path)

Open design questions

  • declaration: project flag (e.g. ansible.collections=amazon.aws:9.0.0,community.general:10.0.0) vs. a settings file vs. auto-detection from playbook FQCNs
  • installation location: under ANSIBLE_HOME (project conf folder, consistent with Add commandlet for Ansible (ansible / ansible-playbook) #2513) vs. Ansible's workspace default (.ansible/collections) vs. under plugins like eclipse/intellij for the Plugins management

Additional context

No response

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. added
    enhancement
    on Nov 26, 2026
  3. moved this to 🆕 New in IDEasy boardon Nov 26, 2026
  4. laim2003 commented on Nov 26, 2026

    @laim2003
    Contributor

    We already have similar funtionality in IntelliJ and VSCode commandlets for example. Look at the install-pluign commandlet for more info: https://github.com/devonfw/IDEasy/blob/main/cli/src/main/java/com/devonfw/tools/ide/commandlet/InstallPluginCommandlet.java

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

Metadata

Metadata

Assignees

Labels

enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions