Rename of Folder on Windows using Playbook

I want to rename the folder using ansible playbook , But i could not find any module . I found a solution in stackover flow but it did’t work. Any solutions are workaround please

  • name: rename the file
    win_command: “cmd.exe /c rename {{C:\Program Files\apache-tomee-plus-8.0.0}}\{{apache-tomee-plus-8.0.0}} {{TomEE}}”