AWX (Ansible Tower) Project Deployment

Overview

  1. Organization
  2. Add Users to Organization
  3. Credentials
    • SCM
    • Server
  4. Hosts & Inventory
  5. Projects
  6. Templates
  7. Jobs
  8. Execution Servers
Sections and Options  in Ansible Tower

The flow goes something like this (if earlier steps are already completed, you can skip them):

Organization > Inventories > Projects > Templates


ORGANIZATIONS 

  • YOURORG 

 

INVENTORIES 

+ CREATE NEW INVENTORY: INVENTORY / SMART INVENTORY 

Note: Hosts (the run the Ansible jobs) exist in inventories. 

 

PROJECTS / YOURPROJECT 

  • DETAILS 
  • PERMISSIONS 
  • NOTIFICATIONS 
  • JOB TEMPLATES 
  • SCHEDULES 

 

PROJECTS / YOURPROJECT / DETAILS 

  • NAME (mandatory): YOURPROJECT 
  • DESCRIPTION: 
  • ORGANIZATION (mandatory): YOURORG 
  • SCM TYPE (mandatory): Manual / Git / Mercurial / Subversion / Red Hat Insights / Remote Archive 
  • SCM URL: GITPATH 
  • SCM BRANCH/TAG/COMMIT: master 
  • SCM REFSPEC: 
  • SCM CREDENTIAL: YOURCREDENTIAL 
  • SCM UPDATE OPTIONS: 
    • [ ] CLEAN 
    • [ ] DELETE ON UPDATE 
    • [Y] UPDATE REVISION ON LAUNCH 
    • [ ] ALLOW BRNACH OVERRIDE 
  • CACHE TIMEOUT (SECONDS): 0 
  • ANSIBLE ENVIRONMENT: Use Default Environment 

 

PROJECTS / YOURPROJECT / PERMISSIONS 

+ ADD A PERMISSION 

PROJECTS / YOURPROJECT / NOTIFICATIONS 

THIS LIST IS POPULATED BY NOTIFICATION TEMPLATES ADDED FROM THE NOTIFICATIONS SECTION 

PROJECTS / YOURPROJECT / JOB TEMPLATES 

+ ADD A JOB TEMPLATE 

PROJECTS / YOURPROJECT / SCHEDULES 

+ ADD A NEW SCHEDULE 

 

TEMPLATES 

+ ADD A NEW TEMPLATE: JOB TEMPLATE / WORKFLOW TEMPLATE 

 

TEMPLATES / YOUR_JOB_TEMPLATE 

  • DETAILS 
  • PERMISSIONS 
  • COMPLETED JOBS 
  • SCHEDULES 
  • ADD SURVEY 

 

TEMPLATES / YOUR_JOB_TEMPLATE / DETAILS 

  • NAME (mandatory): YOUR_JOB_TEMPLATE 
  • DESCRIPTION: 
  • JOB TYPE (mandatory): Run / Check 
  • INVENTORY (mandatory): INVENTORY_NAME 
  • PROJECT (mandatory): YOUR_PROJECT 
  • PLAYBOOK (mandatory): YOUR_JOB.yml 
  • CREDENTIALS: credentials_to_run_the_job 
  • FORKS: 0 
  • LIMIT: like_a_server_you_want_to_run_the_job_on 
  • VERBOSITY (mandatory): 0 (Normal) 
  • JOB TAGS: 
  • SKIP TAGS: 
  • LABELS: 
  • ANSIBLE ENVIRONMENT: Use Default Environment 
  • INSTANCE GROUPS: 
  • JOB SLICING: 1 
  • TIMEOUT: 0 
  • OPTIONS: 
    • [ ] ENABLE PRIVILEGE ESCALATION 
    • [ ] ENABLE PROVISIONING CALLBACKS 
    • [ ] ENABLE WEBHOOK 
    • [ ] ENABLE CONCURRENT JOBS 
    • [ ] ENABLE FACT CACHE 
  • EXTRA VARIABLES (YAML/JSON): 

 

TEMPLATES / YOUR_JOB_TEMPLATE / PERMISSIONS 

+ ADD A PERMISSION 

TEMPLATES / YOUR_JOB_TEMPLATE / COMPLETED JOBS 

A list of completed jobs. 

TEMPLATES / YOUR_JOB_TEMPLATE / SCHEDULES 

This is where you schedule your template. 

TEMPLATES / YOUR_JOB_TEMPLATE / ADD SURVEY 

Please save before adding a survey to this template. 

Comments