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