diff --git a/lxc_createuser.yml b/lxc_createuser.yml index 4ff008e..9879ad5 100644 --- a/lxc_createuser.yml +++ b/lxc_createuser.yml @@ -7,7 +7,10 @@ - name: Add user torsten user: name: "{{USR}}" + shell: /bin/bash state: present update_password: always groups: sudo + group: users + append: true password: "{{ PW | password_hash('sha512') }}"