Chapter 3. Running an Ansible playbook from Satellite
You can run an Ansible playbook on a host or host group by executing a remote job in Satellite.
Prerequisites
- Ansible plugin in Satellite is enabled.
- Remote job execution is configured. For more information, see Chapter 4, Configuring and Setting Up Remote Jobs.
- You have an Ansible playbook ready to use.
Procedure
- In the Satellite web UI, navigate to Monitor > Jobs.
- Click Run Job.
-
In Job category, select
Ansible Playbook
. -
In Job template, select
Ansible - Run playbook
. - Click Next.
- Select the hosts on which you want to run the playbook.
- In the playbook field, paste the content of your Ansible playbook.
- Follow the wizzard to complete setting the remote job. For more information, see Section 4.21, “Executing a Remote Job”.
- Click Submit to run the Ansible playbook on your hosts.
Additional resources
Alternatively, you can import Ansible playbooks from Capsule Servers. For more information, see the following resources: