aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-09-10 11:51:31 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-09-10 11:51:31 +0200
commit0fe96ac17ae37ee50c582178986d5ab0688ac2a6 (patch)
tree30f59393e41c4ad37001713ff70252e4b54b3826
parent6edf91f1f39f218252d4a00ee3f62f3b5149df3a (diff)
Schema-update
-rw-r--r--ansible/roles/basics/tasks/main.yml3
-rw-r--r--build/schema.sql1
2 files changed, 1 insertions, 3 deletions
diff --git a/ansible/roles/basics/tasks/main.yml b/ansible/roles/basics/tasks/main.yml
index 80d2b9f..0497833 100644
--- a/ansible/roles/basics/tasks/main.yml
+++ b/ansible/roles/basics/tasks/main.yml
@@ -8,7 +8,6 @@
docker_image:
state: present
name: "{{ item.name }}"
- docker_api_version: 1.18
dockerfile: build/test/{{ item.name }}.Dockerfile
path: "{{ pwd.stdout }}"
with_items: "{{ images }}"
@@ -20,7 +19,6 @@
name: "{{ item.name }}"
state: stopped
image: "{{ item.name }}"
- docker_api_version: 1.18
stop_timeout: 2
with_items: "{{ images }}"
tags:
@@ -30,7 +28,6 @@
docker:
name: "{{ item.name }}"
image: "{{ item.name }}"
- docker_api_version: 1.18
state: started
net: bridge
ports: "{{ item.ports }}"
diff --git a/build/schema.sql b/build/schema.sql
index 9adc7ad..72158c5 100644
--- a/build/schema.sql
+++ b/build/schema.sql
@@ -309,6 +309,7 @@ CREATE TABLE switches (
mgmt_vlan integer DEFAULT 666,
traffic_vlan integer,
last_config_fetch timestamp with time zone,
+ tags jsonb,
current_mac macaddr
);