tech:ansible_awx_-_tower_cli
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:ansible_awx_-_tower_cli [2025/10/29 11:07] – Jean-Baptiste | tech:ansible_awx_-_tower_cli [2025/12/03 10:33] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 29: | Ligne 29: | ||
| #awx login --conf.host " | #awx login --conf.host " | ||
| awx login | awx login | ||
| + | awx ping | jq | ||
| </ | </ | ||
| Export | Export | ||
| <code bash> | <code bash> | ||
| - | awx --conf.host $TOWER_HOST --conf.token " | + | # awx --conf.host $TOWER_HOST --conf.token " |
| - | awx --conf.host $TOWER_HOST --conf.token " | + | # awx --conf.host $TOWER_HOST --conf.token " |
| awx export --job_templates 42 | awx export --job_templates 42 | ||
| awx export --job_template " | awx export --job_template " | ||
| awx export --credentials " | awx export --credentials " | ||
| + | |||
| + | |||
| + | # Exemple avec : http:// | ||
| + | awx export --inventory 4 | ||
| + | # Il ne faut pas le numero de l' | ||
| + | awx export --inventory_source 15 | ||
| + | |||
| + | awx -f yaml export > all.yaml | ||
| </ | </ | ||
| + | |||
| Ligne 80: | Ligne 90: | ||
| * https:// | * https:// | ||
| - | <code bash tower-job.sh> | + | |
| + | '' | ||
| + | <code bash> | ||
| #!/bin/bash | #!/bin/bash | ||
tech/ansible_awx_-_tower_cli.1761732453.txt.gz · Dernière modification : de Jean-Baptiste
