Commit Graph
81 Commits
Author SHA1 Message Date
John Westcott IV 10a6ad92b7 Fixing tower_schedule oauth_token 2020-05-26 12:31:55 -04:00
John Westcott IV dbeb7ec67c Fixing space issue 2020-05-26 11:23:41 -04:00
John Westcott IV 33aee7f830 Allowing auth_legacy to be converted into tower.tower namespace 2020-05-22 06:32:29 -04:00
John Westcott IV c61e875bf8 Moving tower_oauthtoken into a doc fragement 2020-05-21 13:44:29 -04:00
John Westcott IV d733903a22 Removing ignore_errors from examples 2020-05-21 10:42:13 -04:00
John Westcott IV a2243d91d2 Now actually checking the version instead of just getting it 2020-05-21 09:15:06 -04:00
John Westcott IV 00f8dd9e6a Adding '' option to webhook_service 2020-05-21 08:25:32 -04:00
John Westcott IV a4ec6f6763 Validating the version of python-dateutil 2020-05-20 14:41:43 -04:00
John Westcott IV cc037cb4b5 Removing ignore_errors for tasks which should succeed 2020-05-20 14:41:27 -04:00
John Westcott IV b7ab6ba9bb Attempting to fix py2 test issues 2020-05-15 09:26:34 -04:00
John Westcott IV 31a11cf6bb Attempting to fix py2 test issues 2020-05-15 09:24:44 -04:00
John Westcott IV 81eb9bb78a Now using new X-API headers to test version and type 2020-05-15 09:24:43 -04:00
John Westcott IV 762d8a287e Adding version checking to collection 2020-05-15 09:24:43 -04:00
John Westcott IV 1d91387f58 Adding validation of rrule output thorugh awx searlizer 2020-05-07 14:42:47 -04:00
John Westcott IV 694c7e8af5 Remocing doc fragment extension 2020-05-07 14:42:47 -04:00
John Westcott IV 2ed3a39b46 Changing import 2020-05-07 14:42:47 -04:00
John Westcott IV 0eb7e22d1f Adding requirements on pytz and python.dateutil for rrule lookup plugin 2020-05-07 14:42:47 -04:00
John Westcott IV 12805954e0 Adding rrule lookup plugin 2020-05-07 14:42:46 -04:00
John Westcott IV 0e1a2b899a Initial version of tower_schedule 2020-05-07 14:42:46 -04:00
John Westcott IV 3a6a7c100a Going for a more generic 'just pass' option 2020-04-28 16:47:08 -04:00
John Westcott IV cd07305c08 Set SDB_NOTIFY_HOST on non-docker OS X 2020-04-28 16:37:35 -04:00
John Westcott IV f17ced8f9c Fixing integration tests for deprecation warnings 2020-04-27 14:25:23 -04:00
John Westcott IV 7f66f084f1 Restructuring modules so that lookup don't happen if deleting 2020-04-27 14:11:23 -04:00
John Westcott IV 6b21f2042b Make the module util respect oauth token over username/password 2020-04-14 12:51:45 -04:00
John Westcott IV 6403895eae Puting tasks back to natural order 2020-04-09 12:38:06 -04:00
John Westcott IV a2d1c32da3 Initial commit of tests for tower_workflow_launch 2020-04-09 12:38:06 -04:00
John Westcott IV c1bb62cc36 Removing recursive check, allowwing old pattern to commence 2020-04-06 10:11:18 -04:00
John Westcott IV 6d08e21511 Resolving comment and updating tests 2020-04-06 10:11:18 -04:00
John Westcott IV 8b881d195d Change lookup to include organization 2020-04-06 10:11:18 -04:00
John Westcott IV 5c9ff51248 Change compare_fields to static method 2020-04-06 10:11:18 -04:00
John Westcott IV fd24918ba8 Initial conversion of tower_credential 2020-04-06 10:11:18 -04:00
John Westcott IV 32783f7aaf Fixing linting errors 2020-04-02 09:14:50 -04:00
John Westcott IV 8699a8fbc2 Resolving comments on PR
Made notification type optional

Fixed examples to use notification_configuration

Fixed defaults for headers to prevent deprication warning

Removed default on messages
2020-04-02 09:14:49 -04:00
John Westcott IV b4cde80fa9 Updating example to match test 2020-04-02 09:14:49 -04:00
John Westcott IV eb4db4ed43 Adding field change to readme and example and test of custom messages 2020-04-02 09:14:49 -04:00
John Westcott IV 649aafb454 Initial conversion of tower_notification 2020-04-02 09:14:49 -04:00
John Westcott IV 4b76332daf Added notification of removal of extra_vars_path 2020-03-30 23:35:11 -04:00
John Westcott IV db38339179 Second attempt at converting tower_job_template 2020-03-30 23:35:11 -04:00
John Westcott IV 914ea54925 Make module prefer interval (if set) over min/max
Fix linting issues for True vs true

