Sha256: aea9a9a09dff1d25b70615bbeb0e10ac3c5615dfe5ff36e8598004527d242abf

Contents?: true

Size: 955 Bytes

Versions: 2

Compression:

Stored size: 955 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|

  config.vm.box = "ubuntu/bionic64"
  # config.vm.network "forwarded_port", guest: 9090, host: 9090 # prometheus
  # config.vm.network "forwarded_port", guest: 9091, host: 9091 # pushgateway
  # config.vm.network "forwarded_port", guest: 9093, host: 9093 # alertmanager
  # config.vm.network "forwarded_port", guest: 6379, host: 6379 # redis
  # config.vm.network "forwarded_port", guest: 5672, host: 5672 # rabbitmq
  config.vm.hostname = "omicron"
  config.vm.provider "virtualbox" do |vb|
    vb.memory = "1024"
  end

  config.vm.provision "shell", inline: <<-SHELL
     sudo apt-get update
     sudo apt-add-repository --yes --update ppa:ansible/ansible
     apt-get install -y git ansible
     git clone https://github.com/Ultragreen/prometheus-splash.git
     cd prometheus-splash/templates/ansible-splash
     ansible-playbook -i inventory.dev deploy.yml

   SHELL
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prometheus-splash-0.4.5 templates/ansible-splash/Vagrantfile
prometheus-splash-0.4.4 templates/ansible-splash/Vagrantfile