warhorse.gophish_docker
Ansible Gophish (Docker)
Install Gophish (Docker)
This role is part of the Warhorse Automation Framework and can be used with Warhorse or as an independent role.
Docker Image
Role Variables
You can find a list of all the variables in ./defaults/main.yml
.
gophish_dir
: Directory for the Gophish containergophish_docker_version
: Version of the Gophish imagegophish_ports
: Ports used by the Gophish containergophish_hostname
: Hostname for the Gophish containergophish_container_name
: Name of the Gophish containergophish_docker_image
: Gophish Docker imagegophish_docker_network
: Docker network for the Gophish container
Dependencies
To install required dependencies, run:
ansible-galaxy install geerlingguy.docker geerlingguy.pip
Install
To install the Gophish role, run:
ansible-galaxy install warhorse.gophish_docker
Example Playbook
Here’s how to use this role in an Ansible playbook:
- hosts: servers
roles:
- { role: warhorse.gophish_docker }
Example Variables
Here is an example of how to set variables:
gophish_hostname: "gophish"
gophish_container_name: "gophish"
gophish_docker_version: "latest"
gophish_docker_labels: {}
gophish_docker_network: "gophish"
gophish_dir: '/opt/docker/gophish'
gophish_ports:
- "80:80"
- "443:443"
License
This project is licensed under MIT/BSD.
Author Information
Ralph May