Provision dockerbox in Vagrant and setup network

This commit is contained in:
2020-06-23 21:59:47 -04:00
parent d276c3dc2b
commit c8b7821eb3
7 changed files with 51 additions and 11 deletions

11
dev/dockerbox.yml Normal file
View File

@@ -0,0 +1,11 @@
- name: Install Docker Box Server
hosts: all
become: true
vars_files:
- host_vars/dockerbox.yml
roles:
- ansible
- base
- docker
- jenkins
- prometheus

View File

@@ -0,0 +1,17 @@
# base
manage_network: false
network_type: static
ip_inter: eth1
ip_addr: 192.168.1.2/24
ip_gateway: 192.168.1.1
# docker
docker_user: vagrant
# jenkins
jenkins_version: 2.229
# prometheus
prom_name: prometheus
prom_version: latest
prom_targets: "['127.0.0.1', '127.0.0.1:9100']"