chia-infra-matic/chia-playbook

git not installed

Opened this issue · 1 comments

Describe the bug
When using ubuntu 20.04 lxc container images, git is not installed by default

To Reproduce
Steps to reproduce the behavior:

  1. create lxc container
  2. execute plabook

Expected behavior
Plabook runs

Desktop (please complete the following information):

  • OS: ubuntu 20.04

Additional context

fatal: [192.168.120.106]: FAILED! => {"changed": false, "msg": "Failed to find required executable git in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}

Make sure everything needed is installed, even if you expect it to already be installed

Hello @speedmann! Thanks for your input. May I ask you to test the changes I'm proposing in https://github.com/chia-infra-matic/chia-playbook/tree/git-not-installed-%239 ?
Just in case, when cloning the repo, use: git clone --branch "git-not-installed-#9" https://github.com/chia-infra-matic/chia-playbook.git
I've already tested in my environment. But I will wait for your feedback to PR to main.
Let me know if you have any doubt.

Thanks!