mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
linting
This commit is contained in:
@@ -177,7 +177,13 @@ def main():
|
|||||||
module.fail_json(msg='You cannot turn a regular inventory into a "smart" inventory.')
|
module.fail_json(msg='You cannot turn a regular inventory into a "smart" inventory.')
|
||||||
|
|
||||||
# If the state was present and we can let the module build or update the existing inventory, this will return on its own
|
# If the state was present and we can let the module build or update the existing inventory, this will return on its own
|
||||||
module.create_or_update_if_needed(inventory, inventory_fields, endpoint='inventories', item_type='inventory', associations=association_fields,)
|
module.create_or_update_if_needed(
|
||||||
|
inventory,
|
||||||
|
inventory_fields,
|
||||||
|
endpoint='inventories',
|
||||||
|
item_type='inventory',
|
||||||
|
associations=association_fields,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Reference in New Issue
Block a user