Development #30608
mise à niveau pour debian buster
0%
Description
Sur buster apt installe ansible en 2.7.6 à présent basé sur python3 :
- Warning sur la syntaxe "apt" avec ansible 2.7.6 (python2 ou python3)
- Erreur sur la fonction "iteritems" avec ansible basé sur python3
Fichiers
Révisions associées
Historique
Mis à jour par Nicolas Roche il y a environ 5 ans
- Fichier 0001-upgrade-to-buster-30608.patch 0001-upgrade-to-buster-30608.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
(en effet...)
- corrige l'erreur sur "iteritems" lorsque ansible utilise python3 (version installée via apt sur buster)
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"}
- corrige le warning sur "apt" qui s'affiche sur la version 2.7 d'ansible (absent sur la dernière 2.6)
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated.
Mis à jour par Emmanuel Cazenave il y a environ 5 ans
Manque des retours à la ligne dans ton message de commit :
commit ee0e845cdb4035b58a9aa73a943d784c03474352 (HEAD -> wip/30608-buster) Author: Nicolas ROCHE <nroche@entrouvert.com> Date: Wed Feb 13 14:36:17 2019 +0100 upgrade to buster (#30608) - warning on apt - error on iteritems(): replaced by items() when running under python3
Il faudrait que ce soit un truc dans le genre :
commit ee0e845cdb4035b58a9aa73a943d784c03474352 (HEAD -> wip/30608-buster) Author: Nicolas ROCHE <nroche@entrouvert.com> Date: Wed Feb 13 14:36:17 2019 +0100 upgrade to buster (#30608) - warning on apt - error on iteritems(): replaced by items() when running under python3
Mis à jour par Nicolas Roche il y a environ 5 ans
Ok, deuxième jet.
Mis à jour par Emmanuel Cazenave il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Ok.
Tu peux l'appliquer sur master, puis git push origin master
, et ensuite tu passes le ticket en "résolu à déployer" en mettant dans le ticket le commit comme je l'ai fait dans mon commentaire précédent.
Mis à jour par Nicolas Roche il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
Mis à jour par Paul Marillonnet il y a environ 5 ans
commit 8c059c95dc2eb5b414e1f3b5f31bc4e699ee28cd Author: Nicolas ROCHE <nroche@entrouvert.com> Date: Wed Feb 13 16:11:56 2019 +0100 upgrade to buster (#30608) correct : - warning on apt - error on iteritems(): replaced by items() when running under python3
upgrade to buster (#30608)
correct :
- warning on apt
- error on iteritems(): replaced by items() when running under python3