From 851eca83b75026de4120b03e9853a962968a8b84 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 11 Dec 2024 21:42:40 +0100 Subject: [PATCH] fix: user-data file is now user-data yaml --- pyproject.toml | 2 +- src/rougail/user_data_ansible/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e2e534c..f4f7e15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ ] dependencies = [ - "rougail-user-data-file >= 0.1,<2", + "rougail-user-data-yaml >= 0.1,<2", "ansible", ] diff --git a/src/rougail/user_data_ansible/__init__.py b/src/rougail/user_data_ansible/__init__.py index 26766b5..cdd9e81 100644 --- a/src/rougail/user_data_ansible/__init__.py +++ b/src/rougail/user_data_ansible/__init__.py @@ -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__(