---
- name: Build the lui-solr image
+ become: yes
docker_image: name=lui-solr path=/vagrant/docker/solr
-
-- name: Create Solr container
- docker_container:
- name: solr1
- image: lui-solr
- tty: yes
- published_ports: 8983:8983
- #volumes: /vagrant/conf/solr/solr-home:/opt/solr/server/solr
- command: bash -c '/opt/solr/bin/solr start -f -z zk1:2181'
- state: present