Commit Graph

574 Commits

Author SHA1 Message Date
Anton Nesterov 8a09731a52 Rename inventory_source param to name
* fixes #8347
* Rename inventory_source to name in the tower_inventory_source_update
* Allow to specify both name or id for `name` and `inventory` params
2020-10-17 17:33:53 +02:00
Sean Sullivan 6c1f688bf1 Merge pull request #16 from sean-m-sullivan/approval_role
update to approval role
2020-10-17 00:10:00 -05:00
sean-m-sullivan 0393d537de rewrite to use lists 2020-10-17 00:08:39 -05:00
sean-m-sullivan 82bb8033ec update to approval role 2020-10-16 13:27:28 -05:00
softwarefactory-project-zuul[bot] 28e792056d Merge pull request #8398 from john-westcott-iv/fix_stack_trace
Fixing stack trace from an error not having a detail

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-10-15 21:37:49 +00:00
John Westcott IV c759c83daf Fixing stack trace from an error not having a detail 2020-10-15 15:09:11 -04:00
John Westcott IV 407356239b Fixing get_one calls in tower_inventory_source_update 2020-10-15 12:40:31 -04:00
sean-m-sullivan c72c335b0c fix pep8 issues 2020-10-13 18:27:27 -05:00
sean-m-sullivan 51eb4e6d6b update to auto_exit, add tests, add mutual exclusive parameters 2020-10-13 18:17:22 -05:00
John Westcott IV f0449adcf8 Fixing resetting of variables and adding unit test for condition 2020-10-13 16:46:05 -04:00
sean-m-sullivan c205ee81f0 update delete 2020-10-12 00:17:18 -05:00
sean-m-sullivan c57ec1ea79 update delete 2020-10-10 13:25:09 -05:00
sean-m-sullivan c3045f6a29 update delete 2020-10-10 13:02:58 -05:00
sean-m-sullivan 5655f766f0 linting 2020-10-10 11:56:00 -05:00
sean-m-sullivan a2c8e3d87e clean up and tests added 2020-10-10 11:53:50 -05:00
sean-m-sullivan 9bcb5ef0c9 intial update for workflow approval nodes 2020-10-10 04:06:49 -05:00
Rebeccah 5df37d4279 switched exit_json to be fail_json so it didn't trigger an error when attempting to utilize the missing_required_lib from ansible. Additionally fixed it for the second usage for correct usage. Given that it is an exception the correct one would not be to exit without failure, as exit_json does, but instead to use fail_json and be able to present the error 2020-10-01 18:28:26 -04:00
beeankha b34c1f4c79 Update integration tests 2020-09-25 13:23:34 -04:00
John Westcott IV baf3b617cb Initial commit of ad hoc module 2020-09-25 08:49:28 -04:00
John Westcott IV a9ea2523c9 Fixing linting/doc issues 2020-09-24 13:33:35 -04:00
John Westcott IV c5df37777b Addig tests and updating minor module bugs 2020-09-22 15:22:35 -04:00
Geoffrey Bachelot 1c729518a5 Delete depcreated username parameter 2020-09-22 14:54:35 -04:00
Geoffrey Bachelot 5a374585de delete deprecated parameters and add missing skip_authorization 2020-09-22 14:54:35 -04:00
Geoffrey Bachelot b9d2e431a6 Create tower_application module 2020-09-22 14:54:35 -04:00
John Westcott IV ee3a90d193 Adding example of specifying connection info 2020-09-16 14:52:41 -04:00
John Westcott IV 24bdbd8c58 Fixing issue with lookup plugin not able to load host, user, etc 2020-09-16 14:41:04 -04:00
Alan Rominger 3aec1a115d fix wording 2020-09-15 22:38:37 -04:00
Alan Rominger 362d6a3204 Add new option update_secrets to allow lazy or strict updating 2020-09-15 22:38:37 -04:00
Nicolas Payart 8e97214309 Add option update_password (always, on_create) to tower_user module 2020-09-15 22:37:50 -04:00
softwarefactory-project-zuul[bot] 4b51c71220 Merge pull request #8109 from AlanCoding/hack_null_org
Hack to delete orphaned organizations, consolidate get_one methods

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-10 18:15:45 +00:00
Ryan Petrello af238be377 address a few follow-up issues for Org -> Galaxy Credentials support
- add support for managing galaxy creds in the tower organization module
- fix a minor serializer bug
2020-09-10 11:00:21 -04:00
Alan Rominger 2e1f5cebb7 Further refine error message and update integration tests
Fix test with spaces

pep8 failure

More test tweaks

Even more test fixes
2020-09-10 09:49:27 -04:00
Alan Rominger a73323f3d6 Hack to delete orphaned organizations, consolidate get_one methods
minor test update

Updating the message if more than one object is found

Update test to new message
2020-09-10 09:00:50 -04:00
Sean Sullivan 470b7aaeea Merge pull request #10 from ansible/devel
Rebase from devel
2020-09-09 07:49:37 -05:00
John Westcott IV 570251dc3d Modifying get_item_name to handle a None object 2020-09-08 15:28:57 -04:00
sean-m-sullivan cfdfa911e8 update lint 2020-09-08 14:00:12 -05:00
John Westcott IV 4c0e288fee Touching up to missing sport of get_one returning multiple params 2020-09-08 13:38:44 -04:00
John Westcott IV c2cfaec7d1 Fixing name -> username 2020-09-08 11:52:53 -04:00
John Westcott IV d6f35a71d7 Adding allow_unknown option for get_item_name 2020-09-08 11:51:47 -04:00
John Westcott IV 6467d34445 Touching up tower_inventory_source after rebase 2020-09-08 11:36:33 -04:00
John Westcott IV 0a8db586d1 Changing how get_one returns 2020-09-08 11:10:18 -04:00
John Westcott IV 106157c600 get_one now also returns the name field, and modifying modules for get_one and added in some IDs in a handful of unit tests 2020-09-08 11:06:01 -04:00
John Westcott IV 4c4d6dad49 Adding get_item_name and making static methods 2020-09-08 11:03:10 -04:00
John Westcott IV 24ec129235 Modifying credential for new get_one 2020-09-08 11:03:10 -04:00
John Westcott IV 5042ad3a2b Updating user module for new get_one 2020-09-08 11:03:10 -04:00
John Westcott IV 51959b29de Adding name_or_id to get_one to make module more uniform 2020-09-08 11:03:10 -04:00
beeankha c7114b2571 Add specific lookup data to error message 2020-09-07 11:43:44 -04:00
beeankha a0b8f6a25d Make org an optional parameter for both inv source and inv source update modules 2020-09-04 18:56:58 -04:00
beeankha 4133ec974b Follow same pattern as project update module, add task to integration test 2020-09-04 13:05:34 -04:00
beeankha 7764f1c1a5 Fix inv source org lookup, adjust unit tests (since org is now required for inv source module), update README, edit typos in test-related README 2020-09-04 10:19:56 -04:00