wiki/HowtoAWX.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

2022-08-30 20:47:58 +02:00
---
categories: web orchestration ansible
toc: yes
title: How to AWX
...
# How to AWX
2022-08-30 21:10:41 +02:00
* Documentation: [docs.ansible.com/ansible-tower/latest/html/userguide/overview.html](https://docs.ansible.com/ansible-tower/latest/html/userguide/overview.html)
2022-08-30 21:04:51 +02:00
* Repository: [github.com/ansible/awx](https://github.com/ansible/awx)
2022-08-30 20:47:58 +02:00
[AWX](https://www.ansible.com/community/awx-project) est une interface web et REST pour l'outil d'automatisation [ansible](Howtoansible).
## Installation
2022-08-30 21:11:53 +02:00
À 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.
2022-08-30 20:47:58 +02:00
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