Compare commits

...

2 Commits

Author SHA1 Message Date
Przemek Grondek
16ffbf069f Fix st emoji 2022-07-25 21:42:16 +02:00
Przemek Grondek
a51cb3f5d8 Add tasks for making asusctl and superfgxctl 2022-07-25 21:41:37 +02:00
6 changed files with 87 additions and 11 deletions

View File

@ -1,15 +1,16 @@
---
- hosts: localhost
roles:
- dwm
- ubuntu
- firefox
- docker
- dotfiles
- java
- jetbrains
- compton
# - dwm
# - ubuntu
# - firefox
# - docker
# - dotfiles
# - java
# - jetbrains
# - compton
- signal
- virtual
- lutris
- prusa-slicer
# - virtual
# - lutris
# - prusa-slicer
# - laptop

View File

@ -7,6 +7,7 @@
- git
- make
- fonts-firacode
- fonts-symbola
- libharfbuzz-dev
- name: create src dir

View File

@ -0,0 +1,33 @@
- name: install required packages for asusctl
become: yes
apt:
update_cache: yes
pkg:
- rust-all
- libclang-dev
- libudev-dev
- make
- name: checkout asusctl repo
git:
repo: "{{ asusctl.repo }}"
dest: "{{ ansible_user_dir }}/src/asusctl"
clone: yes
update: yes
- name: build asusctl
make:
chdir: "{{ ansible_user_dir }}/src/asusctl"
- name: install asusctl
become: yes
make:
chdir: "{{ ansible_user_dir }}/src/asusctl"
target: install
- name: "Enable service"
ansible.builtin.systemd:
become: yes
name: asusctl
state: started
enabled: yes

View File

@ -1 +1,5 @@
- import_tasks: battery.yml
- import_tasks: asusctl.yml
- import_tasks: supergfxctl.yml

View File

@ -0,0 +1,33 @@
- name: install required packages for supergfxctl
become: yes
apt:
update_cache: yes
pkg:
- curl
- git
- build-essential
- make
- name: checkout supergfxctl repo
git:
repo: "{{ asusctl.repo }}"
dest: "{{ ansible_user_dir }}/src/supergfxctl"
clone: yes
update: yes
- name: build asusctl
make:
chdir: "{{ ansible_user_dir }}/src/supergfxctl"
- name: install asusctl
become: yes
make:
chdir: "{{ ansible_user_dir }}/src/supergfxctl"
target: install
- name: "Enable service"
ansible.builtin.systemd:
become: yes
name: asusctl
state: started
enabled: yes

View File

@ -0,0 +1,4 @@
asusctl:
repo: https://gitlab.com/asus-linux/asusctl.git
supergfxctl:
repo: https://gitlab.com/asus-linux/supergfxctl.git