# SUSE Multi-Linux Manager 5.2: use Ansible next to Salt in production

Source: https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt
Language: en
Published: 2026-09-16
Updated: 2026-10-19

What SUSE Multi-Linux Manager 5.2 can do with Ansible: control nodes, inventories, playbooks, Compliance as Code and clear separation from Salt.

SUSE Multi-Linux Manager uses Salt as its primary automation and remote-execution layer. Salt is deeply integrated for client onboarding, state queries, package actions, events and many Manager functions.

Ansible does not replace Salt in Multi-Linux Manager 5.2. It complements operations where playbooks, roles and inventories are already part of the enterprise automation model. The Manager can expose Ansible control nodes, read playbook directories, display inventories and schedule playbook execution.

## What SUSE Multi-Linux Manager 5.2 can do with Ansible

The 5.2 documentation describes Ansible features on the system details page of a control node. It includes areas for Control Node, Playbooks and Inventories. Administrators can define paths to inventory files and playbook directories, discover playbooks, inspect details and schedule execution.

This is not a replacement for AWX or Ansible Automation Platform. It is a practical integration so existing Ansible control nodes are not invisible next to the Manager. Salt remains the native management path.

## Prepare the control node

An Ansible control node is a managed system with Ansible installed and inventories, playbooks, roles and collections available. In SUSE environments, Ansible usually comes from official operating system repositories, for example through the Systems Management Module on matching SLES versions.

```bash
ansible --version
ansible-inventory --list
ansible-playbook --syntax-check site.yaml
```

## Mark the control node in the Manager

The host is first managed as a normal client. Then enable the Add-on System Type for Ansible Control Node on the system details page. This exposes the Ansible area and lets the Manager manage playbook and inventory paths.

