Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-awx
DEPRECATED Ansible Role - AWX
https://github.com/geerlingguy/ansible-role-awx
ansible ansible-galaxy ansible-role ansible-tower awx cd ci
Last synced: about 1 month ago
JSON representation
DEPRECATED Ansible Role - AWX
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-awx
- Owner: geerlingguy
- License: mit
- Archived: true
- Created: 2017-09-07T18:23:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-18T15:10:44.000Z (about 3 years ago)
- Last Synced: 2024-09-26T05:33:48.919Z (about 1 month ago)
- Topics: ansible, ansible-galaxy, ansible-role, ansible-tower, awx, cd, ci
- Homepage: https://galaxy.ansible.com/geerlingguy/awx/
- Size: 45.9 KB
- Stars: 228
- Watchers: 22
- Forks: 94
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-list-ansible - ansible-role-awx - AWX (ci)
README
# Ansible Role: AWX (open source Ansible Tower)
> **DEPRECATED**: This role has been deprecated. AWX installation is a lot different than it was when I first created the role, and continues evolving. Please follow the official install guide and if you need automation around it, please consider the [awx-operator](https://github.com/ansible/awx-operator).
[![CI](https://github.com/geerlingguy/ansible-role-awx/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-awx/actions?query=workflow%3ACI)
Installs and configures [AWX](https://github.com/ansible/awx), the open source version of [Ansible Tower](https://www.ansible.com/tower).
## Requirements
Before this role runs, assuming you want the role to completely set up AWX using it's included installer, you need to make sure the following AWX dependencies are installed:
| Dependency | Suggested Role |
| ----------------------------- | ------------------------ |
| EPEL repo (RedHat OSes only) | `geerlingguy.repo-epel` |
| Git | `geerlingguy.git` |
| Ansible | `geerlingguy.ansible` |
| Docker | `geerlingguy.docker` |
| Python Pip | `geerlingguy.pip` |
| Node.js (10.x) | `geerlingguy.nodejs` |See this role's [`molecule/default/converge.yml`](molecule/default/converge.yml) playbook for an example that works across many different OSes.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
awx_repo: https://github.com/ansible/awx.git
awx_repo_dir: "~/awx"
awx_version: devel
awx_keep_updated: trueVariables to control what version of AWX is checked out and installed.
awx_run_install_playbook: true
By default, this role will run the installation playbook included with AWX (which builds a set of containers and runs them). You can disable the playbook run by setting this variable to `false`.
## Dependencies
None.
## Example Playbook
```yaml
- hosts: awx-centos
become: truevars:
nodejs_version: "10.x"
docker_install_compose: false
pip_install_packages:
- name: docker
- name: docker-composeroles:
- geerlingguy.repo-epel
- geerlingguy.git
- geerlingguy.pip
- geerlingguy.ansible
- geerlingguy.docker
- geerlingguy.nodejs
- geerlingguy.awx
```After AWX is installed, you can log in with the default username `admin` and password `password`.
## License
MIT / BSD
## Author Information
This role was created in 2017 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).