Check file exists and skip task in next run playbooks

I write my playbook

  • name: stat /opt/zookeeper-3.4.14/*
    stat:
    path: “/opt/zookeeper-3.4.14”
    register: zoo
  • name: mv opt/zookeeper-3.4.14 /opt/zookeeper
    shell: mv /opt/zookeeper-3.4.14/* /opt/zookeeper
    when: zoo.stat.exists

I run the command for the first time, every thing is ok.
But from the 2nd run. I get the following error


Is there a way to run this task on the 1st run. Can I skip it on the 2nd run?
Thanks!