Commit 0cb182c7 authored by thiolliere's avatar thiolliere
Browse files

fix device_list.fact

parent f64afe58
...@@ -27,17 +27,17 @@ def run(machine, name, timezone, wifi_pwd, kalite, zim_install): ...@@ -27,17 +27,17 @@ def run(machine, name, timezone, wifi_pwd, kalite, zim_install):
package_management = [{"name": x, "status": "present"} for x in zim_install] package_management = [{"name": x, "status": "present"} for x in zim_install]
device_list = {hostname: { device_list = {hostname: {
"kalite": { "kalite": {
"activated": kalite != None, "activated": str(kalite != None),
"version": "0.16.9", "version": "0.16.9",
"language": kalite or [], "language": kalite or [],
}, },
"idc_import": { "idc_import": {
"activated": False, "activated": "False",
"content_name": [], "content_name": [],
}, },
"package_management": package_management, "package_management": package_management,
"portal": { "portal": {
"activated": True, "activated": "True",
} }
}} }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment