Projet

Général

Profil

Development #64395

Demande de confirmation mal comprise

Ajouté par Emmanuel Cazenave il y a environ 2 ans. Mis à jour il y a environ un an.

Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
20 avril 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Pour le ménage : #64391#note-1


Demandes liées

Lié à Publik Installation Développeur - Development #76826: Make delete trompeurRejeté20 avril 2023

Actions

Historique

#1

Mis à jour par Emmanuel Cazenave il y a plus d'un an

  • Statut changé de Nouveau à Rejeté

Le code ansible qui gère ça est tout à fait rigide :

def to_bool(a):
    ''' return a bool for the arg '''
    if a is None or isinstance(a, bool):
        return a
    if isinstance(a, string_types):
        a = a.lower()
    if a in ('yes', 'on', '1', 'true', 1):
        return True
    return False

J'ai pensé afficher un message pour rendre les choses plus claires, genre vous avez pas tapé "yes" donc on ne fait rien, mais c'est galère aussi.

Je laisse tomber.

#2

Mis à jour par Paul Marillonnet il y a environ un an

#3

Mis à jour par Emmanuel Cazenave il y a environ un an

  • Statut changé de Rejeté à Nouveau

Allez je ré-ouvre, parce que c'est vraiment nul.

Formats disponibles : Atom PDF