evolinux-users: convert uid to string
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2021-05-10 07:42:19 +02:00 committed by Jérémy Lecour
parent d823c8116a
commit 9b2a3a6db2
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@
- fail:
msg: "You must provide a value for the 'user.name ' variable."
when: user.name is not defined or user.name | length == 0
when: (user.name is not defined) or (user.name | length == 0)
- fail:
msg: "You must provide a value for the 'user.uid ' variable."
when: user.uid is not defined or user.uid | length == 0
when: (user.uid is not defined) or (user.uid | string | length == 0)
- name: "Test if '{{ user.name }}' exists"
command: 'id -u "{{ user.name }}"'