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

Commit

Permalink
Merge pull request #14 from palantirnet/feature/solr
Browse files Browse the repository at this point in the history
Adds solr role to ansible playbook
  • Loading branch information
becw authored Sep 28, 2016
2 parents 497d355 + be0250d commit bc837c2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Vagrant.configure(2) do |config|
config.vm.define "#{project}" do |box|

box.vm.box = "palantir/drupalbox"
box.vm.box_version = ">= 0.0.6, < 1.0.0"
box.vm.box_version = ">= 0.1.1, < 1.0.0"

box.vm.provider "vmware_fusion" do |v|
v.vmx["memsize"] = "2048"
Expand Down
2 changes: 2 additions & 0 deletions conf/vagrant/provisioning/drupal8-skeleton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
vars:
timezone: America/Chicago
mysql_root_pass: root
solr_enabled: false
system_packages: ["php5-gd"]
roles:
- { role: common }
- { role: php }
- { role: vhost }
- { role: solr }
- { role: drush }
- { role: gulp }
2 changes: 2 additions & 0 deletions conf/vagrant/provisioning/roles/solr/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
solr_enabled: false
10 changes: 10 additions & 0 deletions conf/vagrant/provisioning/roles/solr/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---

- name: Solr | Disable Jetty Service
become: yes
service:
name: jetty
state: started
enabled: yes
when: solr_enabled == True
tags: solr

0 comments on commit bc837c2

Please sign in to comment.