mirror of
https://gitlab.com/KKlochko/system-config.git
synced 2026-10-31 15:38:08 +00:00
Added basic modules.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
- name: Install awesome wm
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- awesome
|
||||
- awesome-extra
|
||||
|
||||
- name: Clone awesome wm config repo
|
||||
git:
|
||||
repo: https://gitlab.com/KKlochko/awesome-wm-config/
|
||||
dest: "/home/{{ username }}/.repos/awesome-wm-config/"
|
||||
clone: yes
|
||||
recursive: yes
|
||||
|
||||
- name: Create a symbolic link
|
||||
file:
|
||||
src: "/home/{{ username }}/.repos/awesome-wm-config/awesome/"
|
||||
dest: "/home/{{ username}}/.config/awesome"
|
||||
state: link
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
- name: Install flatpak apps
|
||||
community.general.flatpak:
|
||||
name: "{{ flatpak_apps_list }}"
|
||||
state: present
|
||||
@@ -0,0 +1,18 @@
|
||||
# Get OS info
|
||||
- include: os_info.yaml
|
||||
|
||||
# Download wallpapers
|
||||
- include: wallpapers.yaml
|
||||
when: use_wallpapers == True
|
||||
|
||||
# Install native app
|
||||
- include: awesome_wm.yaml
|
||||
when: use_awesome_wm == True
|
||||
|
||||
# Install native app
|
||||
- include: native_apps.yaml
|
||||
when: use_native_apps == True
|
||||
|
||||
# Install flatpak app
|
||||
- include: flatpak_apps.yaml
|
||||
when: use_flatpak_apps == True
|
||||
@@ -0,0 +1,4 @@
|
||||
- name: Install native apps
|
||||
package:
|
||||
name: "{{ native_apps_list }}"
|
||||
state: present
|
||||
@@ -0,0 +1,3 @@
|
||||
- name: Get OS distribution
|
||||
set_fact:
|
||||
distro: "{{ ansible_distribution }}"
|
||||
@@ -0,0 +1,4 @@
|
||||
- name: Download DT's wallpaper pack
|
||||
git:
|
||||
repo: https://www.gitlab.com/dwt1/wallpapers.git
|
||||
dest: "/home/{{ username }}/wallpapers/DT/"
|
||||
@@ -0,0 +1,25 @@
|
||||
## User info
|
||||
username: user
|
||||
|
||||
## Download wallpapers
|
||||
use_wallpapers: True
|
||||
|
||||
## Install Awesome WM
|
||||
use_awesome_wm: False
|
||||
|
||||
## Install native apps
|
||||
use_native_apps: True
|
||||
|
||||
native_apps_list:
|
||||
- htop
|
||||
- neofetch
|
||||
- dmenu
|
||||
- doublecmd-qt5
|
||||
- flameshot
|
||||
|
||||
## Install flatpak apps
|
||||
use_flatpak_apps: True
|
||||
|
||||
flatpak_apps_list:
|
||||
- info.mumble.Mumble
|
||||
- net.ankiweb.Anki
|
||||
Reference in New Issue
Block a user