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,
|
config,
|
||||||
*,
|
*,
|
||||||
rougailconfig=None,
|
rougailconfig=None,
|
||||||
|
**kwargs,
|
||||||
) -> None:
|
) -> None:
|
||||||
if rougailconfig is None:
|
if rougailconfig is None:
|
||||||
from rougail import RougailConfig
|
from rougail import RougailConfig
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ ansible:
|
||||||
- file
|
- file
|
||||||
disabled:
|
disabled:
|
||||||
jinja: |
|
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
|
return_type: boolean
|
||||||
description: {_('if ansible is not set in "step.user_data"')}
|
description: {_('if ansible is not set in "step.user_data"')}
|
||||||
|
|
||||||
|
|
@ -54,7 +54,7 @@ ansible:
|
||||||
type: secret
|
type: secret
|
||||||
disabled:
|
disabled:
|
||||||
jinja: |
|
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
|
return_type: boolean
|
||||||
description: {_('if ansible is not set in "step.user_data"')}
|
description: {_('if ansible is not set in "step.user_data"')}
|
||||||
|
|
||||||
|
|
@ -68,7 +68,7 @@ ansible:
|
||||||
- none
|
- none
|
||||||
disabled:
|
disabled:
|
||||||
jinja: |
|
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
|
return_type: boolean
|
||||||
description: {_('if ansible is not set in "step.user_data"')}
|
description: {_('if ansible is not set in "step.user_data"')}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue