Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
Change ANSIBLE_APPSERVER_REQUIREMENTS_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
0x29a committed Feb 23, 2021
1 parent 0e7de5d commit b5c4440
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions instance/migrations/0139_auto_20210217_1216.py
Original file line number Diff line number Diff line change
@@ -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),
),
]
4 changes: 3 additions & 1 deletion opencraft/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b5c4440

Please sign in to comment.