summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts5
-rw-r--r--roles/server/tasks/main.yml2
-rw-r--r--roles/server/tasks/update.yml (renamed from roles/devami/tasks/update.yml)0
-rw-r--r--roles/tesseractor/tasks/main.yml (renamed from roles/devami/tasks/main.yml)1
-rw-r--r--roles/tesseractor/tasks/tesseract.yml (renamed from roles/devami/tasks/tesseract.yml)0
-rw-r--r--site.yml13
6 files changed, 16 insertions, 5 deletions
diff --git a/hosts b/hosts
index a73c7f2..8403e20 100644
--- a/hosts
+++ b/hosts
@@ -1,2 +1,5 @@
-[devami]
+[servers]
+devami1
+
+[tesseractors]
devami1
diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml
new file mode 100644
index 0000000..41d30cb
--- /dev/null
+++ b/roles/server/tasks/main.yml
@@ -0,0 +1,2 @@
+---
+- include: update.yml
diff --git a/roles/devami/tasks/update.yml b/roles/server/tasks/update.yml
index 99e0dcd..99e0dcd 100644
--- a/roles/devami/tasks/update.yml
+++ b/roles/server/tasks/update.yml
diff --git a/roles/devami/tasks/main.yml b/roles/tesseractor/tasks/main.yml
index cf0a946..48f791f 100644
--- a/roles/devami/tasks/main.yml
+++ b/roles/tesseractor/tasks/main.yml
@@ -1,3 +1,2 @@
---
-- include: update.yml
- include: tesseract.yml
diff --git a/roles/devami/tasks/tesseract.yml b/roles/tesseractor/tasks/tesseract.yml
index 5e04296..5e04296 100644
--- a/roles/devami/tasks/tesseract.yml
+++ b/roles/tesseractor/tasks/tesseract.yml
diff --git a/site.yml b/site.yml
index 2261621..45289f3 100644
--- a/site.yml
+++ b/site.yml
@@ -1,8 +1,15 @@
---
-- name: Configure devami servers
- hosts: devami
+- name: Configure servers
+ hosts: servers
become: yes
roles:
- - devami
+ - server
+
+- name: Configure servers for Tesseract
+ hosts: tesseractors
+ become: yes
+
+ roles:
+ - tesseractor