Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
I managed to circumvent this problem by explicitly converting the AnsibleVaultEncryptedUnicode object into a string using the string filter: - name: Create user ansible.builtin.user: ...
#1: Initial revision
I managed to circumvent this problem by explicitly converting the `AnsibleVaultEncryptedUnicode` object into a string using the `string` filter:
```yaml
- name: Create user
ansible.builtin.user:
name: username
comment: "Some User"
password: "{{ user_password | string | password_hash('sha512', 'salt') }}"
update_password: always
group: username
state: present
shell: /bin/bash
```
