Compare commits

...

2 commits

4 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
## 0.2.0a15 (2025-12-22)
### Fix
- add namespace parameter for ansible
- better namespace support
## 0.2.0a14 (2025-11-21) ## 0.2.0a14 (2025-11-21)
### Fix ### Fix

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project] [project]
name = "rougail.output_json" name = "rougail.output_json"
version = "0.2.0a14" version = "0.2.0a15"
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 json" description = "Rougail output json"

View file

@ -168,9 +168,9 @@ class RougailOutputJson:
self.parse_family(option, parent, subnamespace) self.parse_family(option, parent, subnamespace)
child[option.name()] = parent child[option.name()] = parent
else: else:
self.parse_variable(option, child) self.parse_variable(option, child, namespace)
def parse_variable(self, option, child): def parse_variable(self, option, child, namespace):
child[option.name()] = option.value.get() child[option.name()] = option.value.get()
def parse_leadership( def parse_leadership(

View file

@ -1 +1 @@
__version__ = "0.2.0a14" __version__ = "0.2.0a15"