mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 00:07:40 -02:30
Added variable data field and resource on inventory. Updated inventory script to output inventory variables for the 'all' group.
This commit is contained in:
@@ -6,6 +6,10 @@ from django.db import models
|
||||
|
||||
|
||||
class Migration(SchemaMigration):
|
||||
'''
|
||||
Schema migration for AnsibleWorks 1.2-b2 release.
|
||||
- Add has_active_failures field on Inventory, Group and Host models.
|
||||
'''
|
||||
|
||||
def forwards(self, orm):
|
||||
# Adding field 'Inventory.has_active_failures'
|
||||
@@ -23,7 +27,6 @@ class Migration(SchemaMigration):
|
||||
self.gf('django.db.models.fields.BooleanField')(default=False),
|
||||
keep_default=False)
|
||||
|
||||
|
||||
def backwards(self, orm):
|
||||
# Deleting field 'Inventory.has_active_failures'
|
||||
db.delete_column(u'main_inventory', 'has_active_failures')
|
||||
@@ -34,7 +37,6 @@ class Migration(SchemaMigration):
|
||||
# Deleting field 'Group.has_active_failures'
|
||||
db.delete_column(u'main_group', 'has_active_failures')
|
||||
|
||||
|
||||
models = {
|
||||
u'auth.group': {
|
||||
'Meta': {'object_name': 'Group'},
|
||||
|
||||
Reference in New Issue
Block a user