Hello,
I have an issue when trying to deploy to Digital Ocean, provision worked extremely fine but when I try to deploy using: ./bin/deploy.sh production website.com
I receive the following error:
The task includes an option with an undefined variable. The error was:
'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'name'
The error appears to have been in '/Users/Filippo/Desktop/Apps-
sudo/rivoltafilippo.com/trellis/roles/deploy/tasks/update.yml': line 8,
column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Add known_hosts
^ here
fatal: [67.207.78.148]: FAILED! => {}
I am running Ubuntu 18.04 on the production server. Is it a known issue, what am I missing?
Edit: If you need further infos or explaination, please ask.
Thank you.
F.