After updating ansible to 2.3.0.0, I get this error when trying to re-provision the staging server:
TASK [users : Fail if root login will be disabled but admin_user will not be a sudoer] ****************************************************************************************
ok: [staging.domain.tld] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [users : Setup users] ****************************************************************************************************************************************************
ok: [staging.domain.tld] => (item={u'keys': [u'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6rz5wD/ygV2u9vqv9fmFm41ShnZYpi8Kh/KTB/FmS+nJe54ALWAWb/NfR+Y93L9Pncm332SojeGz6SRyDGYB+/WPxIytxdLUb9OzPkENpAeF0UCnXUUzHKUh0S6AlEnYBM47SB5n41vbCbamaQpS+oP57snuZm5gWiuygE69geRhQeRtq9J5c0mR/cQThB7XsdZm3KLctjyTal0nCYlp+xBkIbSr+MX6mcn4viuMGjIbx/ddddddd/rPq7hJpgxP4ZY9/AMWLRhvztb+gGXcfOgGHbXjXJxXF3Gzh8DdbCpEFqnmOxa0ATfrVrYEiKXq87we2+EiB389TCsZ9 me@computer'], u'name': u'web', u'groups': [u'www-data']})
---------------------------------------------------
the field 'args' has an invalid value ([u'users']), and could not be
converted to an dict. Error was: salt too large (sha512_crypt requires <= 16
chars)
The error appears to have been in '/Volumes/AlexSD/github-
projects/domain.tld/trellis/roles/users/tasks/main.yml': line 31,
column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Setup users
^ here
I’m not sure what the problem is, does it requires me to change my ssh keys?
Update
if you are too facing the issue, a temporary solution is to fallback to ansible 2.2.1.0 )
sudo pip install ansible==2.2.1.0