This role downloads, configures and installs the OWASP WebGoat service.
Make sure that traffic to port 8080 tcp is allowed, as that's the port where WebGoat will be listening on.
Available variables are listed below, along with default values. The default values are specified in default/main.yml
.
webgoat_base: /var/www/webgoat
webgoat_group: webgoat
webgoat_url: https://github.com/WebGoat/WebGoat/releases/download/7.1/webgoat-container-7.1-exec.jar
webgoat_user: webgoat
None.
- hosts: all
become: yes
become_method: sudo
roles:
- role: PeterMosmans.webgoat
tags: webgoat
This example will install WebGoat to /var/www/webgoat
, and automatically start the service upon boot, as user webgoat
.
GPLv3
Created by Peter Mosmans. Suggestions, feedback and pull requests are always welcome.