From c98efbfeb6671a20303d220cb059fc0e4452afda Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Mon, 8 May 2017 20:31:25 +0100
Subject: [PATCH] Additional GID/UIDs added for #6

---
 roles/discourse/tasks/main.yml | 55 ++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/roles/discourse/tasks/main.yml b/roles/discourse/tasks/main.yml
index 963c764..8cb220b 100644
--- a/roles/discourse/tasks/main.yml
+++ b/roles/discourse/tasks/main.yml
@@ -24,6 +24,61 @@
     owner: discourse
     group: discourse
 
+- name: ssl-cert group present for UID mappings
+  group:
+    name: ssl-cert
+    system: yes
+    state: present
+    gid: 111
+
+- name: postgres group present for UID mappings
+  group:
+    name: postgres
+    system: yes
+    state: present
+    gid: 112
+
+- name: postgres user persent for GID mappings
+  user:
+    name: postgres
+    system: yes
+    group: postgres
+    createhome: false
+    shell: /bin/false
+    uid: 107
+
+- name: haproxy group present for UID mappings
+  group:
+    name: haproxy
+    system: yes
+    state: present
+    gid: 113
+
+- name: haproxy user persent for GID mappings
+  user:
+    name: haproxy
+    system: yes
+    group: haproxy
+    createhome: false
+    shell: /bin/false
+    uid: 108
+
+- name: redis group present for UID mappings
+  group:
+    name: redis
+    system: yes
+    state: present
+    gid: 113
+
+- name: redis user persent for GID mappings
+  user:
+    name: redis 
+    system: yes
+    group: redis 
+    createhome: false
+    shell: /bin/false
+    uid: 108
+
 - name: Discourse checked out
   git:
     repo: https://github.com/discourse/discourse_docker.git
-- 
GitLab