Tomcat Role for Windows

Hello,

I am kind of new to ansible. I did my first steps and got the ping from my control server to a windows machine up and working. So far so good.
Now I need to install Tomcat from scratch and add later on some patches. I was in the hope to find some example roles on ansible-galaxy but there are non for Tomcat on Windows.
So here is my question, does any one know w source for such a role which I can use as a base to develop upon?

Thank you very much
Michael

This is a bit old (jdk8, tomcat8) and has a few assumptions which might not be true for your environment (the jdk and tomcat installers are kept on a web server refered to as {{build_server}}. Its two roles one for the jdk and one for tomcat.

Definitely some things could be improved - likely you don’t need a jdk, only a JRE for a start. The service restart might not be correct and might be better as a handler anyway.

Hopefully this is enough to get you started though.

Jon
`

$:~/roles/win-jdk$ tree -A
.
├── defaults
│ └── main.yml
└── tasks
└── main.yml

2 directories, 2 files
$:~/roles/win-jdk$ cat defaults/main.yml