forked from ISTI-ansible-roles/ansible-roles
library/roles/dnet_user_services_perms/tasks/dnet-groups.yml: Do not create the dnet user if it's used to run tomcat.
This commit is contained in:
parent
3199eb7262
commit
c0f6aa7ac7
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Create the dnet user, if it is not used to run the tomcat instances
|
||||
user: name={{ dnet_user }} home={{ dnet_data_directory }} createhome=no shell=/bin/false
|
||||
when: dnet_user != dnet_tomcat_user
|
||||
tags: [ 'dnet', 'users' ]
|
||||
|
||||
- name: Add the dnet groups, if it does not exist already
|
||||
|
|
Loading…
Reference in New Issue