# synchronize error

**URL:** <https://forum.ansible.com/t/synchronize-error/18774>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [July 15, 2015, 2:19pm UTC](https://forum.ansible.com/t/synchronize-error/18774 "2015-07-15T14:19:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Scancella](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@John\_Scancella](https://forum.ansible.com/u/John_Scancella)\
**Post date:** [July 15, 2015, 2:19pm UTC](https://forum.ansible.com/t/synchronize-error/18774/1 "2015-07-15T14:19:07Z")

</div>

Hello,

I am having trouble executing this playbook

> * * *
> 
> - hosts: chronam-servers  
> vars:  
> SOLR\_VERSION: 4.10.4  
> SOLR\_HOME: “/opt/solr”  
> tasks:
> 
> - name: download solr {{SOLR\_VERSION}}  
> get\_url: dest=/tmp/solr-{{SOLR\_VERSION}}.tgz url=[http://archive.apache.org/dist/lucene/solr/{{SOLR\_VERSION}](http://archive.apache.org/dist/lucene/solr/%7B%7BSOLR_VERSION%7D)}/solr-{{SOLR\_VERSION}}.tgz
> 
> - name: untar solr {{SOLR\_VERSION}}  
> unarchive: src=/tmp/solr-{{SOLR\_VERSION}}.tgz dest=/tmp creates=/tmp/solr-{{SOLR\_VERSION}}
> 
> - name: create solr user  
> user: name=solr home={{SOLR\_HOME}} shell=/bin/bash append=yes state=present system=yes  
> become: yes
> 
> - name: copy example directory to {{SOLR\_HOME}}  
> synchronize: dest={{SOLR\_HOME}} src=/tmp/solr-{{SOLR\_VERSION}}/example/ recursive=yes owner=solr group=solr mode=0775  
> delegate\_to: “{{inventory\_hostname}}”  
> become: yes
> 
> - name: Copy chronam config files  
> copy: dest={{item.dest}} src={{item.src}}  
> with\_items:
> 
> - { src: ‘conf/schema.xml’, dest: “{{SOLR\_HOME}}/solr/collection1/conf/schema.xml” }
> 
> - { src: ‘conf/solrconfig.xml’, dest: “{{SOLR\_HOME}}/solr/collection1/conf/solrconfig.xml” }  
> become: yes
> 
> - name: start solr  
> service: name=jetty8 state=started  
> become: yes

I am getting the error:

> PLAY [chronam-servers] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> 
> GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> ok: [localhost]
> 
> TASK: [download solr {{SOLR\_VERSION}}] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> ok: [localhost]
> 
> TASK: [untar solr {{SOLR\_VERSION}}] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> ok: [localhost]
> 
> TASK: [create solr user] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> ok: [localhost]
> 
> TASK: [copy example directory to {{SOLR\_HOME}}] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> failed: [localhost → localhost] =\> {“failed”: true}  
> msg: Boolean solr not in either boolean list
> 
> FATAL: all hosts have already failed – aborting
> 
> PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> to retry, use: --limit @/home/ubuntu/solr.retry
> 
> localhost : ok=4 changed=0 unreachable=0 failed=1

What does “Boolean solr not in either boolean list” mean? How do I fix it?

Thanks  
John
