Hi, here is code:

tasks:
  - name: Debug
    debug:
      msg: "{{jsonStatus.status}}"

  - shell: ls
    register: result
    until: result.cmd == "ls"
    retries: 3
    delay: 2
  - name: result 2
    debug:
      msg: "{{result}}"
  - name: Debug 2
    debug:
      msg: "{{result.cmd}}"


I expected that command "ls" will be executed 3 times.
It is executed only once. Last output  is "ls"

Is it bug in ansible?

Thanks,
Dmitriy

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to