From 6613c70446456e78fd5baa6f94f9ff6a5507c988 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Fri, 23 Oct 2020 10:17:12 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Add=20user=20with=20legacy=20hash=20(?= =?UTF-8?q?$2a=E2=80=A6)=20instead=20of=20current=20hash=20($2b=E2=80=A6)?= =?UTF-8?q?=20for=20OpenBSD=20versions=20older=20than=205.7"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4012a014ce21b8b4dbf7c2f044ab21e5175680db. Versions older than 5.7 are … old. We do not handle versions that old. --- roles/accounts/tasks/user.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/roles/accounts/tasks/user.yml b/roles/accounts/tasks/user.yml index 8964b0f..b0965f9 100644 --- a/roles/accounts/tasks/user.yml +++ b/roles/accounts/tasks/user.yml @@ -5,20 +5,6 @@ name: "{{ user.name }}" 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" user: state: present @@ -29,7 +15,6 @@ groups: wheel shell: /bin/ksh append: true - when: ansible_distribution_version is version_compare("5.7",'>=') tags: - admin