Allow survey input or extra variables during job launch. Enable prompt fields in the job template.
Create a job template for ad hoc operations that uses a shell script stored in a playbook.A. See the Explanation. Explanation: 1. Write a playbook that uses the shell or command module: - name: Run script hosts: all tasks: - name: Restart Apache shell: systemctl restart httpd 2. Store it in your Git repo. 3. Sync project and create a job template referencing this playbook. 4. Attach proper inventory and credential. 5. Launch the job.
Allow multiple credentials in a job template (e.g., machine + vault).
Create an inventory in the controller pointing to a dynamic inventory source (e.g., AWS EC2).
Rename an existing job template from Install Web to Install Apache Web.A. See the Explanation. Explanation: 1. Go to Templates → Click the Install Web job template → Edit. 2. Update the Name field to Install Apache Web. 3. Click Save. 4. The new name is reflected in all listings and dashboards. 5. Existing configuration remains unchanged.
You are provided with a fresh Red Hat Enterprise Linux 8 server. Your task is to install Ansible Automation Platform 2.x on this system using Red Hat subscription and official repositories. Provide the complete installation process step-by-step.