System info:
Ansible 2.3.2.0; Darwin
Trellis at "Add Vagrant post up message"
Production deployment isn’t working anymore. It’s been at least a year since I have deployed.
Root account has been disabled for ssh and I believe the playbook is supposed to retry connecting as admin
but it isn’t.
I can modify line 13 of roles/remote-user/tasks/main.yml
:
from
ansible_user: "{{ root_status | default({'failed':false}) | success | ternary('root', admin_user) }}"
to
ansible_user: "{{ root_status | default({'failed':false}) | success | ternary('admin', admin_user) }}"
And get a connection, but I’m guessing that there’s a config elsewhere that needs to be addressed.