Chapter 1. Configuration management with Ansible in Satellite
By using Ansible as a configuration management tool in Satellite, you can define the desired state of your hosts and maintain it over time. Satellite combines Ansible features with recurring job runs and centralized orchestration, which helps you manage host configurations consistently.
1.1. High-level steps for configuration management with Ansible Copy linkLink copied to clipboard!
You use Ansible roles to define the desired state of the hosts registered to Satellite. Running the roles enforces the configuration.
Configuration management with Ansible involves the following high-level steps:
- Import Ansible roles into Satellite.
- Assign specific roles to a host or host group.
- Optional: Override Ansible variables per host or host group in Satellite.
- Run the roles on the host or host group.
As a result, your hosts maintain a consistent configuration over time. The Ansible roles become a part of their definition.
Running an Ansible role on a host triggers a remote execution job in the background but the use case is different. The typical use case for a remote execution job is to run an ad-hoc task or orchestration. The typical use case for configuration management by using Ansible and Ansible roles is long-term state management.
Additional resources
1.2. Ansible versions supported for integration with Satellite Copy linkLink copied to clipboard!
Satellite repositories include ansible-core as a packaged dependency, which determines the version supported for integration with Satellite.
Satellite repositories include ansible-core as a packaged dependency for Ansible integration with Satellite Server and Capsule Servers. The supported version of Ansible is ansible-core 2.16.