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
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
41ca20dc99
Changing scm_credential to credential to match API
2020-08-26 10:16:37 -04:00
John Westcott IV
3b6152a380
Changing job_timeout to an aliase of timeout to match the API
2020-08-26 10:16:37 -04:00
John Westcott IV
40f6741474
Adding import/export awx kit features
...
Changed library structure
Origional TowerModule becomes TowerLegacyModule
TowerModule from tower_api becomes TowerAPIModule
A real base TowerModule is created in tower_module.py
A new TowerAWXKitModule is created in tower_awxkit
TowerAWXKitModule and TowerAPIModule are child classes of TowerModule
2020-08-19 14:12:50 -04:00
AlanCoding
86f1ba984a
Comply with updated Ansible sanity test rules
2020-06-03 08:44:11 -04:00
John Westcott IV
c61e875bf8
Moving tower_oauthtoken into a doc fragement
2020-05-21 13:44:29 -04:00
excalibrax
2d1bc58bb2
update lint
2020-05-14 11:22:32 -05:00
excalibrax
b3323a24e4
updated projects to use notifications
2020-05-13 17:35:31 -05:00
John Westcott IV
7f66f084f1
Restructuring modules so that lookup don't happen if deleting
2020-04-27 14:11:23 -04:00
Caleb Boylan
ba4b6bdbb7
Collection: tower_project alias allow_override to scm_allow_override
2020-04-21 10:08:06 -07:00
Caleb Boylan
ded5577832
Collection: Fix the tower_project scm_allow_override
2020-04-21 09:39:16 -07:00
AlanCoding
b90a296d41
Document and align the env var for OAuth token
2020-04-07 10:00:02 -04:00
AlanCoding
da661e45ae
Remove unnecessary module parameters
...
remove cases of required=False, the default
remove str type specifier which, the default
remove supports check mode, not changeable
2020-04-06 22:08:41 -04:00
beeankha
b532012748
Make non-required params actually optional, fix idempotency issues
2020-02-26 09:26:55 -05:00
beeankha
1c4042340c
Update documentation for modules, add deprecation warning for role, send and receive modules
...
Update variables in tower_inventory to be in dict format
2020-02-26 09:27:02 -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
beeankha
fcc679489e
Update inventory_source module source_script parameter to be optional
...
Unitied comment
Fix up inventory_source example, misc comment edits
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
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
Jake Jackson
15041e57b2
sqaushed and fixed sanity test issues
2019-12-09 12:22:46 -05:00
beeankha
3ed5d6ec65
Make integrations pass even with manual SCM type
2019-11-25 15:16:41 -05:00
AlanCoding
5e24cee0ae
Add custom_virtualenv param to inventory source and tests
2019-11-20 22:39:12 -05:00
Mathieu Mallet
a026838f77
ansible_tower: Add custom_virtualenv attribute when applicable ( #60200 )
...
In Ansible Tower/AWX, there are three kinds of objects that can be tied
to custom python virtual environment:
- job template
- project
- organization
This patch updates the three ansible modules that creates those objects
so that the 'custom_virtualenv' attribute can be set if specified.
Testing Done: via a playbook, test organization, projet then template creation
without any 'custom_virtualenv' attribute specified. Check that the
resources get created and that their python env is set to default. Then
re-do the same test but this time with the 'custom_virtualenv' attribute
specified. Ensure in AWX UI that those resources have the right
'custom_virtualenv' set.
2019-11-20 22:35:25 -05:00
beeankha
eff46dbc71
Make playbook wait for project sync...
...
...*before* running the associated job template.
Set "wait" default to True so CI doesn't time out
Change default back to "False", put in new "if"...
...block, explicitly set "wait" to "False" in test file.
Change if block
Update README
Update 'wait' option description
2019-11-20 08:43:19 -05:00
AlanCoding
f8b64f2222
Fix and test for warning when creating project
2019-10-30 15:40:49 -04:00
AlanCoding
c103a813bf
declare types in Ansible Tower module options
2019-10-29 11:24:16 -04:00
AlanCoding
7dd8e35e8c
Use namespaced doc fragment, cleanup
...
doc fragment will now be at awx.awx.auth
changed from just tower, which source from core
remove Makefile things no longer needed
2019-09-27 23:09:39 -04:00
AlanCoding
98619c5e23
rename awx modules folder to collection
2019-09-27 14:29:04 -04:00