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

Commit

Permalink
Merge pull request #713 from open-craft/0x29a/bb3686/change_default_a…
Browse files Browse the repository at this point in the history
…ppserver_requirements_file

[BB-3686] Change ANSIBLE_APPSERVER_REQUIREMENTS_PATH to requirements_ansible_2.8.17.txt
  • Loading branch information
0x29a authored Feb 25, 2021
2 parents 8998042 + b486234 commit 3002e8d
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 3002e8d

Please sign in to comment.