From 115726ed834e7f46e74180a3f239784b3b73c466 Mon Sep 17 00:00:00 2001 From: sean-m-sullivan Date: Sun, 21 Feb 2021 23:29:30 -0600 Subject: [PATCH] fix completness --- awx_collection/test/awx/test_completeness.py | 6 ++++-- .../integration/targets/tower_inventory/tasks/main.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/awx_collection/test/awx/test_completeness.py b/awx_collection/test/awx/test_completeness.py index 467ee9357b..56b42e73db 100644 --- a/awx_collection/test/awx/test_completeness.py +++ b/awx_collection/test/awx/test_completeness.py @@ -30,7 +30,7 @@ no_endpoint_for_module = [ # Global module parameters we can ignore ignore_parameters = [ - 'state', 'new_name', 'update_secrets' + 'state', 'new_name', 'update_secrets', 'copy_from' ] # Some modules take additional parameters that do not appear in the API @@ -48,8 +48,10 @@ no_api_parameter_ok = { 'tower_workflow_job_template_node': ['organization', 'approval_node'], # Survey is how we handle associations 'tower_workflow_job_template': ['survey_spec'], - # ad hoc commands support interval and timeout since its more like tower_job_launc + # ad hoc commands support interval and timeout since its more like tower_job_launch 'tower_ad_hoc_command': ['interval', 'timeout', 'wait'], + # tower_group parameters to perserve hosts and children. + 'tower_group': ['preserve_existing_children', 'preserve_existing_hosts'], } # When this tool was created we were not feature complete. Adding something in here indicates a module diff --git a/awx_collection/tests/integration/targets/tower_inventory/tasks/main.yml b/awx_collection/tests/integration/targets/tower_inventory/tasks/main.yml index 0a9034b911..353bdee673 100644 --- a/awx_collection/tests/integration/targets/tower_inventory/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_inventory/tasks/main.yml @@ -47,7 +47,7 @@ - assert: that: - "result is not changed" - + - name: Copy an inventory tower_inventory: name: "copy_{{ inv_name1 }}"