Fix up unit test related errors
2020-03-27 15:05:23 -04:00
John Westcott IV b9b62e3771 Removing assert that job is pending on job launch 2020-03-27 15:05:23 -04:00
John Westcott IV e03911d378 Depricate min and max interval in favor of interval 2020-03-27 15:05:23 -04:00
John Westcott IV 61287f6b36 Removing old unneeded output and fixing comments 2020-03-27 15:05:23 -04:00
John Westcott IV f6bfdef34d Removed old secho comment from Tower-CLI
Fixed job name for tests
2020-03-27 15:05:23 -04:00
John Westcott IV 7494ba7b9c Initial cut at tower_job_wait conversion 2020-03-27 15:05:23 -04:00
John Westcott IV b99a04dd8d Adding associations to generator 2020-03-26 12:01:48 -04:00
John Westcott IV 357e22eb51 Compensating for default of '' for a JSON typed field 2020-03-26 12:01:48 -04:00
John Westcott IV 8cd4e9b488 Adding state back in 2020-03-20 19:14:00 -04:00
John Westcott IV 1daeec356f Initial converstion of tower_label 2020-03-20 15:01:41 -04:00
John Westcott IV d8513a4e86 Making variables work for hosts
Clear up sanity test and remove redundant import statement
2020-02-26 09:15:04 -05:00
John Westcott IV badd667efa Removing manual and file source types and correcting default for custom_virtualenv 2020-02-26 09:15:04 -05:00
John Westcott IV 7908f25747 Remove reference to default check mode 2020-02-26 09:15:04 -05:00
John Westcott IV 0eef67713f Only try an ID lookup if we can convert the field name_or_id to an integer
Fix linting issues, update tower_project unit test
2020-02-26 09:15:04 -05:00
John Westcott IV 6591efc160 Fixed issue that caused warning message to always display
Because scm_update_cache_timeout has a default and thus will always be != None
2020-02-26 09:15:04 -05:00
John Westcott IV 0685b2fa35 Updates to config file loading
Now supports json or yaml

Depricated multiple k=v on a single line

Remove assert statement and unused import from module_util
2020-02-26 09:15:04 -05:00
John Westcott IV 018dd4c1c3 Fixing config loading issues when the config has no [general] section
Fixed typo in help documentation

Fix up sanity errors and update converted modules

Remove unnecessary test playbook file
2020-02-26 09:15:04 -05:00
John Westcott IV 4fc2c58ae7 Converted tower_job_cancel 2020-02-26 09:15:04 -05:00
John Westcott IV b4014ebabf Converted tower_job_launch.py 2020-02-26 09:15:04 -05:00
John Westcott IV 9955ee6548 Converting tower_inventory_source
Fix up inventory_source module changes, fix import yaml sanity error, change inventory_source unit tests to comply with new structure.
2020-02-26 09:15:04 -05:00
John Westcott IV c08d402e66 Adding mutually exclusive if functionality to support tower_inventory_source 2020-02-26 09:15:04 -05:00
John Westcott IV 1c505beba6 Converted tower_group
Splitting out tower_inventory_source from tower_group

Copy/Paste typo fix and README update for breaking backwards compatability

Update credential_type module and unit tests
2020-02-26 09:15:04 -05:00
John Westcott IV f89061da41 Updating tower_org to use the new tower_api format
Pass sanity and unit tests, update tests

Remove placeholder test function, convert tower_host module, fix misc typos
2020-02-26 09:14:01 -05:00
John Westcott IV c23d605a7a Modified modules to use new tower_api format
Fixed variable name typo
2020-02-26 09:14:01 -05:00
John Westcott IV 6d90cac3f9 Bug fixes for username and delete data 2020-02-26 09:14:01 -05:00
John Westcott IV 89e92bd337 Updating call to create_or_update_if_needed 2020-02-26 09:14:00 -05:00
John Westcott IV 9271127c53 Standardizing CRUD methods
Fixing linting and conversion issues
2020-02-26 09:14:00 -05:00
John Westcott IV e028ed878e More tower-cli-ish parsing of config files
Clear up test failures/linting errors, update unit test

Update module_utils for linter, add wait time to project module
2020-02-26 09:14:00 -05:00
John Westcott IV 838b2b7d1e Converted tower_project 2020-02-26 09:14:00 -05:00
John Westcott IV 68926dad27 Adding team_fields
Convert job_list and inventory modules, other changes to make sanity tests pass
2020-02-26 09:14:00 -05:00
John Westcott IV ceb6f6c47d Converted tower_settings
Changed comments
2020-02-26 09:14:00 -05:00
John Westcott IV 167e99fce9 Converted tower_user 2020-02-26 09:14:00 -05:00
John Westcott IV c930011616 Removing default_check_mode 2020-02-26 09:14:00 -05:00
John Westcott IV aaaca63f83 Converted tower_organization 2020-02-26 09:14:00 -05:00
John Westcott IV d8a9f663b1 Converted tower_credential_type.py 2020-02-26 09:14:00 -05:00
John Westcott IV b0d0ccf44f Fix fail_json and remove redundant handle check mode 2020-02-26 09:14:00 -05:00
John Westcott IV c57754a29b Logout is now handled by exit_json 2020-02-26 09:14:00 -05:00
John Westcott IV 65057c1fb7 Auto-handle check_mode on post, patch, delete and update_if_needed methods 2020-02-26 09:14:00 -05:00
John Westcott IV d8be6490c2 Only warn if we can't release a tower token 2020-02-26 09:14:00 -05:00
John Westcott IV b34208d1b6 Attempting to fix logout loop 2020-02-26 09:14:00 -05:00
John Westcott IV 0d5a9e9c8c Initial implementation of Pull #5337 2020-02-26 09:14:00 -05:00
John Westcott IV 0ba8022eac #2073 - Support setting to prevent Tower from pulling from requirements.yml files for an SCM project 2018-07-23 09:37:49 -04:00
John Westcott IV a124e51331 Change node.js macOS installer link (old link was dead) 2018-07-18 11:32:57 -04:00