forked from ISTI-ansible-roles/ansible-roles
9 lines
443 B
YAML
9 lines
443 B
YAML
---
|
|
# Ignore errors because it fails if the user is already present and used to run a service.
|
|
- 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 }}
|
|
with_items: '{{ dnet_other_services_users }}'
|
|
when: dnet_other_services_users is defined
|
|
ignore_errors: True
|
|
tags: [ 'users', 'dnet' ]
|