From 8beef53e136f9348b7f58b2405eec36a1c5464b2 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Mon, 28 Feb 2022 13:39:54 +0100 Subject: [PATCH] ajout section Migration sur HowtoAnsible --- HowtoAnsible.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/HowtoAnsible.md b/HowtoAnsible.md index 5a248a03..6d8b442f 100644 --- a/HowtoAnsible.md +++ b/HowtoAnsible.md @@ -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]().