some changes

This commit is contained in:
Philip (a-0) 2023-09-13 10:47:03 +02:00
parent 96c51c415b
commit 109a147acc
2 changed files with 26 additions and 26 deletions

View file

@ -1,7 +1,17 @@
--- ---
- name: Install generally important packages - name: apt update && apt upgrade
apt:
upgrade: full
update_cache: yes
- name: Install generally important apt packages
apt: apt:
pkg: pkg:
- htop - htop
update_cache: yes - flatpak
- name: Add flathub source
command: "flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo"
- name: Install VSCodium from flathub
command: "flatpak install flathub com.vscodium.codium"

View file

@ -1,35 +1,25 @@
- name: Install required packages - name: Install required packages
apt: apt:
pkg: pkg:
- firejail
- npm - npm
- node-grunt-cli - node-grunt-cli
update_cache: yes update_cache: yes
- name: Create cyberchef user-group #- name: Create cyberchef user's npm config dir
group: # become_user: cyberchef
name: cyberchef # file:
state: present # path: /home/cyberchef/.npm-global
# state: directory
- name: Create cyberchef user #- name: Set some npm config
user: # become_user: cyberchef
name: cyberchef # command: npm config set prefix '~/.npm-global && npm config set fetch-retry-mintimeout 30000 && npm config set fetch-retry-maxtimeout 150000'
group: cyberchef
system: yes
- name: Create cyberchef user's npm config dir #- name: Set user's path variable
become_user: cyberchef # copy:
file: # dest: /home/cyberchef/.profile
path: /home/cyberchef/.npm-global # content: export PATH=~/.npm-global/bin:$PATH
state: directory
- name: Set some npm config
become_user: cyberchef
command: npm config set prefix '~/.npm-global && npm config set fetch-retry-mintimeout 30000 && npm config set fetch-retry-maxtimeout 150000'
- name: Set user's path variable
copy:
dest: /home/cyberchef/.profile
content: export PATH=~/.npm-global/bin:$PATH
- name: Clone CyberChef repo - name: Clone CyberChef repo
become: yes become: yes