2016-03-01 14:14:12 +01:00
|
|
|
---
|
|
|
|
- name: Create the d4science user
|
|
|
|
user: name={{ d4science_user }} home={{ d4science_user_home }} createhome={{ d4science_user_create_home }} shell={{ d4science_user_shell }}
|
2016-11-10 14:04:14 +01:00
|
|
|
when: not gcore_multiple_users
|
2016-03-01 14:14:12 +01:00
|
|
|
tags: [ 'gcore', 'd4science', 'users' ]
|
|
|
|
|
2016-11-10 14:04:14 +01:00
|
|
|
- name: Create the d4science users
|
|
|
|
user: name={{ item }} home=/home/{{ item }} createhome={{ d4science_user_create_home }} shell={{ d4science_user_shell }}
|
|
|
|
with_items: '{{ gcore_users | default([]) }}'
|
|
|
|
when: gcore_multiple_users
|
|
|
|
tags: [ 'gcore', 'd4science', 'users' ]
|
2016-03-01 14:14:12 +01:00
|
|
|
|