1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:16:44 +02:00
2020-06-22 18:24:09 +08:00
..
2020-06-22 18:24:09 +08:00
2020-06-22 18:24:09 +08:00
2020-06-22 18:24:09 +08:00

awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is the upstream project for Tower, a commercial derivative of AWX.

directory tree

data
├── projects
│   └── example
│       └── playbook.yml
├── redis
│   └── redis.conf
└── settings
    ├── SECRET_KEY
    ├── credentials.py
    ├── environment.sh
    └── nginx.conf

up and running

$ docker-compose up -d
$ docker-compose exec web bash
>>> awx-manage inventory_import --inventory-name=xxx --source=/path/to/inventory.ini
INFO     Reading Ansible inventory source: /path/to/inventory.ini
INFO     Loaded 1 groups, 30 hosts
INFO     Inventory import completed for  (xxx - 13) in 1.0s
>>> exit
$ curl http://127.0.0.1:8052