Compartmentalized Install - scottgoetz/ansible GitHub Wiki
Generate SSH Keys and password hash for unprivileged user
Review all playbooks and update variables with current info on hand (SSH key location, password hash, whitelist IPs, etc.)
Run secureSetup.yml on Core Server (server that GoPhish is installed on), Web Redirector, and Mail Server
Setup DNS records. Due to the nature of how letsencrypt is configured to generate the SSL cert when using sub domains, each sub domain A record should initially point to the Web Redirector IP address. Otherwise, letsencrypt will throw an error.
Update and verify webRedirector.yml variables
Run webRedirector.yml on Web Redirector
Update and verify mailServer.yml variables
Run mailServer.yml on Mail Server
Configure DNS records using info generated from mailServer.yml
Configure GoPhish before building
Update and verify GoPhish.yml/GhostPhish.yml variables