Release of EvoBSD 6.8.0 #37
|
@ -5,6 +5,20 @@
|
||||||
name: "{{ user.name }}"
|
name: "{{ user.name }}"
|
||||||
gid: "{{ user.uid }}"
|
gid: "{{ user.uid }}"
|
||||||
|
|
||||||
|
- name: "User '{{ user.name }}' is present with legacy hash"
|
||||||
|
user:
|
||||||
|
state: present
|
||||||
|
name: '{{ user.name }}'
|
||||||
|
uid: '{{ user.uid }}'
|
||||||
|
password: "{{ user.password_hash_openbsd_legacy }}"
|
||||||
|
group: "{{ user.name }}"
|
||||||
|
groups: wheel
|
||||||
|
shell: /bin/ksh
|
||||||
|
append: true
|
||||||
|
when: ansible_distribution_version is version_compare("5.7",'<')
|
||||||
|
tags:
|
||||||
|
- admin
|
||||||
|
|
||||||
- name: "User '{{ user.name }}' is present"
|
- name: "User '{{ user.name }}' is present"
|
||||||
user:
|
user:
|
||||||
state: present
|
state: present
|
||||||
|
@ -15,6 +29,7 @@
|
||||||
groups: wheel
|
groups: wheel
|
||||||
shell: /bin/ksh
|
shell: /bin/ksh
|
||||||
append: true
|
append: true
|
||||||
|
when: ansible_distribution_version is version_compare("5.7",'>=')
|
||||||
tags:
|
tags:
|
||||||
- admin
|
- admin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue