---
- hosts: test
tasks:
- name: Find .war & .jar file on localhost
find: paths="/var/lib/jenkins/workspace" patterns="*.war,*.jar"
fatal: [127.0.0.1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,password).\r\n", "unreachable": true}