evolinux-users: convert uid to string
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d823c8116a
commit
9b2a3a6db2
|
@ -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 }}"'
|
||||
|
|
Loading…
Reference in a new issue