Giter Site home page Giter Site logo

ansible-role-awx's Introduction

Ansible role 'ansible-role-awx'

An Ansible role for deploying AWX.

Requirements

This role has been developed for CentOS7 and Fedora, but has the intention of being exandable with ease to cover other distros.

The role requires SELinux to be set to permissive, which is a lazy and crappy solution, but I haven't had the time or energy to sort it out. There are also some issues with EL7 lacking libselinux for python3 at the time of development, hence I've decided not to manage SELinux in this role for now. This might change down the line.

Role Variables

All variables have set defaults, but it is recommended to use the vault file vars/passwords.yml to handle passwords, usernames etc.

Variable Default Comments (type)
awx_repo https://github.com/ansible/awx.git AWX git repo to clone
awx_repo_dir ~/awx ...and where to clone it to.
awx_version devel Which branch to clone
awx_keep_updated true Update clone on run

| awx_postgres_server | "" | If running postgres on a separate server, set this variable to the servers' fqdn | | awx_postgres_data_dir | var/lib/pgdocker | Postgres path | | awx_pg_username | awx | Postgres username | | awx_pg_password | awxpass | Postgres password | | awx_pg_admin_password | postgrespass| Postgres admin password | | awx_pg_database | awx | Postgres database to use | | awx_pg_port | 5432 | Port Postgres is served on |

| awx_rabbitmq_password | awxpass | Rabbitmq password | | awx_rabbitmq_erlang_cookie | cookiemonster | Omnomnom |

| awx_admin_user | admin | Initial administrator user for AWX | | awx_admin_password | password | ...and its password |

| awx_preload_data | False | Set to True if you wish demo data to be populated. This is the default for AWX. | | awx_secret_key | awxsecret | This encryption key is used to keep data between upgrades. Set one and keep it. | | awx_project_data_dir | /var/lib/awx/projects | AWX project data directory |

| awx_proxy_url | "" | URL to proxy if needed. Keep in mind that docker needs to be configured for that URL as well (not supported by this role)| | awx_noproxy | "" | Domains for which the proxy shall not be used|

Input as comma-separated lists.

| awx_container_searchdomains | "" | Search domains for the AWX container, provided as a comma-separated list as is. | | awx_alternate_dnsservers | "" | If explicit DNS servers are needed, provide them as a comma-separated list.|

| awx_ca_trust | false | Set to true if you wish to use a CA-trust | | awx_ca_trust_dir | /etc/pki/ca-trust/source/anchors | CA trust path |

| awx_python_interpreter | python | Which python interpreter that should be used. |

Dependencies

Example Playbook

- hosts: awx 
  roles:
    - role oscpe262.awx

Testing

License

MIT

Contributors

Issues, feature requests, ideas, suggestions, etc. are appreciated and can be posted in the Issues section. Pull requests are also very welcome. Please create a topic branch for your proposed changes, it's the easiest way to merge back into the project.

ansible-role-awx's People

Contributors

oscpe262 avatar

Stargazers

Florian Kleber avatar

Watchers

James Cloos avatar  avatar

Forkers

danikgithub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.