Hi,
i found some problems:
https://github.com/fullyint/trellis/blob/known-hosts/roles/common/tasks/main.yml
- name: Add known_hosts
known_hosts:
name: "{{ item.name }}"
key: "{{ item.key | default(omit) }}"
path: "{{ item.path | default('/home/' + web_user + '/.ssh/known_hosts') }}"
state: "{{ item.state | default('present') }}"
with_items: known_hosts | default([])
tags: known-hosts
If you provision the server you will get an error if the web_user doesn’t exist.
So it will be better to add this line after the roles/users Task.
I’m gonna test the deploy then.
Regards Kevin