Skip to content

Commit

Permalink
Add initial device aslMyluz
Browse files Browse the repository at this point in the history
  • Loading branch information
Akipe committed Aug 25, 2021
1 parent 0f9c704 commit 077abe2
Show file tree
Hide file tree
Showing 7 changed files with 194 additions and 29 deletions.
160 changes: 160 additions & 0 deletions aslMyluz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
---

- name: Load specific roles for astMyluz
hosts: astMyluz
remote_user: root
become: yes
pre_tasks:
- ansible.builtin.include_role:
name: ansible-guest
tags:
- always
post_tasks:
- ansible.builtin.include_role:
name: aur-cli-clean
tags:
- always
roles:
### Base
- { role: ssh, tags: ssh }
### Package manager
- { role: makepkg, tags: makepkg }
- { role: aur-cli, tags: aur-cli }
- { role: pacman, tags: pacman }
### Hardware init
- { role: microcode, tags: microcode }
### Boot
- { role: dm-crypt, tags: dm-crypt }
- { role: refind, tags: refind }
### System
- { role: bash, tags: bash }
- { role: fish, tags: fish }
- { role: tpm2, tags: tpm2 }
- { role: rngd, tags: rngd }
- { role: systemd-resolved, tags: systemd-resolved }
- { role: systemd-timesyncd, tags: systemd-timesyncd }
- { role: avahi, tags: avahi }
- { role: host, tags: host }
- { role: earlyoom, tags: earlyoom }
- { role: systemd-zram-generator, tags: systemd-zram-generator }
- { role: user, tags: user }
- { role: locale, tags: locale }
- { role: sudo, tags: sudo }
- { role: btrfs, tags: btrfs }
- { role: swap, tags: swap }
- { role: mkinitcpio, tags: mkinitcpio }
- { role: linux-kernel, tags: linux-kernel }
- { role: auditd, tags: auditd }
- { role: firewalld, tags: firewalld }
# - { role: apparmor, tags: apparmor }
- { role: tlp, tags: tlp }
- { role: powertop, tags: powertop }
- { role: thermald, tags: thermald }
- { role: irqbalance, tags: irqbalance }
- { role: preload, tags: preload }
- { role: flatpak, tags: flatpak }
- { role: snap, tags: snap }
- { role: fwupd, tags: fwupd }
# - { role: snapper, tags: snapper }
### Hardware
- { role: intelgraphics, tags: intelgraphics }
- { role: networkmanager, tags: networkmanager }
- { role: libinput, tags: libinput }
- { role: watchdog, vars: { watchdog_activate: no}, tags: watchdog }
- { role: android-client, tags: android-client }
- { role: pipewire, tags: pipewire }
- { role: lm_sensors, tags: lm_sensors }
- { role: bluetooth, tags: bluetooth }
### Desktop environment
- { role: sddm, tags: sddm }
- { role: kde, tags: kde }
- { role: wayland, tags: wayland }
- { role: wl-clipboard, tags: wl-clipboard }
### KDE extensions
- { role: plasma-applet-thermal-monitor, tags: plasma-applet-thermal-monitor }
- { role: plasma-applet-active-window-control, tags: plasma-applet-active-window-control }
- { role: plasma-applets-window-buttons, tags: plasma-applets-window-buttons }
### General support
- { role: filesystem-support, tags: filesystem-support }
- { role: format-support, tags: format-support }
- { role: fonts-support, tags: fonts-support }
### CLI apps
- { role: man-page, tags: man-page }
- { role: yubikey, tags: yubikey }
- { role: gnupg, tags: gnupg }
- { role: git, tags: git }
- { role: smb-client, tags: smb-client }
- { role: hwdetect, tags: hwdetect }
- { role: wget, tags: wget }
- { role: trash-cli, tags: trash-cli }
- { role: top-utils, tags: top-utils }
- { role: tmux, tags: tmux }
- { role: rsync, tags: rsync }
- { role: neovim, tags: neovim }
- { role: lsb-release, tags: lsb-release }
- { role: curl, tags: curl }
- { role: bpytop, tags: bpytop }
- { role: tree, tags: tree }
- { role: hwinfo, tags: hwinfo }
- { role: dmidecode, tags: dmidecode }
- { role: neofetch, tags: neofetch }
### GUI apps
- { role: aur-gui, tags: aur-gui }
- { role: vlc, tags: vlc }
- { role: libreoffice, tags: libreoffice }
- { role: smb4k, tags: smb4k }
- { role: syncthing-cli, tags: syncthing }
- { role: syncthing-gui-kde, tags: syncthing }
- { role: profile-sync-daemon, tags: profile-sync-daemon }
- { role: virtualbox-host, tags: virtualbox-host }
- { role: mpv, tags: mpv }
- { role: dvdbackup, tags: dvdbackup }
- { role: firefox, tags: firefox }
- { role: thunderbird, tags: thunderbird }
- { role: chromium, tags: chromium }
- { role: keepassxc, tags: keepassxc }
- { role: vscode, tags: vscode }
- { role: filesystem-support, tags: filesystem-support }
- { role: format-support, tags: format-support }
- { role: fonts-support, tags: fonts-support }
- { role: hplip, tags: hplip }
- { role: gimp, tags: gimp }
- { role: inkscape, tags: inkscape }
- { role: handbrake, tags: handbrake }
- { role: obs-studio, tags: obs-studio }
- { role: scribus, tags: scribus }
- { role: qbittorrent, tags: qbittorrent }
- { role: pcmanfm, tags: pcmanfm }
- { role: wireshark, tags: wireshark }
- { role: discord, tags: discord }
- { role: etcher, tags: etcher }
- { role: gnome-disk-utility, tags: gnome-disk-utility }
- { role: gnome-multi-writer, tags: gnome-multi-writer }
- { role: signal-desktop, tags: signal-desktop }
- { role: skype, tags: skype }
- { role: spotify, tags: spotify }
- { role: teamviewer, tags: teamviewer }
- { role: telegram, tags: telegram }
- { role: woeusb-ng, tags: woeusb-ng }
- { role: neochat, tags: neochat }
### Overclock/undervolt
- { role: amdctl, tags: amdctl }
- { role: stress, tags: stress }
- { role: mprime, tags: mprime }
- { role: cpupower, tags: cpupower }
- { role: turbostat, tags: turbostat }
### Gaming
- { role: gamemode, tags: gamemode }
- { role: steam, tags: steam }
- { role: wine, tags: wine }
- { role: dosbox, tags: dosbox }
- { role: itch-io, tags: itch-io }
- { role: epic-games-legendary, tags: epic-games-legendary }
- { role: gog-wyvern, tags: gog-wyvern }
- { role: lutris, tags: lutris }
### Development
- { role: ansible-host, tags: ansible-host }
- { role: docker, tags: docker }
- { role: terraform, tags: terraform }


16 changes: 16 additions & 0 deletions aslMyluz_init.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
- name: Load roles for initialize astMyluz
hosts: astMyluz
become_user: root
become: yes
vars:
ansible_ssh_pass: "{{ vault_ansible_become_pass }}"
pre_tasks:
- ansible.builtin.include_role:
name: ansible-guest
tags:
- always
roles:
- { role: ssh }
- { role: makepkg, tags: makepkg }
- { role: pacman, tags: pacman }
4 changes: 2 additions & 2 deletions aslTiny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
### Desktop environment
- { role: sddm, tags: sddm }
- { role: kde, tags: kde }
#- { role: wayland, tags: wayland }
#- { role: wl-clipboard, tags: wl-clipboard }
- { role: wayland, tags: wayland }
- { role: wl-clipboard, tags: wl-clipboard }
### KDE extensions
- { role: plasma-applet-thermal-monitor, tags: plasma-applet-thermal-monitor }
- { role: plasma-applet-active-window-control, tags: plasma-applet-active-window-control }
Expand Down
2 changes: 1 addition & 1 deletion roles/services/nvidia/tasks/archlinux/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

- name: Install driver
community.general.pacman:
name: "{{ nvidia_app_base_archlinux }}"
name: nvidia-dkms
state: present
16 changes: 14 additions & 2 deletions roles/services/nvidia/tasks/archlinux_common/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,24 @@

- name: Install driver
community.general.pacman:
name: "{{ nvidia_app_base_archlinux_common }}"
name:
- nvidia-utils
- opencl-nvidia
- ocl-icd
- cuda
- lib32-nvidia-utils
- lib32-opencl-nvidia
- lib32-ocl-icd
state: present

- name: Install GPU decoding libraries
community.general.pacman:
name: "{{ nvidia_app_video_archlinux_common }}"
name:
- libvdpau
- libva-vdpau-driver
- libva-utils
- vdpauinfo
- lib32-libva-vdpau-driver
state: present

- name: Configure Pacman hook for update initramfs after an NVIDIA driver upgrade
Expand Down
2 changes: 1 addition & 1 deletion roles/services/nvidia/tasks/manjaro/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

- name: Install driver
community.general.pacman:
name: "{{ nvidia_app_base_manjaro }}"
name: linux54-nvidia-450xx
state: present
23 changes: 0 additions & 23 deletions roles/services/nvidia/vars/main.yml

This file was deleted.

0 comments on commit 077abe2

Please sign in to comment.