Commit 32cd66f5 by John Jarvis

moving extra vars back to the plays

parent df7458e7
...@@ -2,6 +2,16 @@ ...@@ -2,6 +2,16 @@
hosts: all hosts: all
sudo: True sudo: True
gather_facts: True gather_facts: True
vars:
migrate_db: 'yes'
openid_workaround: true
devstack: true
disable_edx_services: true
edx_platform_version: 'master'
mongo_enable_journal: false
EDXAPP_NO_PREREQ_INSTALL: 0
COMMON_MOTD_TEMPLATE: 'devstack_motd.tail.j2'
COMMON_SSH_PASSWORD_AUTH: "yes"
vars_files: vars_files:
- "group_vars/all" - "group_vars/all"
roles: roles:
......
...@@ -2,6 +2,14 @@ ...@@ -2,6 +2,14 @@
hosts: all hosts: all
sudo: True sudo: True
gather_facts: True gather_facts: True
vars:
migrate_db: 'yes'
openid_workaround: true
edx_platform_version: 'master'
EDXAPP_LMS_NGINX_PORT: '80'
EDX_ANSIBLE_DUMP_VARS: true
CERTS_DOWNLOAD_URL: 'http://192.168.33.10:18090'
CERTS_VERIFY_URL: 'http://192.168.33.10:18090'
vars_files: vars_files:
- "group_vars/all" - "group_vars/all"
roles: roles:
......
...@@ -54,20 +54,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -54,20 +54,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision :ansible do |ansible| config.vm.provision :ansible do |ansible|
ansible.playbook = "../../../playbooks/vagrant-devstack.yml" ansible.playbook = "../../../playbooks/vagrant-devstack.yml"
ansible.verbose = "vvvv" ansible.verbose = "vvvv"
# set extra-vars here instead of in the vagrant play so that
# they are written out to /edx/etc/server-vars.yml which can
# be used later when running ansible locally
ansible.extra_vars = {
migrate_db: 'yes',
openid_workaround: true,
devstack: true,
disable_edx_services: true,
edx_platform_version: 'master',
mongo_enable_journal: false,
EDXAPP_NO_PREREQ_INSTALL: 0,
COMMON_MOTD_TEMPLATE: 'devstack_motd.tail.j2',
COMMON_SSH_PASSWORD_AUTH: "yes",
}
end end
end end
...@@ -31,16 +31,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -31,16 +31,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# set extra-vars here instead of in the vagrant play so that # set extra-vars here instead of in the vagrant play so that
# they are written out to /edx/etc/server-vars.yml which can # they are written out to /edx/etc/server-vars.yml which can
# be used later when running ansible locally # be used later when running ansible locally
ansible.extra_vars = {
ansible_ssh_user: 'vagrant',
migrate_db: 'yes',
openid_workaround: true,
edx_platform_version: 'master',
EDXAPP_LMS_NGINX_PORT: '80',
EDX_ANSIBLE_DUMP_VARS: true,
CERTS_DOWNLOAD_URL: 'http://192.168.33.10:18090',
CERTS_VERIFY_URL: 'http://192.168.33.10:18090',
}
ansible.verbose = "vvvv" ansible.verbose = "vvvv"
end end
end end
...@@ -36,8 +36,8 @@ end ...@@ -36,8 +36,8 @@ end
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Creates an edX devstack VM from an official release # Creates an edX devstack VM from an official release
config.vm.box = "himbasha-devstack" config.vm.box = "injera-devstack"
config.vm.box_url = "http://files.edx.org/vagrant-images/20140325-himbasha-devstack.box" config.vm.box_url = "http://files.edx.org/vagrant-images/20140418-injera-devstack.box"
config.vm.network :private_network, ip: "192.168.33.10" config.vm.network :private_network, ip: "192.168.33.10"
config.vm.network :forwarded_port, guest: 8000, host: 8000 config.vm.network :forwarded_port, guest: 8000, host: 8000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment