diff --git a/instance/migrations/0139_auto_20210217_1216.py b/instance/migrations/0139_auto_20210217_1216.py new file mode 100644 index 000000000..1e4d429de --- /dev/null +++ b/instance/migrations/0139_auto_20210217_1216.py @@ -0,0 +1,25 @@ +# Generated by Django 2.2.12 on 2021-02-17 12:16 + +from django.db import migrations, models +import functools +import instance.models.utils + + +class Migration(migrations.Migration): + + dependencies = [ + ('instance', '0138_auto_20201219_1908'), + ] + + operations = [ + migrations.AlterField( + model_name='openedxappserver', + name='ansible_appserver_version', + field=models.CharField(default=functools.partial(instance.models.utils._get_setting, *('ANSIBLE_APPSERVER_VERSION',), **{}), help_text='The version of the Ansible playbook repository to checkout.', max_length=256), + ), + migrations.AlterField( + model_name='openedxinstance', + name='ansible_appserver_version', + field=models.CharField(default=functools.partial(instance.models.utils._get_setting, *('ANSIBLE_APPSERVER_VERSION',), **{}), help_text='The version of the Ansible playbook repository to checkout.', max_length=256), + ), + ] diff --git a/opencraft/settings.py b/opencraft/settings.py index fba996e34..79d50f0fd 100644 --- a/opencraft/settings.py +++ b/opencraft/settings.py @@ -601,7 +601,9 @@ ANSIBLE_APPSERVER_PLAYBOOK = env('ANSIBLE_APPSERVER_PLAYBOOK', default='playbooks/appserver.yml') # The path to the requirements file for the common appserver playbook. -ANSIBLE_APPSERVER_REQUIREMENTS_PATH = env('ANSIBLE_APPSERVER_REQUIREMENTS_PATH', default='requirements.txt') +ANSIBLE_APPSERVER_REQUIREMENTS_PATH = env( + 'ANSIBLE_APPSERVER_REQUIREMENTS_PATH', default='requirements_ansible_2.8.17.txt' +) # The version of the Ansible playbook repository to checkout. ANSIBLE_APPSERVER_VERSION = env('ANSIBLE_APPSERVER_VERSION', default='master')