fix: user-data file is now user-data yaml
This commit is contained in:
parent
88736c5c9f
commit
851eca83b7
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ classifiers = [
|
||||||
|
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rougail-user-data-file >= 0.1,<2",
|
"rougail-user-data-yaml >= 0.1,<2",
|
||||||
"ansible",
|
"ansible",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -21,13 +21,13 @@ from ansible.parsing.vault import VaultLib, PromptVaultSecret
|
||||||
from ansible.module_utils._text import to_bytes
|
from ansible.module_utils._text import to_bytes
|
||||||
|
|
||||||
from rougail import RougailConfig
|
from rougail import RougailConfig
|
||||||
from rougail.user_data_file import RougailUserDataFile
|
from rougail.user_data_yaml import RougailUserDataYaml
|
||||||
from rougail.error import ExtentionError
|
from rougail.error import ExtentionError
|
||||||
|
|
||||||
from .i18n import _
|
from .i18n import _
|
||||||
|
|
||||||
|
|
||||||
class RougailUserDataAnsible(RougailUserDataFile):
|
class RougailUserDataAnsible(RougailUserDataYaml):
|
||||||
"""Load Ansible data from encrypted file
|
"""Load Ansible data from encrypted file
|
||||||
"""
|
"""
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|
Loading…
Reference in a new issue