22
0
Fork 0

ajout section Migration sur HowtoAnsible

This commit is contained in:
Gregory Colpart 2022-02-28 13:39:54 +01:00
parent ef7e11cc0c
commit 8beef53e13
1 changed files with 17 additions and 0 deletions

View File

@ -1454,6 +1454,23 @@ Si on veut quand même avoir la sortie dans son terminal:
ANSIBLE_FORCE_COLOR=true ansible-playbook playbook.yml 2>&1 | tee /dev/fd/2 | aha > playbook_output.html
```
## Migration
### Ansible 2.7 vers 2.10
#### vérification version Debian
~~~
ansible_distribution_major_version | version_compare('11', '=')
~~~
devient :
~~~
- ansible_distribution_major_version is version('11', '=')
~~~
## Exemples
Voir [/HowtoAnsible/Exemples]().