Refactoring Draft

This commit is contained in:
2022-08-19 21:39:23 +02:00
parent 1e5aa4ddbc
commit eeb365d5b6
55 changed files with 128 additions and 134 deletions

View File

@@ -0,0 +1,3 @@
dependencies:
- native-aur-helper
- system-gnome

View 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

View File

@@ -0,0 +1,5 @@
- name: install java
community.general.pacman:
name:
- jdk11-openjdk
state: present

View 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"
```

View File

@@ -0,0 +1,2 @@
dependencies:
- collection-administrator-tools-base

View File

@@ -0,0 +1,7 @@
- name: install administrator network analyze tools
community.general.pacman:
name:
- traceroute
- wireshark-qt
- wireshark-cli
state: present

View File

@@ -0,0 +1,2 @@
dependencies:
- collection-developer-tools-base

View 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

View File

@@ -0,0 +1,2 @@
dependencies:
- collection-administrator-tools-base

View File

@@ -0,0 +1,5 @@
- name: install base developer tools
community.general.pacman:
name:
- code
state: present

View File

@@ -0,0 +1,2 @@
dependencies:
- collection-developer-tools-base

View File

@@ -0,0 +1,5 @@
- name: install bash developer tools
community.general.pacman:
name:
- shellcheck
state: present

View File

@@ -0,0 +1,2 @@
dependencies:
- application-java

View File

@@ -0,0 +1,2 @@
dependencies:
- collection-developer-tools-base

View File

@@ -0,0 +1,5 @@
- name: install php developer tools
community.general.pacman:
name:
- php
state: present

View File

@@ -0,0 +1,2 @@
dependencies:
- collection-developer-tools-base

View File

@@ -0,0 +1,5 @@
- name: install python developer tools
community.general.pacman:
name:
- python
state: present

View File

@@ -0,0 +1,2 @@
dependencies:
- native-libreoffice

View File

@@ -0,0 +1,6 @@
- name: install shutter
community.general.pacman:
name:
- chromium
- shutter
state: present

View File

@@ -0,0 +1,7 @@
- name: install security tools
community.general.pacman:
name:
- ecryptfs-utils
- encfs
- keepassxc
state: present

View File

@@ -1,6 +0,0 @@
- name: Install docker
community.general.pacman:
name:
- docker
- docker-compose
state: present

View File

@@ -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

View File

@@ -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

View File

@@ -1,2 +0,0 @@
dependencies:
- native-aur-helper

View File

@@ -1,5 +0,0 @@
- name: Install caffeine
kewlfft.aur.aur:
use: yay
name:
- caffeine-ng

View 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