Skip to content

Commit

Permalink
fixing ds4drv install using pip and git URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Benvii committed Apr 17, 2022
1 parent e096b71 commit cce2236
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions ansible/roles/ps4-controller/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,13 @@
- name: activate rules
become: yes
command: udevadm trigger

- name: Clone the ds4drv repository in /home/pi
ansible.builtin.git:
repo: https://github.com/Benvii/ds4drv.git
dest: /home/pi/ds4drv
force: yes
single_branch: yes
version: 193_limit_simultaneous_controllers

- name: run setup.py
- name: Install ds4drv (version with controller limit)
become: no
command: /home/pi/venv/bin/python setup.py install
pip:
name: git+https://github.com/Benvii/ds4drv.git@193_limit_simultaneous_controllers
virtualenv: /home/pi/venv/
virtualenv_command: /usr/bin/python3 -m venv

- name: reload systemctl
become: yes
Expand Down

0 comments on commit cce2236

Please sign in to comment.