18
0
Fork 0

Ajouter autre combo ANSIBLE_FORCE_COLOR=true | aha

This commit is contained in:
abenmiloud 2020-11-05 10:16:28 +01:00
parent 443bc5e997
commit bcb6c2d894
1 changed files with 6 additions and 0 deletions

View File

@ -1299,6 +1299,12 @@ Pour enregistrer la sortie d'exécution d'un playbook dans un fichier HTML (en g
$ ANSIBLE_FORCE_COLOR=true ansible-playbook playbook.yml 2>&1 | aha --black > output.html $ ANSIBLE_FORCE_COLOR=true ansible-playbook playbook.yml 2>&1 | aha --black > output.html
~~~ ~~~
Si on veut quand même avoir la sortie dans son terminal:
```sh
$ ANSIBLE_FORCE_COLOR=true ansible-playbook playbook.yml 2>&1 | tee /dev/fd/2 | aha > playbook_output.html
```
## Exemples ## Exemples
Voir [/HowtoAnsible/Exemples](). Voir [/HowtoAnsible/Exemples]().