Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
/ nomad-job-awx Public archive

Nomad Job-definition for running Ansible Tower (awx) on nomad clusters

License

Notifications You must be signed in to change notification settings

www-aiqu-no/nomad-job-awx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Tower (awx) on Nomad

Basic job-definitions for deploying awx to your nomad cluster (HashiCorp)

Separate files for 3.0.1 & 4.0.0 versions. I recommend using 3.0.1 for now, as there are some problems with 4.0.0 version (missing files/env, websockets, etc)

Any tips on how to improve the job-definitions, workarounds for problems, etc are much appreciated

Deployment

I use terraform for managing nomad-jobs, and hence the job-definition is written in hcl-format

All tasks are defined in a single "group" (meaning they will be scheduled to run on the same host). If you split the tasks, then the interpolated variables will not work, and need to be re-defined

Disclaimer

To run in a production environment, you should modify the file to suit your environment. Examples:

  • Increase increase job resources (cpu, memory, ..)
  • Integrate with consul
  • Integrate with vault
  • Persist storage properly for database
  • Use versioned container images
  • Use private container repo
  • Configure more dynamic addressing (example: envoy, Consul Connect)

About

Nomad Job-definition for running Ansible Tower (awx) on nomad clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published