35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
---
|
|
categories: web orchestration ansible
|
|
toc: yes
|
|
title: How to AWX
|
|
...
|
|
|
|
# How to AWX
|
|
|
|
* Documentation: [docs.ansible.com/ansible-tower/latest/html/userguide/overview.html](https://docs.ansible.com/ansible-tower/latest/html/userguide/overview.html)
|
|
* Repository: [github.com/ansible/awx](https://github.com/ansible/awx)
|
|
|
|
[AWX](https://www.ansible.com/community/awx-project) est une interface web et REST pour l'outil d'automatisation [ansible](Howtoansible).
|
|
|
|
## Installation
|
|
|
|
À partir de 18.0 il est recommandé de l'installer à travers [AWX Operator](https://github.com/ansible/awx-operator) qui dépend de kubernetes. Il est aussi possible d'utiliser une image docker.
|
|
|
|
Une interface de ligne de commande peut ensuite être installé directement sur l'hôte
|
|
|
|
```
|
|
pip3 install awxkit
|
|
```
|
|
|
|
La documentation peut être installé en local
|
|
|
|
```
|
|
$ pip3 install sphinx sphinxcontrib-autoprogram
|
|
$ cd awxkit/awxkit/cli/docs
|
|
$ TOWER_HOST=https://awx.example.org TOWER_USERNAME=example TOWER_PASSWORD=secret make clean html
|
|
$ cd build/html/ && python -m http.server
|
|
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ..
|
|
```
|
|
|
|
## Configuration
|