diff --git a/keep.kdbx b/keep.kdbx index 4a3321c..591bb86 100644 Binary files a/keep.kdbx and b/keep.kdbx differ diff --git a/setup.yml b/setup.yml index 2791810..a76d56d 100644 --- a/setup.yml +++ b/setup.yml @@ -26,13 +26,13 @@ - name: create account tags: lookup vars: - password: "{{ lookup( 'keepass', 'ansible shell', 'password') }}" - username: "{{ lookup( 'keepass', 'ansible shell', 'username') }}" + password: "{{ lookup( 'keepass', 'ansible', 'password') }}" + username: "{{ lookup( 'keepass', 'ansible', 'username') }}" user: name: "{{ username }}" password: "{{ password | password_hash('sha512',65534|random(seed=inventory_hostname) | string) }}" create_home: yes - home: /home/ansible + home: "/home/{{ username }}" - name: configure sudo copy: