fix: user-data-ansible can set a personalise source
This commit is contained in:
parent
191516ab4f
commit
b1368ec66f
1 changed files with 2 additions and 1 deletions
|
|
@ -50,6 +50,7 @@ class RougailUserDataYaml:
|
|||
self.config = config
|
||||
self.errors = []
|
||||
self.warnings = []
|
||||
self.source = _('the YAML file "{0}"')
|
||||
|
||||
def run(
|
||||
self,
|
||||
|
|
@ -92,7 +93,7 @@ class RougailUserDataYaml:
|
|||
allow_secrets_variables = True
|
||||
user_data.append(
|
||||
{
|
||||
"source": _('the YAML file "{0}"').format(filename),
|
||||
"source": self.source.format(filename),
|
||||
"errors": self.errors,
|
||||
"warnings": self.warnings,
|
||||
"values": values,
|
||||
|
|
|
|||
Loading…
Reference in a new issue