refactor ansible scripts for contabo vps
This commit is contained in:
parent
6dad4a33a1
commit
ff738fdd8f
6 changed files with 28 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
- name: Erstelle einen neuen User mit Sudo-Rechten
|
||||
user:
|
||||
name: "{{ user_name }}"
|
||||
password: "{{ lookup('pipe', 'op read \"op://' + op_password_path + '\"') | password_hash('sha512') }}"
|
||||
password: "{{ lookup('pipe', 'op read \"op://' + op_password_path + '\"') }}"
|
||||
state: present
|
||||
shell: /bin/bash
|
||||
groups: wheel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue