diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable10.json b/tests/results/test_namespace/04_5disabled_calculation_variable10.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable10.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable5.json b/tests/results/test_namespace/04_5disabled_calculation_variable5.json new file mode 100644 index 0000000..a87018b --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable5.json @@ -0,0 +1,64 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": false, + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable6.json b/tests/results/test_namespace/04_5disabled_calculation_variable6.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable6.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable7.json b/tests/results/test_namespace/04_5disabled_calculation_variable7.json new file mode 100644 index 0000000..a87018b --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable7.json @@ -0,0 +1,64 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": false, + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable8.json b/tests/results/test_namespace/04_5disabled_calculation_variable8.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable8.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable9.json b/tests/results/test_namespace/04_5disabled_calculation_variable9.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable9.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable10.json b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable10.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable10.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable5.json b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable5.json new file mode 100644 index 0000000..a87018b --- /dev/null +++ b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable5.json @@ -0,0 +1,64 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": false, + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": false, + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable6.json b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable6.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable6.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable7.json b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable7.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable7.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable8.json b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable8.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable8.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable9.json b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable9.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace_mandatory/04_5disabled_calculation_variable9.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write/04_5disabled_calculation_variable10.json b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable10.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable10.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write/04_5disabled_calculation_variable5.json b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable5.json new file mode 100644 index 0000000..583e34d --- /dev/null +++ b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable5.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": null + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": null + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": null + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": null + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": null + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write/04_5disabled_calculation_variable6.json b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable6.json new file mode 100644 index 0000000..583e34d --- /dev/null +++ b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable6.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": null + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": null + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": null + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": null + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": null + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write/04_5disabled_calculation_variable7.json b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable7.json new file mode 100644 index 0000000..39e4ba0 --- /dev/null +++ b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable7.json @@ -0,0 +1,64 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": false, + "variable": null + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": false, + "variable": null + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": false, + "variable": null + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": false, + "variable": null + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": false, + "variable": null + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write/04_5disabled_calculation_variable8.json b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable8.json new file mode 100644 index 0000000..e236a83 --- /dev/null +++ b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable8.json @@ -0,0 +1,49 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": {} + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": {} + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": {} + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": {} + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": {} + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write/04_5disabled_calculation_variable9.json b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable9.json new file mode 100644 index 0000000..583e34d --- /dev/null +++ b/tests/results/test_namespace_read_write/04_5disabled_calculation_variable9.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": null + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": null + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": null + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": null + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": null + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable10.json b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable10.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable10.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable5.json b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable5.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable5.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable6.json b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable6.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable6.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable7.json b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable7.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable7.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable8.json b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable8.json new file mode 100644 index 0000000..e236a83 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable8.json @@ -0,0 +1,49 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": {} + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": {} + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": {} + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": {} + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": {} + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable9.json b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable9.json new file mode 100644 index 0000000..d1a8671 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory/04_5disabled_calculation_variable9.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "variable": "string1" + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "variable": "string1" + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "variable": "string1" + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "variable": "string1" + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable10.json b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable10.json new file mode 100644 index 0000000..1cb9038 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable10.json @@ -0,0 +1,59 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": { + "condition": true + } + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": { + "condition": true + } + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": { + "condition": true + } + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": { + "condition": true + } + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": { + "condition": true + } + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable5.json b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable5.json new file mode 100644 index 0000000..4f33d5b --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable5.json @@ -0,0 +1,17 @@ +{ + "_meta": { + "hostvars": { + "localhost": { + "_errors": [ + "The following variables are mandatory but have no value:", + " - rougail.variable (a variable)" + ] + } + } + }, + "ungrouped": { + "hosts": [ + "localhost" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable6.json b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable6.json new file mode 100644 index 0000000..4f33d5b --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable6.json @@ -0,0 +1,17 @@ +{ + "_meta": { + "hostvars": { + "localhost": { + "_errors": [ + "The following variables are mandatory but have no value:", + " - rougail.variable (a variable)" + ] + } + } + }, + "ungrouped": { + "hosts": [ + "localhost" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable7.json b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable7.json new file mode 100644 index 0000000..4f33d5b --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable7.json @@ -0,0 +1,17 @@ +{ + "_meta": { + "hostvars": { + "localhost": { + "_errors": [ + "The following variables are mandatory but have no value:", + " - rougail.variable (a variable)" + ] + } + } + }, + "ungrouped": { + "hosts": [ + "localhost" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable8.json b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable8.json new file mode 100644 index 0000000..e236a83 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable8.json @@ -0,0 +1,49 @@ +{ + "_meta": { + "hostvars": { + "GROUP1_01": { + "ansible_host": "group1.net", + "rougail": {} + }, + "GROUP2_01": { + "ansible_host": "group2.net", + "rougail": {} + }, + "GROUP2_02": { + "ansible_host": "group3.net", + "rougail": {} + }, + "group4.net": { + "ansible_host": "group4.net", + "rougail": {} + }, + "group5.net": { + "ansible_host": "group5.net", + "rougail": {} + } + } + }, + "group1": { + "hosts": [ + "GROUP1_01" + ] + }, + "group2": { + "hosts": [ + "GROUP2_01", + "GROUP2_02" + ] + }, + "group3": { + "hosts": [ + "group4.net", + "group5.net" + ] + }, + "groups": { + "children": [ + "group1", + "group2" + ] + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable9.json b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable9.json new file mode 100644 index 0000000..4f33d5b --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_errors/04_5disabled_calculation_variable9.json @@ -0,0 +1,17 @@ +{ + "_meta": { + "hostvars": { + "localhost": { + "_errors": [ + "The following variables are mandatory but have no value:", + " - rougail.variable (a variable)" + ] + } + } + }, + "ungrouped": { + "hosts": [ + "localhost" + ] + } +} \ No newline at end of file