diff options
author | Nick White <git@njw.name> | 2019-01-05 01:57:42 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-01-05 01:57:42 +0000 |
commit | 6e4d1eb45e7ef933b804d8ab76ac1e37ba4fb076 (patch) | |
tree | e0cede0500a23a38c13d7b301ac2596bc4413b2d | |
parent | ef33895fef7ef1962973f3742c19b57ca6d21140 (diff) |
Separate out roles and groups better
-rw-r--r-- | hosts | 5 | ||||
-rw-r--r-- | roles/server/tasks/main.yml | 2 | ||||
-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.yml | 13 |
6 files changed, 16 insertions, 5 deletions
@@ -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 @@ -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 |