Commit 0e350324 by Feanil Patel

Fully building vagrant fullstack image.

parent 21827d56
......@@ -8,7 +8,6 @@
- name: install python-software-properties if debian
apt: pkg={{",".join(rabbitmq_debian_pkgs)}} state=present
when: ansible_distribution == 'Debian'
- name: add rabbit repository
apt_repository: repo="{{rabbitmq_repository}}" state=present
......
......@@ -4,7 +4,7 @@
# - nginx/tasks/main.yml
---
- name: Change permissions on datadir
file: path={{xqueue_code_dir}}/../data state=directory owner=www-data group=www-data
file: path={{app_base_dir}}/data state=directory owner=www-data group=www-data
tags:
- xqueue
......@@ -32,7 +32,7 @@
- xqueue
- name: create xqueue application config
template: src=xqueue.env.json.j2 dest={{xqueue_code_dir}}/../env.json mode=0640 owner=www-data group=adm
template: src=xqueue.env.json.j2 dest={{app_base_dir}}/env.json mode=0640 owner=www-data group=adm
notify:
- restart xqueue
- restart xqueue consumer
......@@ -40,7 +40,7 @@
- xqueue
- name: create xqueue auth file
template: src=xqueue.auth.json.j2 dest={{xqueue_code_dir}}/../auth.json mode=0640 owner=www-data group=adm
template: src=xqueue.auth.json.j2 dest={{app_base_dir}}/auth.json mode=0640 owner=www-data group=adm
notify:
- restart xqueue
- restart xqueue consumer
......
......@@ -32,6 +32,7 @@
git: dest={{xserver_grader_dir}} repo={{xserver_grader_source}} version={{xserver_grader_version}}
environment:
GIT_SSH: /tmp/git_ssh.sh
when: c_skip_grader_checkout is not defined or c_skip_grader_checkout==False
tags:
- deploy
......
......@@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|
ansible.playbook = "../../playbooks/vagrant-fullstack.yml"
ansible.inventory_file = "../../playbooks/vagrant/inventory.ini"
ansible.extra_vars = { secure_dir: "secure_example" }
ansible.extra_vars = { secure_dir: "secure_example", c_skip_grader_checkout: 'True' }
ansible.verbose = true
end
end
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