Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

alban.andrieu.zap

This Simple role allows you to install Zap zaproxy service
which can be used to perform penetration testing.

Installation

This role requires at least Ansible v1.6.3.

To install it, run:

ansible-galaxy install alban.andrieu.zap

Role variables

List of default variables available in the inventory:

        zap_enabled: yes                       # Enable module

    #zap_listen_ip: "127.0.0.1"
    #zap_port: "8090"

    ## Where to install zap and Unix user/group
    #user: "{{ lookup('env','USER') }}"
    zap_owner: "zap" 
    #zap_owner: "{{ user }}" 
    zap_group: "{{ zap_owner }}"
    zap_shell: "/bin/false" #/bin/bash
    zap_base_dir: "/usr/local/zap"
    #home: "{{ lookup('env','HOME') }}"
    #zap_owner_home: "{{ home }}"
    zap_owner_home: "{{ zap_base_dir }}"
    zap_link_base_dir: "/opt"
    zap_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"
    zap_user_state: present
    #zap_pkg_state: present

    ## Most likely you dont need to edit 
    #todo zap_service_enabled   : 'yes'
    zap_major: "2"
    zap_minor: "3.1"
    zap_version: "{{zap_major}}.{{zap_minor}}"
    zap_name: "zap-{{zap_version}}"
    zap_archive_extracted: "ZAP_{{zap_version}}"
    zap_archive: "{{zap_archive_extracted}}_Linux.tar.gz"
    zap_url: "http://sourceforge.net/projects/zaproxy/files/{{zap_version}}/{{zap_archive}}/download"
    #zap_url: "http://downloads.sourceforge.net/project/zaproxy/{{zap_version}}/{{zap_archive}}?r=&ts=1411599584&use_mirror=skylink"
    zap_home_dir: "{{zap_base_dir}}/{{zap_name}}"

    docker_files_generated_directory: "./"
    docker_files_enable: no
    docker_volume_directory: "{{ zap_base_dir }}"
    docker_working_directory: "/home/vagrant"
    docker_image_name: "nabla/ansible-zap"

Detailed usage guide

Describe how to use in more detail...

Authors and license

alban.andrieu.zap role was written by:

Feedback, bug-reports, requests, ...

Are welcome!


README generated by Ansigenome.

Docker Pull Command
Owner
nabla
Source Repository

Comments (0)