Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Submitted
Created by Guest
Created on May 2, 2025

ILMT Playbooks compatibility with the Ansible Automation Platform

In our organisation we are using Ansible Automation Platform(AAP) to control our inventory, schedule and execute our playbooks, store our secrets, authentication and authorization, logging, etc. AAP is the standard Enterprise Solution for managing & orchestrating hosts within a business environment. Within the AAP, Ansible is not run on a Control Node but on the so called “Execution Environments”. Execution Environments are Podman container images which acts as a control node. They contain ansible-core, ansible-runner, python, additional system dependencies and additional ansible collections. 

(Note: execution environments are podman containers, they are temporary of nature. That is to say: containers are to be spinned up during the start of the playbook and are deleted after completion. The data & reports transferred to these EE’s are to be deleted as well.)

We noticed a few examples in the playbooks whereby the design was not fully complementary with execution environments in mind. They were designed with the more traditional Control Nodes in mind. 

Below are few examples:

collect_scan_results_unix.yml:

---

- name: "Get the list of packages with scan results from UNIX/Linux endpoints"

  find:

    paths: "{{ lmt_scanner_output_path_unix \

              if ( lmt_scanner_output_path_unix is defined ) \

              else lmt_scanner_path_unix + '/output' }}"

    use_regex: true

    patterns: ['^\d{12}-.+-\d{10}\.tar\.gz$']

  register: files_to_copy_unix

 

- name: "Fetch packages with scan results from UNIX/Linux endpoints"

  fetch:

    src: "{{ item.path }}"

    dest: "{{ lmt_local_file_storage_path }}/{{ lmt_scan_result_packages_folder }}/"

    flat: true

  register: fetched_files

  with_items: "{{ files_to_copy_unix.files }}"

  loop_control:

    label: "{{ item.path | basename }}"

 

- name: "Clean up packages on UNIX/Linux endpoints"

  file:

    state: absent

    path: "{{ item.path }}"

  with_items: "{{ files_to_copy_unix.files }}"

  when: fetched_files is succeeded

  ignore_errors: true

  loop_control:

    label: "{{ item.path | basename }}"

 

In this occasion the lmt_local_file_storage_path is set to the ./lmt_file_storage directory. As this is being executed in the execution environment container and not the control node, the files are stored in a container. 

Lmt_collect_troubleshooting_data

The next example I discovered is the collect_troubleshooting_data playbook. The support team is asking for the reports generated by this playbook when opening a ticket. Therefor it is important that it can be run accordingly to have a smooth process. In the collect_troubleshooting_data_unix task:

 

- name: "Fetch troubleshooting data archive from UNIX/Linux endpoints"

  fetch:

    src: "{{ lmt_scanner_path_unix }}/work/{{ ansible_host }}_{{ unix_endpoint_id.stdout }}.tar.gz"

    dest: "{{ lmt_local_file_storage_path }}/{{ lmt_troubleshooting_data_folder }}/"

    flat: true

  register: fetched_files

 

- name: "Remove troubleshooting data archive from UNIX/Linux endpoints"

  file:

    state: absent

    path: "{{ lmt_scanner_path_unix }}/work/{{ ansible_host }}_{{ unix_endpoint_id.stdout }}.tar.gz"

  when: fetched_files is succeeded

 

Again, the data is transferred to the execution environment and not the control node. Here the results are more severe; the troubleshooting data will be deleted with the execution environment as there is no host acting as a control node within AAP. Therefor the lmt_collect_troubleshooting_data playbook is not compatible with the Ansible Automation Platform.

 

Please update the code to be more compatible with AAP environment, so that it helps in troubleshooting during any issue we register with IBM or so.

 

Thanks in advance.

 

 

Idea priority Low