2015-10-07 17:01:22 +02:00
|
|
|
---
|
2016-02-02 17:40:01 +01:00
|
|
|
# Ignore errors because it fails if the user is already present and used to run a service.
|
2015-10-07 17:01:22 +02:00
|
|
|
- name: Create users needed to operate services other than the dnet ones
|
|
|
|
user: name={{ item.user }} comment="{{ item.user }}" home={{ item.home }} createhome={{ item.createhome }} shell={{ item.shell }}
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_other_services_users }}'
|
2015-10-07 17:01:22 +02:00
|
|
|
when: dnet_other_services_users is defined
|
2016-02-02 17:40:01 +01:00
|
|
|
ignore_errors: True
|
2015-10-07 17:01:22 +02:00
|
|
|
tags: [ 'users', 'dnet' ]
|