This playbook is an example and creats a CoreOS cluster with 3 nodes with a mongodb service and using an NFS share for persistent data.
- Crate a VM with NFS export.
- Create KVM virtual machines and note the IP addresses.
- Modify the entries in the host file (with the IP addresses).
- Enter:
ansible-playbook -i ./hosts ./cluster-setup.yml