mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-01 08:08:59 +02:00
Refactoring Draft
This commit is contained in:
3
roles/application-caffeine/meta/main.yml
Normal file
3
roles/application-caffeine/meta/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- native-aur-helper
|
||||
- system-gnome
|
11
roles/application-docker/tasks/main.yml
Normal file
11
roles/application-docker/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: install docker
|
||||
community.general.pacman:
|
||||
name:
|
||||
- docker
|
||||
- docker-compose
|
||||
state: present
|
||||
|
||||
- name: Adding user {{client_username}} to relevant arduino usergroups
|
||||
user: name={{client_username}}
|
||||
groups=docker
|
||||
append=yes
|
5
roles/application-java/tasks/main.yml
Normal file
5
roles/application-java/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: install java
|
||||
community.general.pacman:
|
||||
name:
|
||||
- jdk11-openjdk
|
||||
state: present
|
9
roles/application-virtual-box/Readme.md
Normal file
9
roles/application-virtual-box/Readme.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# application-virtual-box
|
||||
|
||||
```bash
|
||||
sudo pacman -S virtualbox "$(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-virtualbox-host-modules"}' ORS=' ')" &&
|
||||
sudo vboxreload &&
|
||||
pamac build virtualbox-ext-oracle &&
|
||||
sudo gpasswd -a "$USER" vboxusers || exit 1
|
||||
echo "Keep in mind to install the guest additions in the virtualized system. See https://wiki.manjaro.org/index.php?title=VirtualBox"
|
||||
```
|
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- collection-administrator-tools-base
|
@@ -0,0 +1,7 @@
|
||||
- name: install administrator network analyze tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- traceroute
|
||||
- wireshark-qt
|
||||
- wireshark-cli
|
||||
state: present
|
2
roles/collection-developer-tools-arduino/meta/main.yml
Normal file
2
roles/collection-developer-tools-arduino/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- collection-developer-tools-base
|
11
roles/collection-developer-tools-arduino/tasks/main.yml
Normal file
11
roles/collection-developer-tools-arduino/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: install arduino developer tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- arduino
|
||||
- arduino-docs
|
||||
state: present
|
||||
|
||||
- name: Adding user {{client_username}} to relevant arduino usergroups
|
||||
user: name={{client_username}}
|
||||
groups=uucp lock
|
||||
append=yes
|
2
roles/collection-developer-tools-base/meta/main.yml
Normal file
2
roles/collection-developer-tools-base/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- collection-administrator-tools-base
|
5
roles/collection-developer-tools-base/tasks/main.yml
Normal file
5
roles/collection-developer-tools-base/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: install base developer tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- code
|
||||
state: present
|
2
roles/collection-developer-tools-bash/meta/main.yml
Normal file
2
roles/collection-developer-tools-bash/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- collection-developer-tools-base
|
5
roles/collection-developer-tools-bash/tasks/main.yml
Normal file
5
roles/collection-developer-tools-bash/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: install bash developer tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- shellcheck
|
||||
state: present
|
2
roles/collection-developer-tools-java/meta/main.yml
Normal file
2
roles/collection-developer-tools-java/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- application-java
|
2
roles/collection-developer-tools-php/meta/main.yml
Normal file
2
roles/collection-developer-tools-php/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- collection-developer-tools-base
|
5
roles/collection-developer-tools-php/tasks/main.yml
Normal file
5
roles/collection-developer-tools-php/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: install php developer tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- php
|
||||
state: present
|
2
roles/collection-developer-tools-python/meta/main.yml
Normal file
2
roles/collection-developer-tools-python/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- collection-developer-tools-base
|
5
roles/collection-developer-tools-python/tasks/main.yml
Normal file
5
roles/collection-developer-tools-python/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: install python developer tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- python
|
||||
state: present
|
2
roles/collection-office-tools/meta/main.yml
Normal file
2
roles/collection-office-tools/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- native-libreoffice
|
6
roles/collection-office-tools/tasks/main.yml
Normal file
6
roles/collection-office-tools/tasks/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: install shutter
|
||||
community.general.pacman:
|
||||
name:
|
||||
- chromium
|
||||
- shutter
|
||||
state: present
|
7
roles/collection-security-tools/tasks/main.yml
Normal file
7
roles/collection-security-tools/tasks/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: install security tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- ecryptfs-utils
|
||||
- encfs
|
||||
- keepassxc
|
||||
state: present
|
@@ -1,6 +0,0 @@
|
||||
- name: Install docker
|
||||
community.general.pacman:
|
||||
name:
|
||||
- docker
|
||||
- docker-compose
|
||||
state: present
|
@@ -1,43 +1,17 @@
|
||||
- name: install general software
|
||||
community.general.pacman:
|
||||
name:
|
||||
# programing language interpreters
|
||||
#- jdk11-openjdk
|
||||
#- python
|
||||
#- php
|
||||
|
||||
# description language interpreters
|
||||
#- texlive-most
|
||||
|
||||
# compression tools
|
||||
#- p7zip
|
||||
|
||||
# network analyze tools
|
||||
#- traceroute
|
||||
#- wireshark-qt
|
||||
#- wireshark-cli
|
||||
|
||||
# security tools
|
||||
#- ecryptfs-utils
|
||||
#- encfs
|
||||
#- keepassxc
|
||||
|
||||
# browsers
|
||||
- chromium
|
||||
|
||||
# video/picture manipulation
|
||||
#- gimp
|
||||
#- blender
|
||||
#- obs-studio
|
||||
|
||||
# code quality tools
|
||||
#- shellcheck
|
||||
|
||||
# ide's
|
||||
#- atom
|
||||
#- arduino
|
||||
#- arduino-docs
|
||||
|
||||
# virtualization tools
|
||||
#- qemu
|
||||
state: present
|
||||
|
@@ -1,15 +0,0 @@
|
||||
- name: Install Gnome Software
|
||||
community.general.pacman:
|
||||
name:
|
||||
- gnome-shell-extensions
|
||||
- gnome-shell-extension-desktop-icons-ng
|
||||
- gnome-terminal
|
||||
state: present
|
||||
|
||||
- name: GNOME Activate Extensions
|
||||
ansible.builtin.shell: gsettings set org.gnome.shell disable-user-extensions false
|
||||
become: false
|
||||
|
||||
- name: GNOME Set favorite apps
|
||||
ansible.builtin.shell: gsettings set org.gnome.shell favorite-apps "{{favorite_apps}}"
|
||||
become: false
|
@@ -1,2 +0,0 @@
|
||||
dependencies:
|
||||
- native-aur-helper
|
@@ -1,5 +0,0 @@
|
||||
- name: Install caffeine
|
||||
kewlfft.aur.aur:
|
||||
use: yay
|
||||
name:
|
||||
- caffeine-ng
|
27
roles/system-gnome/tasks/main.yml
Normal file
27
roles/system-gnome/tasks/main.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
- name: Install Gnome Software
|
||||
community.general.pacman:
|
||||
name:
|
||||
- gnome-shell-extensions
|
||||
- gnome-shell-extension-desktop-icons-ng
|
||||
- gnome-terminal
|
||||
state: present
|
||||
|
||||
- name: GNOME Activate Extensions
|
||||
ansible.builtin.shell: gsettings set org.gnome.shell disable-user-extensions false
|
||||
become: false
|
||||
|
||||
- name: GNOME Set favorite apps
|
||||
ansible.builtin.shell: gsettings set org.gnome.shell favorite-apps "{{favorite_apps}}"
|
||||
become: false
|
||||
|
||||
- name: pull CLI GNOME Extension manager script
|
||||
git:
|
||||
repo: "git@github.com:kevinveenbirkenbach/cli-gnome-extension-manager.git"
|
||||
dest: "$HOME/Repositories/github.com/kevinveenbirkenbach/cli-gnome-extension-manager"
|
||||
update: yes
|
||||
become: false
|
||||
|
||||
- name: Execute CLI GNOME Extension manager script
|
||||
ansible.builtin.shell: bash "/home/{{client_username}}/Repositories/github.com/kevinveenbirkenbach/cli-gnome-extension-manager/gnome-extension-manager.sh" "{{ item[0] }}" "{{ item[1] }}" "{{ item[2] }}"
|
||||
loop: "{{gnome_extensions}}"
|
||||
become: true
|
Reference in New Issue
Block a user