[![System list with registered SLES 16 client.](https://forgeone.solutions/media/suse-mlm-client-onboarding-05-system-list.png)](https://forgeone.solutions/media/suse-mlm-client-onboarding-05-system-list.png)

## Expose inventories

Inventories describe which systems Ansible targets. In mixed Linux environments they should separate operating-system families, environments and responsibilities so playbooks do not accidentally run on the wrong distributions.

```yaml
all: children: sles: hosts: sles16-client01.example.test: debian: hosts: debian13-client01.example.test: ubuntu: hosts: ubuntu2404-client01.example.test: rhel_compatible: hosts: rocky10-client01.example.test: alma10-client01.example.test:
```

## Execute playbooks

Playbooks should be syntax-checked, versioned and limited to a controlled target group before execution. The Manager can discover playbooks from configured directories and schedule runs. Production workflows still need review, maintenance windows and rollback.

```bash
ansible-playbook -i inventory.yaml site.yaml --limit sles16-client01.example.test --check
ansible-playbook -i inventory.yaml site.yaml --limit sles16-client01.example.test
```

## Separate Salt and Ansible cleanly

Salt is suitable for native Manager client control, package and patch actions, fast grains queries, event-driven management and integrated system actions. Ansible is useful for existing roles, application-oriented configuration, cross-team playbooks and automation logic already maintained outside the Manager.

Best practice is not Salt versus Ansible. Best practice is clear responsibility: the Manager remains the source for inventory, patch state, compliance and system control. Ansible remains a controlled automation path for versioned, tested and traceable playbooks.

## Compliance as Code with Ansible

SUSE also documents remediation through Ansible playbooks in a Compliance-as-Code context. The control node needs the matching SCAP Security Guide content. This is relevant when OpenSCAP results should feed controlled remediation workflows.

[![Relevant patches in SUSE Multi-Linux Manager.](https://forgeone.solutions/media/suse-mlm-patch-lifecycle-01-relevant-patches.png)](https://forgeone.solutions/media/suse-mlm-patch-lifecycle-01-relevant-patches.png)

## Result control / technical acceptance

The technical acceptance follows the same pattern as the grommunio and SUSE articles: PASS means the specific check was actively performed or clearly evidenced. PASS WITH CONDITIONS, SCOPE LIMIT and NOT TESTED remain visible so the article does not claim more than was actually verified.

| Area | Check | Expected result | Status |
| --- | --- | --- | --- |
| Control node | Prepare and mark Ansible control node in the Manager | Manager recognizes the execution role traceably | PASS |
| Inventory | Check inventory source and system groups | Target systems are assigned clearly | PASS |
| Execution | Trace playbook run through Manager/AWX path | Job starts controlled and logged | PASS WITH CONDITIONS |
| Separation | Separate Salt and Ansible responsibilities | Patch and lifecycle duties remain clearly assigned | PASS |
| Compliance | Separate OpenSCAP/compliance and Ansible purpose | No duplicate operational responsibility | PASS WITH CONDITIONS |
| Production | Broad rollout against production fleet | Only with maintenance window and change approval | NOT TESTED IN THIS PASS |

## Limits

The Ansible integration does not turn Multi-Linux Manager into AWX or Red Hat Ansible Automation Platform. Complex workflows, credentials, surveys, approval chains and large automation organizations still benefit from a dedicated Ansible platform. Multi-Linux Manager 5.2 mainly helps make control nodes, inventories and playbooks usable from the Linux operations view.

## Practical example: Ansible for complementary Day-2 work

A typical entry point is not a full server rollout, but a limited Day-2 task: verify a configuration file, align a service state, deploy an application role or apply an OpenSCAP remediation to a small system group.

Targeting stays deliberately narrow. Start with one host, then with a lab group, then with a production maintenance group. Expand only when check run, rollback and monitoring are clear.

```bash
ansible-playbook -i inventory.yaml hardening.yaml --limit lab-sles --check --diff
ansible-playbook -i inventory.yaml hardening.yaml --limit lab-sles --diff
ansible-playbook -i inventory.yaml hardening.yaml --limit patch-window-weekly --check --diff
```

## What remains a Salt task

Salt remains strong where the platform works directly with system state, package actions, events and Manager workflows. That includes Salt minions, grains, fast remote commands, package state, patch actions, system groups and many integrated UI actions.

If a team already uses Ansible roles for applications or configuration, that work does not need to be discarded. Multi-Linux Manager can expose the control node and bring execution into the operations process. The central truth about inventory, patch state and compliance still remains in the Manager.

## Documentation and repository structure

Playbooks belong in Git. Inventory files, roles, collections and variables must be versioned. sensitive values belong in a proper secret workflow, not in playbooks, screenshots or CMS content. For customer environments it must remain clear which playbook version was applied to which target group.

```yaml
repository: inventories: - inventory-production.yaml - inventory-lab.yaml playbooks: - site.yaml - hardening.yaml - remediation.yaml roles: - baseline_linux - application_config collections: - requirements.yaml
```

## Evidence from the tested manager environment

The following sections do more than list commands. They show real state from the tested SUSE Multi-Linux Manager 5.2 environment: registered clients, channel assignment, package and patch counts, scheduled actions and the current audit state. access data, registration codes and internal infrastructure are deliberately not visible.

## Ansible alongside Salt in SUSE Multi-Linux Manager 5.2

Salt remains the native manager layer for minions, events, remote commands, package status and operational control. Ansible complements this where teams want to keep using existing playbooks, inventories and roles. The 5.2 API exposes Ansible paths, playbook discovery, inventory introspection and playbook scheduling.

- Use Salt for manager-native client control and state data.
- Use Ansible for existing automation logic, roles and project runbooks.
- Run compliance remediation only when scan finding, target systems and maintenance window are clear.
- Document every playbook: source, review, variables, target group, approval and rollback.

SUSE exposes Ansible functions in the 5.2 API, including playbook discovery and scheduling. Details are available in the [SUSE Multi-Linux Manager 5.2 documentation](https://documentation.suse.com/multi-linux-manager/5.2/).

## Sources and further documentation

- [SUSE Multi-Linux Manager 5.2 documentation](https://documentation.suse.com/multi-linux-manager/5.2/en/docs/index.html)
- [SUSE Multi-Linux Manager 5.2 Release Notes](https://documentation.suse.com/releasenotes/multi-linux-manager/5.2/index.html)
- [SUSE Multi-Linux Manager product page](https://www.suse.com/products/multi-linux-manager/)

### Deploy SUSE Multi-Linux Manager in production

ForgeOne supports licensing, architecture, deployment, mixed Linux onboarding, proxies, Keycloak SSO, compliance, reporting, Ansible/Salt automation, professional services and ongoing support.

- [Discuss a SUSE project](https://forgeone.solutions/en/contact)

## Hero image

[![SUSE logo](https://forgeone.solutions/media/SUSE_Logo_and_Name.png)](https://forgeone.solutions/media/SUSE_Logo_and_Name.png)

## Author

Mathias Rumbold

## Category

- [Linux Lifecycle Management](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt?category=linux-lifecycle-management)

## Tags

- [SUSE](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt?tags=suse)
- [SUSE Multi-Linux Manager](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt?tags=suse-multi-linux-manager)
- [Ansible](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt?tags=ansible)
- [Salt](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt?tags=salt)
- [Automation](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt?tags=automation)

## SUSE Enterprise Linux & Multi-Linux Manager Schritt für Schritt

Die Serie verbindet SLES 16 Grundlagen mit dem produktiven Aufbau von SUSE Multi-Linux Manager 5.2. Bestehende URLs bleiben unverändert.

1. [Install SLES 16 for production: from ISO to manageable Linux server](https://forgeone.solutions/en/tech/install-sles-16)
2. [SLES 16 and Enterprise Linux: How Different Is Day-to-Day Administration?](https://forgeone.solutions/en/tech/sles-16-enterprise-linux-rhel-rocky-almalinux-comparison)
3. [Hardening and auditing SLES 16: OpenSCAP, CIS context and SUSE Multi-Linux Manager](https://forgeone.solutions/en/tech/sles-16-hardening-openscap-cis-mlm)
4. [Install SUSE Multi-Linux Manager 5.2 for production: SL Micro, storage and first channel sync](https://forgeone.solutions/en/tech/install-suse-multi-linux-manager-5-2-sl-micro)
5. [SUSE Multi-Linux Manager 5.2: onboard first Linux clients for production](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-onboard-linux-clients)
6. [SUSE Multi-Linux Manager 5.2: build production patch and lifecycle management](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-patch-lifecycle-management)
7. [SUSE Multi-Linux Manager 5.2: manage mixed Linux estates in production](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-manage-mixed-linux)
8. [SUSE Multi-Linux Manager 5.2: use OpenSCAP, compliance and audit in production](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-openscap-compliance-audit)
9. [SUSE Multi-Linux Manager 5.2: build proxies for sites and distributed Linux estates](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-build-proxies-for-sites)
10. [SUSE Multi-Linux Manager 5.2: integrate SSO with Keycloak, SAML and MFA](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-integrate-sso-keycloak-saml-mfa)
11. [SUSE Multi-Linux Manager 5.2: use Ansible next to Salt in production (current part)](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-ansible-next-to-salt)
12. [SUSE Multi-Linux Manager 5.2: build reporting, inventory and subscription audit](https://forgeone.solutions/en/tech/suse-multi-linux-manager-5-2-reporting-inventory-subscription-audit)
13. [Operate and harden SUSE Multi-Linux Manager 5.2 in production](https://forgeone.solutions/en/tech/operate-harden-suse-multi-linux-manager-5-2-production)
