Adding the templates

Click on TEMPLATES in the top menu and, in the drop-down menu of the +ADD button, select Job Template. This is the biggest form we have come across so far; however, parts of it will be populated automatically when we start to fill in the details. Let's make a start:

  • NAME: AWS - Launch
  • DESCRIPTION: Launch and deploy WordPress instances
  • JOB TYPE: Leave as Run
  • INVENTORY: Click on the icon and select AWS Inventory
  • PROJECT: Click on the icon and select AWS Project
  • PLAYBOOK: Select site.yml from the drop-down list
  • CREDENTIAL: Select the CREDENTIAL TYPE of Amazon Web Services, then choose AWS API Credentials; also select the Demo Credential for MACHINE
  • FORKS: Leave as Default
  • LIMIT: Leave blank
  • VERBOSITY: Leave at 0 (Normal) ...

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.