Get started as an automation operator
As an automation operator, Ansible Automation Platform helps you monitor and execute automation projects with Red Hat certified collections or custom content for your organization.
View automation execution projects Copy linkLink copied!
A project is a logical collection of Ansible playbooks that you can manage in Ansible Automation Platform.
About this task Copy linkLink copied!
Platform administrators and automation developers have the permissions to create projects. As an automation operator you can view and sync projects. The following procedure desribes how to view available projects.
Procedure Copy linkLink copied!
- From the navigation panel, select . The Projects page displays a list of projects that are currently available.
- Click a project to view its details.
What to do next Copy linkLink copied!
For each project listed, you can sync the latest revision, edit the project, or copy the project’s attributes using the icons next to each project.
Work with job templates Copy linkLink copied!
A job template is a definition and set of parameters for running an Ansible job.
A job template combines an Ansible Playbook from a project with the settings required to launch the job. Job templates are useful for running the same job many times. Job templates also encourage the reuse of Ansible Playbook content and collaboration between teams.
Platform administrators and automation developers have the permissions to create job templates. As an automation operator you can launch job templates and view their details.
Launch a job template Copy linkLink copied!
Ansible Automation Platform provides push-button deployment with job templates. These templates store playbook parameters, inventories, and credentials normally passed through the command line.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- Select a template to view its details. A default job template is created during your initial setup to help you get started, but you can also create your own.
- From the Templates page, click the launch icon to run your job template.
Results Copy linkLink copied!
The Templates list view shows job templates that are currently available. The default view is collapsed (Compact), showing the template name, template type, and the timestamp of the last job that ran using that template. You can click the arrow icon next to each entry to expand and view more information. This list is sorted alphabetically by name, but you can sort by other criteria, or search by various template fields and attributes.
From this screen you can launch, edit, and copy a job template.
Surveys in job templates Copy linkLink copied!
Surveys provide a way to prompt users for input when launching a job from a job template. This input can then be used as variables in the playbook run.
Job types of Run or Check provide a way to set up surveys in the Job Template creation or editing screens. Surveys set extra variables for the playbook similar to Prompt for Extra Variables does, but in a user-friendly question and answer way. Surveys also permit for validation of user input. Select the Survey tab to create a survey.
Example
You can use surveys for several situations. For example, operations want to give developers a "push to stage" button that they can run without advance knowledge of Ansible. When launched, this task could prompt for answers to questions such as "What tag should we release?".
You can ask many types of questions, including multiple-choice questions.
Create a survey Copy linkLink copied!
You can create a survey for a job template to prompt users for input when they launch a job based on that template. Surveys can include many questions of various types, such as text input, multiple choice, and passwords.
About this task Copy linkLink copied!
The responses provided by users are stored in Ansible variables that can be used within the playbook associated with the job template.
Procedure Copy linkLink copied!
View hosts being automated in inventory files Copy linkLink copied!
An inventory is a file listing the collection of hosts managed by Ansible Automation Platform. Organizations are assigned to inventories, while permissions to launch playbooks against inventories are controlled at the user or team level.
Platform administrators and automation developers have the permissions to create inventories. As an automation operator you can view inventories and their details.
Execute an inventory Copy linkLink copied!
The following steps describe how to execute an inventory.
Procedure Copy linkLink copied!
View the status and output of automation jobs Copy linkLink copied!
A job is an instance of Ansible Automation Platform launching an Ansible Playbook against an inventory of hosts. You can view the status and output of automation jobs.
Review a job status Copy linkLink copied!
The Jobs list view displays a list of jobs and their statuses, shown as completed successfully, failed, or as an active (running) job.
Procedure Copy linkLink copied!
Review job output Copy linkLink copied!
When you relaunch a job, the jobs Output view is displayed.