fix: user-data file is now user-data yaml

This commit is contained in:
egarette@silique.fr 2024-12-11 21:42:40 +01:00
parent 88736c5c9f
commit 851eca83b7
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ classifiers = [
]
dependencies = [
"rougail-user-data-file >= 0.1,<2",
"rougail-user-data-yaml >= 0.1,<2",
"ansible",
]

View file

@ -21,13 +21,13 @@ from ansible.parsing.vault import VaultLib, PromptVaultSecret
from ansible.module_utils._text import to_bytes
from rougail import RougailConfig
from rougail.user_data_file import RougailUserDataFile
from rougail.user_data_yaml import RougailUserDataYaml
from rougail.error import ExtentionError
from .i18n import _
class RougailUserDataAnsible(RougailUserDataFile):
class RougailUserDataAnsible(RougailUserDataYaml):
"""Load Ansible data from encrypted file
"""
def __init__(