ansible-desktop/roles/laptop/tasks/supergfxctl.yml
2023-04-24 04:04:17 +02:00

27 lines
533 B
YAML

- name: install required packages for supergfxctl
become: yes
apt:
update_cache: yes
pkg:
- curl
- git
- build-essential
- make
- name: checkout supergfxctl repo
git:
repo: "{{ supergfxctl.repo }}"
dest: "{{ ansible_user_dir }}/src/supergfxctl"
clone: yes
update: yes
- name: build supergfxctl
make:
chdir: "{{ ansible_user_dir }}/src/supergfxctl"
- name: install supergfxctl
become: yes
make:
chdir: "{{ ansible_user_dir }}/src/supergfxctl"
target: install