[0.8.1] invalid agent token

HI.
I use ansible for install Drone 0.8.1. Pipeline always pending. Drone agent container always restarting.

playbook

---

- hosts: ci-web
  remote_user: root
  vars:
    drone_secret: "d41d8cd98f00b204e9800998ecf8427e"
  tasks:
    - name: Drone Server
      docker_container:
        name: drone-server
        image: drone/drone:0.8.1
        pull: true
        restart_policy: always
        recreate: true
        ports:
          - "80:8000"
          - "9000:9000"
        volumes:
          - "/var/lib/drone:/var/lib/drone"
        env:
          DRONE_OPEN: 'true'
          DRONE_HOST: "http://drone.example.local"
          DRONE_SECRET: "{{ drone_secret }} "
          DRONE_GITEA: 'true'
          DRONE_GITEA_URL: "http://git.example.local"
          DRONE_GITEA_SKIP_VERIFY: 'true'
          DRONE_ADMIN: 'hdhog'
          DRONE_DEBUG: 'true'
          DRONE_DEBUG_PRETTY: 'true'
          

- hosts: ci-workers
  remote_user: root
  vars:
    drone_secret: "d41d8cd98f00b204e9800998ecf8427e"
  tasks:
    - name: Drone agent
      docker_container:
        name: drone-agent
        image: drone/agent:0.8.1
        pull: true
        restart_policy: always
        recreate: true
        ports:
          - "3000:3000"
        volumes:
          - "/var/run/docker.sock:/var/run/docker.sock"
        env:
          DRONE_SERVER: 10.0.8.12:9000
          DRONE_SECRET: "{{ drone_secret }}"
          DRONE_DEBUG: 'true'
          DRONE_DEBUG_PRETTY: 'true'
          DRONE_HEALTHCHECK: 'true'

Agent logs

2017-10-19T12:53:32Z |DEBU| request next execution
2017-10-19T12:53:32Z |ERRO| pipeline done with error error="rpc error: code = Unknown desc = invalid agent token"
2017-10-19T12:54:32Z |DEBU| request next execution
2017-10-19T12:54:32Z |ERRO| pipeline done with error error="rpc error: code = Unknown desc = invalid agent token"

this tells me that the secret is not being properly passed to the agent/server. Perhaps it is because you have an extra space in your configuration causing the secrets to mismatch?

-DRONE_SECRET: "{{ drone_secret }} "
+DRONE_SECRET: "{{ drone_secret }}"

oh, this is my inattention. Thanks for your help