https://github.com/petermosmans/ansible-role-webgoat
An ansible role to install OWASP WebGoat
https://github.com/petermosmans/ansible-role-webgoat
ansible ansible-role owasp webgoat
Last synced: about 1 month ago
JSON representation
An ansible role to install OWASP WebGoat
- Host: GitHub
- URL: https://github.com/petermosmans/ansible-role-webgoat
- Owner: PeterMosmans
- License: gpl-3.0
- Created: 2017-05-22T07:37:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T06:10:30.000Z (about 9 years ago)
- Last Synced: 2025-01-23T06:28:58.948Z (over 1 year ago)
- Topics: ansible, ansible-role, owasp, webgoat
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Webgoat
=========
Build status for this role: [](https://travis-ci.org/PeterMosmans/ansible-role-webgoat)
This role downloads, configures and installs the OWASP WebGoat service.
Requirements
------------
Make sure that traffic to port 8080 tcp is allowed, as that's the port where WebGoat will be listening on.
Role Variables
--------------
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
```
Dependencies
------------
None.
Example Playbook
----------------
```
- 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`.
License
-------
GPLv3
Author Information
------------------
Created by Peter Mosmans. Suggestions, feedback and pull requests are always welcome.