ansible-desktop/roles/laptop/tasks/supergfxctl-build.yml
2023-08-26 23:57:26 +02:00

25 lines
510 B
YAML

- name: install required packages for supergfxctl
become: yes
apt:
update_cache: yes
pkg:
- curl
when: ansible_distribution == "Ubuntu"
- name: checkout supergfxctl repo
git:
repo: "{{ supergfxctl.repo }}"
dest: "{{ desktop_src_dir }}/supergfxctl"
clone: yes
update: yes
- name: build supergfxctl
make:
chdir: "{{ desktop_src_dir }}/supergfxctl"
- name: install supergfxctl
become: yes
make:
chdir: "{{ desktop_src_dir }}/supergfxctl"
target: install