title: Ansible template error while templating string: expected token 'end of print statement', got 'integer
body: <p>I have task which configure my docker-compose.yml
  here is my docker-compose.yml file which i templated use the template module</p>
  <pre><code>services:
    zeebe:
  #    restart: always
      container_name: chai_maker
      image: registry.uzbekistan.uz/cicd/chai_s_molokom:0.26.0
      ports:
        - 26500:26500
        - 26501:26501
        - 26502:26502
        - 9600:9600 # monitoring
  #    networks:
  #      - zibi
      environment:
        TIME_ZONE: 'Asia/Khudzhand'
        ZEEBE_BROKER_GATEWAY_ENABLE: 'true'
        ZEEBE_BROKER_NETWORK_HOST: '0.0.0.0' # this broker's host (advertized host)
        ZEEBE_BROKER_NETWORK_ADVERTISEDHOST: '{{ ansible_default_ipv4.address }}'
        ZEEBE_HOST: '0.0.0.0'
        ZEEBE_BROKER_NETWORK_MAXMESSAGESIZE: '512KB'
        ZEEBE_BROKER_NETWORK_COMMANDAPI_PORT: '26501'
        ZEEBE_BROKER_NETWORK_INTERNALAPI_PORT: '26502'
        ZEEBE_BROKER_NETWORK_MONITORINGAPI_PORT: '9600'
        ZEEBE_BROKER_CLUSTER_NODEID: '{{ '
        ZEEBE_BROKER_CLUSTER_PARTITIONSCOUNT: '1'
        ZEEBE_BROKER_CLUSTER_REPLICATIONFACTOR: '6' # set to 6
        ZEEBE_BROKER_CLUSTER_CLUSTERSIZE: '6' # set to 6
        ZEEBE_BROKER_CLUSTER_CLUSTERNAME: 'pidoras'
        ZEEBE_BROKER_THREADS_CPUTHREADCOUNT: '2'
        ZEEBE_BROKER_THREADS_IOTHREADCOUNT: '2'
        ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_URLS: 'http://192.168.2.13:9200'
        ZEEBE_DEBUG: 'false'
        # JAVA_TOOL_OPTIONS: '-XX:MaxRAMPercentage=25.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/usr/local/zeebe/data -XX:ErrorFile=/usr/local/zeebe/data/zeebe_error%p.logo -XX:+ExitOnOutOfMemoryError'
        ZEEBE_BROKER_CLUSTER_INITIALCONTACTPOINTS: '10.0.88.80:26502, 10.0.88.81:26502, 10.0.88.82:26502, 10.0.88.83:26502, 10.0.88.84:26502, 10.0.88.85:26502, 10.0.88.86:26502' # comma separated host list
      volumes:
        - ${PWD}/data:/usr/local/zeebe/data
        - ${PWD}/exporters:/usr/local/zeebe/exporters
        - ${PWD}/application.yaml:/usr/local/zeebe/config/application.yaml
        - ${PWD}/log4j2.xml:/usr/local/zeebe/config/log4j2.xml
  networks:
    zibi:
      driver: host
  </code></pre>
  <p>and when i execute my role, it exit with this error</p>
  <blockquote>
  <p>FAILED! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;AnsibleError: template error while templating string: expected token 'end of print statement', got 'integer'</p>
  </blockquote>