Alan Rominger
4a85983eb7
Symlink modules for 2.9 compat ( #5103 )
...
* Symlink modules for 2.9 compat
* Avoid symlinks in completeness tests
2021-06-22 10:49:40 -04:00
Seth Foster
44fed1d7c1
pycharm refactor rename files and class, linux rename tower_ controller_
2021-06-08 14:33:22 -04:00
Ryan Petrello
c2ef0a6500
move code linting to a stricter pep8-esque auto-formatting tool, black
2021-03-23 09:39:58 -04:00
sean-m-ssullivan
857a5718e5
update logic
2021-03-09 18:40:15 -06:00
Sean
a0090c7c52
update logic
2021-03-02 23:55:03 -06:00
sean-m-sullivan
9a7dd38cbb
add copy to modules
2021-02-21 19:49:14 -06:00
Ryan Petrello
4d8176e6af
Merge remote-tracking branch 'downstream' into downstream
2020-11-11 13:30:21 -05:00
beeankha
400c55faaa
Remove Cloudforms as a credential type from collections
2020-11-10 15:49:55 -05:00
beeankha
26ebf47c71
Revert choice from 'satellite' to 'satellite6'
2020-10-22 18:03:09 -04:00
beeankha
4b625f0f13
Update credential 'kind' choices 🔑
2020-10-22 11:54:42 -04:00
softwarefactory-project-zuul[bot]
81a79c30cb
Merge pull request #7976 from bbayszczak/missing_creds_type_to_tower_credentials_module
...
add missing creds types to tower_credential module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-10-21 19:03:41 +00:00
Bianca Henderson
143831ffd0
Add required whitespace
2020-10-21 12:21:30 -04:00
Alan Rominger
362d6a3204
Add new option update_secrets to allow lazy or strict updating
2020-09-15 22:38:37 -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
24ec129235
Modifying credential for new get_one
2020-09-08 11:03:10 -04:00
Benoit Bayszczak
d49a61b63e
add missing creds types to tower_credential module
...
Add the following native credentials types to the tower_credential module
- 'satellite': 'Red Hat Satellite 6' # renaming of satellite6
- 'aim': 'CyberArk AIM Central Credential Provider Lookup'
- 'conjur': 'CyberArk Conjur Secret Lookup'
- 'hashivault_kv': 'HashiCorp Vault Secret Lookup'
- 'hashivault_ssh': 'HashiCorp Vault Signed SSH'
- 'azure_kv': 'Microsoft Azure Key Vault'
- 'kubernetes_bearer_token': 'OpenShift or Kubernetes API Bearer Token'
- 'github_token': 'GitHub Personal Access Token'
- 'gitlab_token': 'GitLab Personal Access Token'
2020-08-25 17:24:17 +02: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
beeankha
dcc500e7bb
Make 'inputs' idempotent in credentials module, add test to check this works
2020-08-05 16:44:22 -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
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
beeankha
3bc5975b90
Remove 'supports_check_mode' text from converted Collection modules
2020-04-15 09:37:54 -04:00
softwarefactory-project-zuul[bot]
e8fb466f0f
Merge pull request #6646 from beeankha/credential_module_no_log
...
Activate no_log for Values in input Parameter of tower_credential Module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 14:18:08 +00:00
beeankha
1f598e1b12
Activate no_log for values in input parameter
2020-04-07 20:34:54 -04: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
John Westcott IV
c1bb62cc36
Removing recursive check, allowwing old pattern to commence
2020-04-06 10:11:18 -04:00
beeankha
f5cf7c204f
Update unit test, edit credential module to pass sanity 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
fd24918ba8
Initial conversion of tower_credential
2020-04-06 10:11:18 -04:00
beeankha
787c4af222
Change default values for dict parameter
...
Removing default of empty dict from variables param on group and host modules
Make modules comply with updated sanity tests
2020-02-26 09:26:58 -05:00
Alan Rominger
2e4e687d69
Optional tower cli ( #3 )
...
* Allow running tests without tower_cli
* patch up test mutability
* Fix test import error, warning mock
* flake8 error
Update documentation for non-converted modules
2020-02-26 09:26:22 -05:00
AlanCoding
48f10669d6
fix duplicate exception sanity error
2019-11-26 09:39:05 -05:00
beeankha
c6d2fa86c7
Fix typo under 'options'
2019-11-20 11:15:18 -05:00
Mathieu Mallet
ae1bd9d1e9
tower_credential: Missing 'kind' attribute ( #61324 )
...
In the 'tower_credential' module, when the credential 'kind' is set to
'vault', the code expects the other parameter 'vault_id' to be set.
Unfortunately, in the module 'credential_type_for_v1_kind' method, the
'kind' parameter is popped, i.e. remove from the module dict of
parameters leading to the following error:
> Parameter 'vault_id' is only valid if parameter 'kind' is specified as
'vault'
Fixes : #45644 , #61324
Testing Done: Manually create a playbook with a task as follow
- name: Create vault with ID 'bar' exists
tower_credential:
name: Foobar vault
organization: Foobar
kind: vault
vault_id: bar
vault_password: foobar
2019-10-29 14:21:21 -04:00
AlanCoding
c103a813bf
declare types in Ansible Tower module options
2019-10-29 11:24:16 -04:00
Alan Rominger
70269d9a0d
Add support for credential_type in tower_credential module ( #3820 )
...
* Add support for credential_type
* Finish up credential_type parameter with tests
* make inputs mutually exclusive with other params
* Test credential type with dict input
2019-10-29 11:24:12 -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