BacklogZero®

Ansible in a Minute · AAP 2.7 ·

Create a survey on a job template in AAP 2.7

Short answer

Add a survey question to a job template in AAP 2.7 so launch prompts the operator for input.

Subscribe for updates

Get an email whenever we publish new guides and blog posts. Unsubscribe anytime.

By subscribing you agree we may email you about Ansible in a Minute and related Level Up Labs updates. We store your address in the same lead sheet as our contact form.

Request

Open a job template Survey tab and create one survey question.

How it works

A survey asks questions at launch. Answers become extra variables for the playbook.

When to use it

  • Collecting an application name or environment at launch
  • Validating operator input before a job starts

Requirements

  • AAP: 2.7
  • An existing job template
  • Permission to edit job templates

Procedure

  1. Open Automation Execution.
  2. Open Templates.
  3. Select the job template.
  4. Open the Survey tab.
  5. Select Create survey question.
  6. Enter the question text, the answer type, and the answer variable name.
  7. Set a default and mark the question required when needed.
  8. Save the question.
  9. Enable the survey and save the template.

Result

The next launch of this template shows the survey before the job starts.

Reference

Related guides

Back to Ansible in a Minute

Create a survey on a job template in AAP 2.7 · Level Up Labs