diff --git a/build.py b/build.py index ec7568b..34bc265 100644 --- a/build.py +++ b/build.py @@ -28,7 +28,7 @@ # define project level attributes: name = 'clc-ansible-module' -version = '1.1.1' +version = '1.1.2' summary = "Centurylink Cloud Ansible Modules" description = "Ansible extension modules which allow users to interact with Centurylink Cloud to define and manage cloud components." authors = [Author ("CenturyLink Cloud", "WFAAS-LLFT@centurylink.com")] @@ -55,7 +55,7 @@ def initialize( project ): project.get_property('filter_resources_glob').append('**/clc_ansible_module/*.py') # ---------------- # install clc-sdk during installation - project.depends_on("clc-sdk", "==2.29") + project.depends_on("clc-sdk", "==2.37") # ---------------- # execute some installation scripts project.set_property('dir_source_main_scripts', 'src/main/python') diff --git a/pom.xml b/pom.xml index 570f9c4..bbaa03b 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ 4.0.0 com.ctlts clc-ansible-module - 1.1.1 + 1.1.2 clc-ansible-module UTF-8 diff --git a/src/main/python/clc_inv.py b/src/main/python/clc_inv.py index 662243f..e138ed7 100755 --- a/src/main/python/clc_inv.py +++ b/src/main/python/clc_inv.py @@ -71,8 +71,8 @@ def print_inventory_json(): groups = _find_all_groups() servers = _get_servers_from_groups(groups) hostvars = _find_all_hostvars_for_servers(servers) -# dynamic_groups = _build_hostvars_dynamic_groups(hostvars) -# groups.update(dynamic_groups) + dynamic_groups = _build_hostvars_dynamic_groups(hostvars) + groups.update(dynamic_groups) result = groups result['_meta'] = hostvars