Compare commits
2 commits
9d5c156875
...
2ddbab0c71
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ddbab0c71 | |||
| ba252d0482 |
3 changed files with 26 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
## 0.2.0a1 (2025-01-02)
|
||||
|
||||
### Fix
|
||||
|
||||
- user data ansible is loaded before
|
||||
|
||||
## 0.2.0a0 (2025-01-02)
|
||||
|
||||
### Feat
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
|||
|
||||
[project]
|
||||
name = "rougail.output_ansible"
|
||||
version = "0.2.0a0"
|
||||
version = "0.2.0a1"
|
||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||
readme = "README.md"
|
||||
description = "Rougail output ansible"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ def get_rougail_config(
|
|||
*,
|
||||
backward_compatibility=True,
|
||||
) -> dict:
|
||||
options = """
|
||||
options = ["""
|
||||
list:
|
||||
description: parameter added only to be compatible with Ansible
|
||||
negative_description: parameter added only to be compatible with Ansible
|
||||
|
|
@ -44,12 +44,29 @@ json:
|
|||
disabled
|
||||
{% endif %}
|
||||
|
||||
""", """
|
||||
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:
|
||||
description: Configuration of output Ansible
|
||||
exists: false
|
||||
disabled:
|
||||
variable: step.output
|
||||
when_not: ansible
|
||||
|
||||
""", """
|
||||
ansible:
|
||||
|
||||
host_namespace:
|
||||
description: Namespace with host values
|
||||
default: "hosts"
|
||||
|
|
@ -58,7 +75,7 @@ ansible:
|
|||
description: Only variables in hostname namespace is available by a host
|
||||
negative_description: All variables is available for all hosts
|
||||
default: false
|
||||
"""
|
||||
"""]
|
||||
return {
|
||||
"name": "ansible",
|
||||
"process": "output",
|
||||
|
|
|
|||
Loading…
Reference in a new issue