ansible-desktop/roles/laptop/tasks/supergfxctl.yml

27 lines
518 B
YAML
Raw Normal View History

- name: install required packages for supergfxctl
become: yes
apt:
update_cache: yes
pkg:
- curl
- git
- build-essential
- make
- name: checkout supergfxctl repo
git:
2023-04-24 02:04:17 +00:00
repo: "{{ supergfxctl.repo }}"
dest: "{{ desktop_src_dir }}/supergfxctl"
clone: yes
update: yes
2023-04-24 02:04:17 +00:00
- name: build supergfxctl
make:
chdir: "{{ desktop_src_dir }}/supergfxctl"
2023-04-24 02:04:17 +00:00
- name: install supergfxctl
become: yes
make:
chdir: "{{ desktop_src_dir }}/supergfxctl"
target: install