mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
No need to keep inventory list on projects, can just use permissions
This commit is contained in:
@@ -620,7 +620,9 @@ class Project(CommonModel):
|
||||
A project represents a playbook git repo that can access a set of inventories
|
||||
'''
|
||||
|
||||
inventories = models.ManyToManyField('Inventory', blank=True, related_name='projects')
|
||||
# this is not part of the project, but managed with perms
|
||||
# inventories = models.ManyToManyField('Inventory', blank=True, related_name='projects')
|
||||
|
||||
local_repository = models.CharField(max_length=1024)
|
||||
scm_type = models.CharField(max_length=64)
|
||||
default_playbook = models.CharField(max_length=1024)
|
||||
|
||||
Reference in New Issue
Block a user