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:
Andrea Dell'Amico 2017-05-16 17:57:23 +02:00
parent 3199eb7262
commit c0f6aa7ac7
1 changed files with 1 additions and 0 deletions

View File

@ -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