From 65657b8b16bb86673e979192b3ecc6e76ba33fc2 Mon Sep 17 00:00:00 2001 From: AntonyGowland <36728441+AntonyGowland@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:15:40 +0000 Subject: [PATCH] enable the tibco user --- ansible/roles/ndh-ems/tasks/main.yml | 6 +++--- ansible/roles/ndh-ems/tasks/user.yml | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ansible/roles/ndh-ems/tasks/main.yml b/ansible/roles/ndh-ems/tasks/main.yml index eabf40521..241ebb657 100644 --- a/ansible/roles/ndh-ems/tasks/main.yml +++ b/ansible/roles/ndh-ems/tasks/main.yml @@ -19,9 +19,9 @@ tags: - amibuild -#- import_tasks: user.yml -# tags: -# - amibuild +- import_tasks: user.yml + tags: + - amibuild - import_tasks: prereqs.yml tags: diff --git a/ansible/roles/ndh-ems/tasks/user.yml b/ansible/roles/ndh-ems/tasks/user.yml index 340bb4f18..9315bce75 100644 --- a/ansible/roles/ndh-ems/tasks/user.yml +++ b/ansible/roles/ndh-ems/tasks/user.yml @@ -3,15 +3,16 @@ - name: create tibco group ansible.builtin.group: name: tibco - gid: 10002 state: present # create tibco user - name: create tibco user ansible.builtin.user: name: tibco - uid: 10002 state: present - groups: tibco + groups: + - tibco + - wheel create_home: true home: "/opt/tibco" + append: yes