Ansible playbooks for deploying frankenstack
- play_deploy_stack.yml - Primary playbook to orchestrate the correct deployment sequence of the entire stack
- play_basic_prep_vm.yml - Basic prep for VM (timezone, standard packages, disk, turn off swap, setup docker)
- play_basic_update_and_reboot.yml - Update all packages and reboot
- play_bootstrap_swarm.yml - Deploy and configure docker swarm
- play_bootstrap_vsphere.yml - Clone VMs and run post-deployment procedures (configure networking, etc.)
- play_deploy_nsm.yml - Deploy NSM tools (Moloch, Suricata)
- play_undeploy_vsphere.yml - Remove existing inventory VMs
You are inevitably going to have to define a whole bunch of variables that are specific to your organization, infrastucture and environment.
To name a few examples in our case:
- VMware URLs, credentials, directory structure, networks, datastore, etc.
- DNS for the stack
- Users, passwords, keys, hashes
- Optionally your known assets for NSM tagging
ansible-playbook -i inventory/yellow.ini play_deploy_stack.yml