avalanche_binary: "{{ repo_folder }}/build/avalanchego"
repo_folder: "~{{ ansible_user }}/go/src/github.com/ava-labs/avalanchego"
repo_name: ava-labs/avalanchego
repo_url: https://github.com/{{ repo_name }}
repo_branch: dev

avalanche_binary: "{{ repo_folder }}/build/avalanchego"
repo_folder: "~{{ ansible_facts.user_id }}/go/src/github.com/ava-labs/avalanchego"
repo_name: ava-labs/avalanchego
repo_url: https://github.com/{{ repo_name }}
repo_branch: dev

Use username from gathered facts for default build dir
ansible: Use username from gathered facts for default build dir

I've gone back and forth on how this default should be constructed. This
seems the least worst - the one that will work in most cases. The trade
offs are

ansible_facts.user_id
	the username when facts were gathered. Hoewver If `become: true`
	is set on the play then ansible_facts.user_id will be the same
	as become_user, not the user Ansible connected as as.

ansible_user
	the username Ansible was configured to connect (e.g. by
	`ansible_user=alice` in the inventory, or by
	`ansible-playbook --user bob`). However if not explicitly set,
	then ansible_username can be undefined in certain situations.

See
 - https://twitter.com/moreati/status/1298014748164919296
 - https://gist.github.com/moreati/36eb8d4143505d2e7ea641a61f00545c
