yusefnapora / pixelbook-linux

257 stars 50 forks source link

Debian 10 Buster issue #29

Closed d3acon15 closed 4 years ago

d3acon15 commented 4 years ago

Running the ./run-ansible.sh script and recieving the following error.

./run-ansible.sh --limit @/home/cfuller/pixelbook-linux/ansible/playbook.retry installing configuration with ansible. this may take a little while. please enter your password when prompted. SUDO password: What keycode do you want the Search key to send? (see ansible/keycodes.txt) [leftmeta]: What keycode do you want the Assistant key to send? (see ansible/keycodes.txt) [rightmeta]:

PLAY [all] *****

TASK [Gathering Facts] ***** ok: [localhost]

TASK [Install pre-requisites] **

TASK [common : install OS packages] **** fatal: [localhost]: FAILED! => {"reason": "Unable to retrieve file contents\nCould not find or access '/home/cfuller/pixelbook-linux/ansible/packages-Debian.yml' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"} to retry, use: --limit @/home/cfuller/pixelbook-linux/ansible/playbook.retry

PLAY RECAP ***** localhost : ok=1 changed=0 unreachable=0 failed=1

Can this work on Debian based on what you need to run git and python I thought this was a slamdunk.

d3acon15 commented 4 years ago

Well not hearing any response I solved my own problem. To Run Debian 10 Buster do the following; Edit ansible/roles/common/tasks/main.yml and change {{ ansible_distribution }} to Ubuntu it should read as follows include_tasks: "packages-Ubuntu.yml"

Also you are going to get an error for missing /etc/libinput so also create the directory with the following command => sudo mkdir /etc/libinput

Cheers!