SmartHome Server deployment setup
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
roles
templates
.gitignore
Vagrantfile
readme.md
server.ini
server.yml
vault.sh

readme.md

Smartserver

This project contains my complete automated IoT Server deployment setup.

http://www.intranet-of-things.com/smarthome/infrastructure/server/setup/

Requirements

just install vagrant and run:

vagrant up

this deploys a test machine running inside virtual box.

to deploy a environment similar to my production system run:

vagrant up develop

But this depends on some encrypted vagrant vault files. :-)

You can also use the contained ansible files directly.

# run everything in production
ansible-playbook -i server.ini -l production --ask-vault-pass server.yml

# run everything in production except vault depending tasks
ansible-playbook -i server.ini -l production server.yml

# run nextcloud in production
ansible-playbook -i server.ini -l production --tags "nextcloud" --ask-vault-pass  server.yml

# run nextcloud in production without vault depending tasks
ansible-playbook -i server.ini -l production --tags "nextcloud"  server.yml


# run everything in staging
ansible-playbook -i server.ini -l develop --ask-vault-pass server.yml

# run everything in staging except vault depending tasks
ansible-playbook -i server.ini -l develop server.yml

# run nextcloud in staging
ansible-playbook -i server.ini -l develop --tags "nextcloud" --ask-vault-pass  server.yml

# run nextcloud in staging without vault depending tasks
ansible-playbook -i server.ini -l develop --tags "nextcloud"  server.yml


# run everything in test environment
ansible-playbook -i server.ini -l test server.yml