example config in documentation is: ``` chpasswd: list: - user1:password1 - user2:Random - user3:password3 - user4:R ``` but cc_set_passwords fails with config above (LP#1665694)
Actually testcase for the module uses multiline string https://git.launchpad.net/cloud-init/tree/tests/cloud_tests/configs/modules/set_password_list.yaml#n21 and therefore documentation should contain: ``` chpasswd: list: | tom:mypassword123! dick:R harry:Random
example config in documentation is:
```
chpasswd:
list:
- user1:password1
- user2:Random
- user3:password3
- user4:R
```
but cc_set_passwords fails with config above (LP#1665694)
Actually testcase for the module uses multiline string https:/ /git.launchpad. net/cloud- init/tree/ tests/cloud_ tests/configs/ modules/ set_password_ list.yaml# n21 mypassword123!
and therefore documentation should contain:
```
chpasswd:
list: |
tom:
dick:R
harry:Random