---
- block:
- name: Create a user for the Nexus OSS service
user: name={{ nexus_user }} home=/dev/null createhome=no shell=/usr/sbin/nologin system=yes
tags: [ 'nexus', 'nexus_oss' ]