wiki/HowtoAWX.md

35 lines
998 B
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
* Documentation: https://docs.ansible.com/automation.html
* Repository: 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 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