diff options
Diffstat (limited to 'awx_collection/plugins/modules/tower_instance_group.py')
-rw-r--r-- | awx_collection/plugins/modules/tower_instance_group.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awx_collection/plugins/modules/tower_instance_group.py b/awx_collection/plugins/modules/tower_instance_group.py index 77c4ac4ece..076610f7c0 100644 --- a/awx_collection/plugins/modules/tower_instance_group.py +++ b/awx_collection/plugins/modules/tower_instance_group.py @@ -111,7 +111,7 @@ def main(): # Attempt to look up an existing item based on the provided data existing_item = module.get_one('instance_groups', name_or_id=name) - if state is 'absent': + if state == 'absent': # If the state was absent we can let the module delete it if needed, the module will handle exiting from this module.delete_if_needed(existing_item) |