fix: output ansible is loaded after
This commit is contained in:
parent
dd6d7caf97
commit
732355b996
1 changed files with 2 additions and 17 deletions
|
@ -24,22 +24,8 @@ def get_rougail_config(
|
|||
"""get rougail config for ansible"""
|
||||
# redefine ansible family if already exists (for output)
|
||||
# or create a new only only for user data
|
||||
options = [
|
||||
"""
|
||||
options = """
|
||||
ansible:
|
||||
exists: true
|
||||
redefine: true
|
||||
description: Configuration of user data or output Ansible
|
||||
disabled:
|
||||
type: jinja
|
||||
jinja: |
|
||||
{% if step.output != 'ansible' and 'ansible' not in step.user_data %}
|
||||
disabled
|
||||
{% endif %}
|
||||
""",
|
||||
"""
|
||||
ansible:
|
||||
exists: false
|
||||
description: Configuration of user data Ansible
|
||||
disabled:
|
||||
type: jinja
|
||||
|
@ -73,8 +59,7 @@ ansible:
|
|||
{% if 'ansible' not in step.user_data %}
|
||||
disabled
|
||||
{% endif %}
|
||||
""",
|
||||
]
|
||||
"""
|
||||
return {
|
||||
"name": "ansible",
|
||||
"process": "user data",
|
||||
|
|
Loading…
Reference in a new issue