Ajouter autre combo ANSIBLE_FORCE_COLOR=true | aha
This commit is contained in:
parent
443bc5e997
commit
bcb6c2d894
|
@ -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]().
|
||||||
|
|
Loading…
Reference in New Issue