Install Nighthawk (Docker)
This role is part of the Warhorse Automation Framework. This role can be used with Warhorse or as a standalone role.
Built in docker image.
A list of all the variables can be found in ./defaults/main.yml.
nighthawk_dir
- Nighthawk container directory
nighthawk_ports
- Nighthawk container ports
nighthawk_hostname
- Nighthawk container hostname
nighthawk_container_name
- Nighthawk container name
nighthawk_username
- Nighthawk username
nighthawk_password
- Nighthawk password
nighthawk_campaign
- Nighthawk campaign name
nighthawk_host
- Nighthawk host IP
nighthawk_port
- Nighthawk API Service port
nighthawk_zip
- Nighthawk source zip file
nighthawk_docker_network
Nighthawk container docker network
ansible-galaxy install geerlingguy.docker geerlingguy.pip
ansible-galaxy install warhorse.nighthawk_docker
- hosts: servers
roles:
- { role: warhorse.nighthawk_docker }
nighthawk_hostname: "nighthawk"
nighthawk_container_name: "nighthawk"
nighthawk_username: "operator"
nighthawk_password: "password"
nighthawk_docker_labels: {}
nighthawk_docker_network: "nighthawk"
nighthawk_dir: '/opt/docker/nighthawk'
nighthawk_campaign: "campaign"
nighthawk_zip: "nighthawk.zip"
nighthawk_ports:
- "127.0.0.1:8888:8888"
- "0.0.0.0:443:443"
- "0.0.0.0:80:80"
MIT/BSD
Ralph May