Wayne Witzel III
c7cf954476
ensure org auditor can see org credentials
2016-06-21 14:43:40 -04:00
Wayne Witzel III
3575b32eab
Credential should have a unique org,kind,name
2016-06-21 11:35:30 -04:00
Matthew Jones
9b49ff15bd
Mass rename foreman -> satellite6
...
For end-user facing elements. We still maintain foreman for some
underlying logic needed by the modules
2016-06-15 11:16:15 -04:00
Wayne Witzel III
5754b4bb2c
adjusting Credential model and migrations
2016-06-10 13:23:32 -04:00
AlanCoding
f6b3da0c46
Make error message grammar more consistent
2016-05-18 13:39:06 -04:00
Wayne Witzel III
911c92707c
update models to match new migrations
2016-05-13 11:59:14 -04:00
Akita Noek
280993a15d
Dropped stored role name/description and other superflous fields
...
For name and description, we'll derive these from the role_field and
content type, which is much better for lots of reasons (eg changing text
the future). Also ditched the rest of the fields comming from the
standard common base model, we didn't use them and they cost several
indexes on the table.
2016-04-22 10:16:04 -04:00
Matthew Jones
fe360ca8e3
Updates to network credentials
...
Separating out the network credential used fields
2016-04-21 16:43:55 -04:00
Matthew Jones
da7a61354a
Merge pull request #1635 from matburt/new_azure_inventory_and_credentials
...
Implement Azure RM creds and inventory
2016-04-21 14:38:13 -04:00
Matthew Jones
296f70ce17
Implement Azure RM creds and inventory
...
* Vendor ansible's azure_rm inventory script
* Add new inventory type
* Add new credential type
* Expand host instance_id column from varchar 100 to 1024 to accept the
long instance ids returned by Azure
* Make the inventory_import azure match rename more explicit.
2016-04-21 13:51:30 -04:00
Wayne Witzel III
320d6377d0
add Red Hat for CloudForms and Satellite 6
2016-04-19 18:03:58 -04:00
Akita Noek
d5bc455677
admins can use credentials too
2016-04-15 16:27:24 -04:00
Akita Noek
1fa70106d8
Added read_role to credential
2016-04-15 16:26:59 -04:00
Wayne Witzel III
7098ef8da5
usage_role -> use_role
2016-04-15 11:01:08 -04:00
Akita Noek
8887db231b
Progress on ripping out RolePermissions
2016-04-14 09:44:20 -04:00
Wayne Witzel III
e8b35533e4
added initial API support for Network credential
2016-04-11 10:14:02 -04:00
Wayne Witzel III
6635782ed8
add API support for CloudForms inventory ( #1099 )
2016-04-05 14:43:25 -04:00
Wayne Witzel III
051dfd4b0e
add API support for Satellite 6 inventory ( #1098 )
2016-04-05 14:34:22 -04:00
Akita Noek
219c09728d
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-31 11:32:02 -04:00
AlanCoding
fa92b2e851
back out openstack_v3 options but retain v3 functionality
2016-03-30 16:20:20 -04:00
Akita Noek
5baa784ce2
Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel
2016-03-24 13:51:00 -04:00
Wayne Witzel III
a5deb66878
deprecate Credential.team/user
2016-03-23 15:23:12 -04:00
AlanCoding
f4b1de766d
Adding OpenStack v3 cred type
2016-03-18 16:41:09 -04:00
AlanCoding
c807d5dcf3
Add keystone v3 support via new domain field on credential
2016-03-18 16:41:09 -04:00
Wayne Witzel III
6d249f38a7
Fix credential assertions and rename migration helpers
2016-03-17 15:41:46 -04:00
Akita Noek
defe4a4fd8
Made credentials accessible by system administrators and auditors
2016-03-15 16:51:44 -04:00
Akita Noek
db6117a56d
Added role description fields
...
Completes #1096
2016-03-03 16:19:10 -05:00
Akita Noek
e2a428b9f5
Removed resource_field ImplicitRoleField
...
We just now assume that this field is always named 'resource'
Completes functionality of #926 , documentation next
2016-02-15 12:38:17 -05:00
Wayne Witzel III
8cf0ba0da7
convert Credential to django migration
2016-02-08 15:54:11 -05:00
Wayne Witzel III
7b3f3675f8
flake8 fixes
2016-02-05 09:18:52 -05:00
Wayne Witzel III
58a603bac1
added Credential.migrate_to_rbac and tests
2016-02-05 08:47:15 -05:00
Akita Noek
5b50ebb8da
Added a ResourceMixin to be added to any model that is a "Resource"
...
Also added initial permissions checking and accessible object methods to
the mixin
2016-02-04 15:12:25 -05:00
Akita Noek
6dad0406b8
Initial implicit role / resource field additions into models
...
"Completes" #731 until we find out what I missed
2016-02-04 15:12:24 -05:00
Wayne Witzel III
58499175d6
Set the GCE_ZONE env variable to source_regions.
...
Fix when an empty key is provided and add tests for validate_ssh_private_key
2016-02-02 09:49:04 -05:00
Wayne Witzel III
71a1547c3a
fixing ad_hoc imports
...
flake8 fixes
Fix and add awx/api/tests
added fact tests
added proper xml reports for jenkins
added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Wayne Witzel III
3d4580611e
added pytest to requirements_dev
...
reworking test strucutre
reworked pytest.ini, removed functional imports, updated req_dev
remove unneeded __init__ files
add testing checker to local_settings examples
adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Wayne Witzel III
5d6ea242c0
reorganzing tests folder
...
make tests a module
refacotring to local imports for tests
fixing test import of tasks
fixing test import of tasks
more testing fixups
2016-02-01 18:37:56 -05:00
Matthew Jones
34e028b8c7
Adding security token field to support ec2 sts
...
And any future credential that might want to use "security_token"
2015-09-30 13:39:36 -04:00
Chris Church
b647811456
Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
2015-08-04 18:59:25 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
35fd2addc6
Remove runas from the list of become method choices since it's not
...
implemented in ansible yet (although it is listed in their help docs)
2015-06-01 09:48:16 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -04:00
Chris Meyers
7a0cb65541
require openstack host, username, pass
2015-05-19 12:37:35 -04:00
Chris Meyers
6dc1dd632a
require project field for openstack credential
2015-05-12 15:38:24 -04:00
John Mitchell
326581c44f
changed Openstack to OpenStack
2015-05-06 15:24:19 -04:00
Chris Church
d1ea8708ad
Make sure credential can only be assigned to a user OR team, but never both. Fixes https://trello.com/c/yzlAEfAN
2015-04-27 12:43:02 -04:00
Matthew Jones
6c5fd93ce5
Merge pull request #137 from matburt/openstack_inventory_support
...
Openstack inventory support
2015-04-14 12:43:20 -04:00
Matthew Jones
6525120c15
model and task support for launching openstack inventory updates
2015-04-13 15:05:58 -04:00
Chris Church
9500e9b63e
Change credential to return 'ssh_password' instead of 'password' when value is set to 'ASK'.
2015-04-08 15:32:45 -04:00
Matthew Jones
d5c9e37499
Refactor credential to use ansible become if using a new enough ansible
...
version. Add become flag to job template
2015-04-02 10:05:56 -04:00