diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index e566ffb..43c67f1 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -11,12 +11,15 @@ upgrade: safe update_cache: true - - name: Create User + - name: "Create User {{ username }}" ansible.builtin.user: name: "{{ username }}" groups: sudo create_home: true + - name: "Delete default password of {{ username }}" + ansible.builtin.shell: "passwd --delete {{ username }}" + - name: Clone user dotfiles ansible.builtin.git: repo: "https://github.com/{{ dotfiles_repo }}"