tech:notes_ansible_ansible-navigator
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_ansible_ansible-navigator [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:notes_ansible_ansible-navigator [2025/12/04 11:13] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 5: | Ligne 5: | ||
| Voir : | Voir : | ||
| * [[Ansible Docker Execution Environment]] | * [[Ansible Docker Execution Environment]] | ||
| + | |||
| == Config | == Config | ||
| - | <code ini ansible.cfg> | + | '' |
| + | <code ini> | ||
| # Since Ansible 2.12 (core): | # Since Ansible 2.12 (core): | ||
| # To generate an example config file (a " | # To generate an example config file (a " | ||
| Ligne 15: | Ligne 17: | ||
| # Also you can now have a more complete file by including existing plugins: | # Also you can now have a more complete file by including existing plugins: | ||
| # ansible-config init --disabled -t all > ansible.cfg | # ansible-config init --disabled -t all > ansible.cfg | ||
| + | # | ||
| + | # Voir la configuration : | ||
| + | # ansible-config dump --only-changed -t all | ||
| # For previous versions of Ansible you can check for examples in the ' | # For previous versions of Ansible you can check for examples in the ' | ||
| Ligne 44: | Ligne 49: | ||
| - | + | '' | |
| - | <code yaml ~/ | + | <code yaml> |
| # # cspell: | # # cspell: | ||
| --- | --- | ||
| Ligne 55: | Ligne 60: | ||
| execution-environment: | execution-environment: | ||
| container-engine: | container-engine: | ||
| - | enabled: | + | enabled: |
| image: image-standard: | image: image-standard: | ||
| logging: | logging: | ||
| level: warning | level: warning | ||
| </ | </ | ||
| + | |||
| + | |||
| == Exemple | == Exemple | ||
| Ligne 85: | Ligne 92: | ||
| </ | </ | ||
| - | <code ini inv.txt> | + | '' |
| + | <code ini> | ||
| localhost ansible_connection=local ansible_python_interpreter=/ | localhost ansible_connection=local ansible_python_interpreter=/ | ||
| </ | </ | ||
tech/notes_ansible_ansible-navigator.1742825205.txt.gz · Dernière modification : de 127.0.0.1
