initial commit
This commit is contained in:
72
tasks/configure-i3.yaml
Normal file
72
tasks/configure-i3.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
- name: i3 Configuration - Create .i3 directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.i3"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.i3/config"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/i3/config"
|
||||
dest: "{{ userhome }}/.i3/config"
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/picom.conf"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/picom.conf"
|
||||
dest: "{{ userhome }}/.config/picom.conf"
|
||||
|
||||
- name: i3 Configuration - Create dunst directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.config/dunst"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/dunst/dunstrc"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/dunst/dunstrc"
|
||||
dest: "{{ userhome }}/.config/dunst/dunstrc"
|
||||
|
||||
- name: i3 Configuration - Create i3blocks directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.config/i3blocks"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/i3blocks/config"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/i3blocks/config"
|
||||
dest: "{{ userhome }}/.config/i3blocks/config"
|
||||
|
||||
- name: i3 Configuration - Create rofi directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.config/rofi"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/rofi/config.rasi"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/rofi/config.rasi"
|
||||
dest: "{{ userhome }}/.config/rofi/config.rasi"
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/opt/scripts/myi3blocks" scripts
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: files/configs/i3/myi3blocks/
|
||||
dest: "{{ userhome }}/opt/scripts/myi3blocks/"
|
||||
mode: "0755"
|
||||
|
||||
- name: i3 Configuration - Copy i3exit script
|
||||
copy:
|
||||
src: files/configs/misc-scripts/i3exit
|
||||
dest: /usr/bin/i3exit
|
||||
mode: "0755"
|
||||
|
||||
- name: i3 Configuration - Copy blurlock script
|
||||
copy:
|
||||
src: files/configs/misc-scripts/blurlock
|
||||
dest: /usr/bin/blurlock
|
||||
mode: "0755"
|
||||
24
tasks/configure-software-fedora.yaml
Normal file
24
tasks/configure-software-fedora.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
- name: Package Installation - Productivity Tools
|
||||
package:
|
||||
name: ["gnome-terminal", "ranger", "mousepad"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - Development Tools
|
||||
package:
|
||||
name: ["binutils"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - Media
|
||||
package:
|
||||
name: ["flameshot", "ImageMagick", "scrot"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - System Desktop
|
||||
package:
|
||||
name: ["rofi", "nitrogen", "arandr", "dunst"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - I3 Desktop
|
||||
package:
|
||||
name: ["i3", "i3lock", "i3blocks"]
|
||||
state: present
|
||||
24
tasks/configure-software-manjaro.yaml
Normal file
24
tasks/configure-software-manjaro.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
- name: Package Installation - Update Pacman package cache
|
||||
pacman:
|
||||
update_cache: true
|
||||
changed_when: false
|
||||
|
||||
- name: Package Installation - Productivity Tools
|
||||
package:
|
||||
name: ["gnome-terminal", "ranger", "mousepad"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - Development Tools
|
||||
package:
|
||||
name: ["binutils"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - Media
|
||||
package:
|
||||
name: ["flameshot", "imagemagick", "scrot"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - System Desktop
|
||||
package:
|
||||
name: ["rofi", "nitrogen", "dunst", "i3blocks"]
|
||||
state: present
|
||||
24
tasks/configure-software-ubuntu.yaml
Normal file
24
tasks/configure-software-ubuntu.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
- name: Package Installation - Update Apt package cache
|
||||
apt:
|
||||
update_cache: true
|
||||
changed_when: false
|
||||
|
||||
- name: Package Installation - Productivity Tools
|
||||
package:
|
||||
name: ["gnome-terminal", "ranger", "mousepad"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - Development Tools
|
||||
package:
|
||||
name: ["binutils"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - Media
|
||||
package:
|
||||
name: ["flameshot", "imagemagick", "scrot"]
|
||||
state: present
|
||||
|
||||
- name: Package Installation - System Desktop
|
||||
package:
|
||||
name: ["rofi", "nitrogen", "dunst", "i3blocks"]
|
||||
state: present
|
||||
25
tasks/configure-user.yaml
Normal file
25
tasks/configure-user.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
- name: User Configuration - Add sudoers entry for "{{ username }}"
|
||||
lineinfile:
|
||||
path: "/etc/sudoers.d/{{ username }}"
|
||||
line: "{{ username }} ALL=(ALL) NOPASSWD: ALL"
|
||||
create: yes
|
||||
mode: "0640"
|
||||
|
||||
- name: User Configuration - Copy tmux configuration
|
||||
copy:
|
||||
src: "files/configs/tmux.conf"
|
||||
dest: "{{ userhome }}/.tmux.conf"
|
||||
owner: "{{ username }}"
|
||||
group: "{{ username }}"
|
||||
|
||||
- name: User Configuration - Copy pictures
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: files/pictures/
|
||||
dest: "{{ userhome }}/Pictures/"
|
||||
|
||||
- name: User Configuration - Create opt/scripts directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/opt/scripts"
|
||||
state: directory
|
||||
Reference in New Issue
Block a user