# Generated by Django 4.2.14 on 2024-12-12 22:22

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('ansible_manager', '0001_initial'),
    ]

    operations = [
        migrations.AlterField(
            model_name='ansibletask',
            name='created_at',
            field=models.DateTimeField(auto_now_add=True, help_text='생성 시간'),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='inventory_file',
            field=models.FileField(blank=True, help_text='Ansible Inventory 파일 경로 (선택 사항)', null=True, upload_to='ansible/inventories/'),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='name',
            field=models.CharField(help_text='작업 이름', max_length=200),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='owner',
            field=models.ForeignKey(help_text='작업 소유자', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='playbook_file',
            field=models.FileField(help_text='Ansible Playbook 파일 경로', upload_to='ansible/playbooks/'),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='result',
            field=models.TextField(blank=True, help_text='실행 결과', null=True),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='status',
            field=models.CharField(choices=[('PENDING', 'Pending'), ('RUNNING', 'Running'), ('SUCCESS', 'Success'), ('FAILED', 'Failed')], default='PENDING', help_text='작업 상태', max_length=20),
        ),
        migrations.AlterField(
            model_name='ansibletask',
            name='updated_at',
            field=models.DateTimeField(auto_now=True, help_text='업데이트 시간'),
        ),
    ]
