feat: multi layers
This commit is contained in:
parent
eb0f5901ab
commit
bc29f668fb
2 changed files with 4 additions and 3 deletions
|
|
@ -35,6 +35,7 @@ class RougailUserDataAnsible(RougailUserDataYaml):
|
|||
config,
|
||||
*,
|
||||
rougailconfig=None,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
if rougailconfig is None:
|
||||
from rougail import RougailConfig
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ ansible:
|
|||
- file
|
||||
disabled:
|
||||
jinja: |
|
||||
{{{{ _.step.user_data is propertyerror or 'ansible' not in _.step.user_data }}}}
|
||||
{{{{ __.step.user_data is propertyerror or 'ansible' not in __.step.user_data }}}}
|
||||
return_type: boolean
|
||||
description: {_('if ansible is not set in "step.user_data"')}
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ ansible:
|
|||
type: secret
|
||||
disabled:
|
||||
jinja: |
|
||||
{{{{ _.step.user_data is propertyerror or 'ansible' not in _.step.user_data }}}}
|
||||
{{{{ __.step.user_data is propertyerror or 'ansible' not in __.step.user_data }}}}
|
||||
return_type: boolean
|
||||
description: {_('if ansible is not set in "step.user_data"')}
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ ansible:
|
|||
- none
|
||||
disabled:
|
||||
jinja: |
|
||||
{{{{ _.step.user_data is propertyerror or 'ansible' not in _.step.user_data }}}}
|
||||
{{{{ __.step.user_data is propertyerror or 'ansible' not in __.step.user_data }}}}
|
||||
return_type: boolean
|
||||
description: {_('if ansible is not set in "step.user_data"')}
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue