From 324dfb12e21c9e83ed07113a1319860c4727b460 Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Thu, 22 Aug 2019 13:08:20 +1000 Subject: [PATCH] ITOPS-2059 specifying to manually create the group as well so that gids can be predictable if uid is <=1000 --- roles/linux_common/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/linux_common/tasks/main.yml b/roles/linux_common/tasks/main.yml index 8ea4b52..bfd899f 100644 --- a/roles/linux_common/tasks/main.yml +++ b/roles/linux_common/tasks/main.yml @@ -15,8 +15,14 @@ - fontconfig - python-psycopg2 +- name: Create product group + group: + name: "{{ atl_product_user }}" + gid: "{{ atl_product_user_uid }}" + - name: Create product user user: name: "{{ atl_product_user }}" uid: "{{ atl_product_user_uid }}" - comment: "Product runtime user" + group: "{{ atl_product_user }}" + comment: "Product runtime user" \ No newline at end of file