calvinbui.ansible_awx

Build Status GitHub release Ansible Quality Score Ansible Role

Ansible AWX

Install AWX on Ubuntu via Docker. This role expects dependencies to be installed already such as Docker, pip, nodejs and git.

Note: any modified files in the AWX repository will be discarded on each run.

Requirements

N/A

Role Variables

awx_repo_directory: where to clone down the AWX repo

awx_version: branch name or tag

awx_update_repo: update the repo on each run. good for those on devel branch.

awx_vars: variables to replace defaults set in here. Only awx_postgres_data_dir is recommended to be set. Create as many as needed.

Dependencies

A list of pre-requisites is provided on the AWX installation document.

The follow can install what is required:

---
- hosts: all
  become: true
  vars:
    git_config: []
    pip_install_packages:
      - docker
      - ansible
    nodejs_version: 8
    nodejs_install_packages: []
  pre_tasks:
    - name: Update apt cache.
      apt:
        update_cache: true
        cache_valid_time: 600
      changed_when: false
  roles:
    - calvinbui.ansible_git
    - calvinbui.ansible_pip
    - calvinbui.ansible_nodejs
    - calvinbui.ansible_docker

Example Playbook

See above. Add this role calvinbui.ansible_awx to it.

License

GPLv3

Author Information

http://calvin.me

About

AWX for Ubuntu LTS

Install
ansible-galaxy install calvinbui.ansible_awx
GitHub repository
License
Unknown
Downloads
93
Owner
Soft tabs > spaces > tabs. I'm not a developer.