# ERROR: Syntax Error while loading YAML script

**URL:** <https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-script/19600>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [October 23, 2015, 11:45pm UTC](https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-script/19600 "2015-10-23T23:45:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [October 23, 2015, 11:45pm UTC](https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-script/19600/1 "2015-10-23T23:45:14Z")

</div>

you hae apt: twice, that won't work, also you need a space after :

&nbsp;&nbsp;&nbsp;apt: upgrade=full update\_cache=yes
