# Error while deploying open source bitcoin exchange platform that uses ansimble

**URL:** <https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974>\
**Category:** Ansible Project\
**Created:** [July 10, 2016, 3:53am UTC](https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974 "2016-07-10T03:53:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oleg\_Belousov](https://avatars.discourse-cdn.com/v4/letter/o/3e96dc/32.png) [@Oleg\_Belousov](https://forum.ansible.com/u/Oleg_Belousov)\
**Post date:** [July 10, 2016, 3:53am UTC](https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974/1 "2016-07-10T03:53:23Z")

</div>

This is the line with the error:

> <https://github.com/txbits/TxBitsDeployer/blob/master/playbook/group_vars/staging_testnet#L5>

This is how the error looks like in the console:

`

fatal: [[longcat.staging-testnet-txbits.com](http://longcat.staging-testnet-txbits.com)] =\> Syntax Error while loading YAML script, /home/user/dev/TxBitsDeployer/playbook/group\_vars/staging\_testnet  
Note: The error may actually appear before this position: line 5, column 29

# for webservers

frontend\_fqdn: {{root\_domain}}  
^  
This one looks easy to fix. YAML thought it was looking for the start of a  
hash/dictionary and was confused to see a second “{”. Most likely this was  
meant to be an ansible template evaluation instead, so we have to give the  
parser a small hint that we wanted a string instead. The solution here is to  
just quote the entire value.

For instance, if the original line was:

app\_path: {{ base\_path }}/foo

It should be written as:

app\_path: “{{ base\_path }}/foo”

We could be wrong, but this one looks like it might be an issue with  
missing quotes. Always quote template expression brackets when they  
start a value. For instance:

with\_items:

- {{ foo }}

Should be written as:

with\_items:

- “{{ foo }}”

`

What I was trying to do is

`./initial_deploy.sh staging_testnet`

In order to test the pipeline.

Thanks in advance.  
O.

---

<div class="post-metadata">

**Author:** ![Oleg\_Belousov](https://avatars.discourse-cdn.com/v4/letter/o/3e96dc/32.png) [@Oleg\_Belousov](https://forum.ansible.com/u/Oleg_Belousov)\
**Post date:** [July 11, 2016, 3:37pm UTC](https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974/2 "2016-07-11T15:37:41Z")

</div>

up (

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [July 11, 2016, 4:05pm UTC](https://forum.ansible.com/t/error-while-deploying-open-source-bitcoin-exchange-platform-that-uses-ansimble/21974/3 "2016-07-11T16:05:58Z")

</div>

Have you actually read the error message?  
It clearly says whats wrong.

More info  
[https://docs.ansible.com/ansible/YAMLSyntax.html#gotchas](https://docs.ansible.com/ansible/YAMLSyntax.html#gotchas)
