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