This is a Vagrant environment which installs racktables for development purposes.
Right now this is work in progress and many things can change.
- tested with vagrant 1.9.7 and 2.0.1 with LXC and Libvirt provider
- vagrant box tested under Ubuntu 16.04 with Apache 2.4 and php-fpm 7.0
- REALLY dumb credentials, what did you expect from development setup? ;)
- ansible playbook uploads racktables app to virtual machine, does not use vagrant auto mounted directories
- locally installed Vagrant
- locally installed Ansible 2.2.1.x
- check out this repo to
vagrant-racktables
recursively:
git clone --recursive http://... vagrant-racktables
- Start up virtual machine:
vagrant up
- Go to web interface, fill in entries for user/pass, and to process creation of the racktables secret.php and db install.
- When requested by installer (in step 4) run vagrant provisioner to set permissions on secret.php
vagrant provision --provision-with=app
- Continue install finalization, it should redirect you to the login form
- Log in to application.
Delete vm with all data:
vagrant destroy -f
Wipe racktables secret.php without destroying vm:
ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -e racktables_reinstall=true play_racktables.yml
.. but notice that db scripts may fail.
See group_vars/
directory.