Initial commit erasing history

This commit is contained in:
polz 2024-06-01 00:49:52 +02:00
parent e04f86fd9a
commit 7d8751ffe8
712 changed files with 7348 additions and 0 deletions

View file

@ -0,0 +1,4 @@
- import_tasks: main_win.yml
when: ansible_connection == 'winrm'
- import_tasks: main_lin.yml
when: ansible_connection == 'ssh'

View file

@ -0,0 +1,18 @@
- name: Add NodeJS repo key
apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key
keyring: /etc/apt/keyrings/nodesource.gpg
#- name: Add NodeJS repo url
# apt_repository:
# repo: "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main"
- name: Add NodeJS LTS repo url
apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main"
- name: Install NodeJS
apt:
name: nodejs
state: latest

View file

@ -0,0 +1,7 @@
- name: Install NodeJS
win_chocolatey:
name: nodejs
- name: Install NodeJS-LTS
win_chocolatey:
name: nodejs-lts