update logic

This commit is contained in:
sean-m-ssullivan
2021-03-09 18:40:15 -06:00
parent 55855e9e63
commit 857a5718e5
7 changed files with 11 additions and 6 deletions

View File

@@ -411,7 +411,7 @@ def main():
credential = module.copy_item(
credential, copy_from, name,
endpoint='credentials', item_type='credential',
copy_lookup_data=copy_lookup_data
copy_lookup_data=copy_lookup_data,
)
if state == 'absent':

View File

@@ -139,6 +139,7 @@ def main():
inventory = module.copy_item(
inventory, copy_from, name,
endpoint='inventories', item_type='inventory',
copy_lookup_data={},
)
if state == 'absent':

View File

@@ -449,6 +449,7 @@ def main():
existing_item = module.copy_item(
existing_item, copy_from, name,
endpoint='job_templates', item_type='job_template',
copy_lookup_data={},
)
if state == 'absent':

View File

@@ -408,6 +408,7 @@ def main():
existing_item = module.copy_item(
existing_item, copy_from, name,
endpoint='notification_templates', item_type='notification_template',
copy_lookup_data={},
)
if state == 'absent':

View File

@@ -300,6 +300,7 @@ def main():
project = module.copy_item(
project, copy_from, name,
endpoint='projects', item_type='project',
copy_lookup_data={},
)
if state == 'absent':

View File

@@ -242,6 +242,7 @@ def main():
existing_item = module.copy_item(
existing_item, copy_from, name,
endpoint='workflow_job_templates', item_type='workflow_job_template',
copy_lookup_data={},
)
if state == 'absent':