Merge branch 'master' into linuxmint
This commit is contained in:
commit
114d98cd7c
8 changed files with 45 additions and 6 deletions
|
@ -12,8 +12,8 @@ My current setup is [Regolith OS](https://regolith-desktop.com/) which is basica
|
||||||
|
|
||||||
- Telegram (maybe only possible to download)
|
- Telegram (maybe only possible to download)
|
||||||
- thunderbird config
|
- thunderbird config
|
||||||
- some kind of tag setup with: bootstrap, update, etc.
|
|
||||||
- i3 app shortcuts
|
- i3 app shortcuts
|
||||||
|
- firefox config? extensions? host own synchronizer?
|
||||||
|
|
||||||
Would like Ansible Vault to check in keypair for syncthing.
|
Would like Ansible Vault to check in keypair for syncthing.
|
||||||
However, then I would need a password to unlock the vault.
|
However, then I would need a password to unlock the vault.
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/asdf-vm/asdf.git
|
repo: https://github.com/asdf-vm/asdf.git
|
||||||
dest: ~/.asdf
|
dest: ~/.asdf
|
||||||
- name: Install Erlang prerequisite APT packages
|
tags: update
|
||||||
|
- name: Install prerequisite APT packages
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
pkg:
|
pkg:
|
||||||
|
@ -22,14 +23,11 @@
|
||||||
- libxml2-utils
|
- libxml2-utils
|
||||||
- libncurses-dev
|
- libncurses-dev
|
||||||
- openjdk-11-jdk
|
- openjdk-11-jdk
|
||||||
|
- unzip
|
||||||
- name: Install asdf Erlang plugin
|
- name: Install asdf Erlang plugin
|
||||||
shell:
|
shell:
|
||||||
cmd: "~/.asdf/bin/asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git"
|
cmd: "~/.asdf/bin/asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git"
|
||||||
creates: ~/.asdf/plugins/erlang
|
creates: ~/.asdf/plugins/erlang
|
||||||
- name: Install Elixir prerequisite APT packages
|
|
||||||
become: true
|
|
||||||
apt:
|
|
||||||
name: unzip
|
|
||||||
- name: Install asdf Elixir plugin
|
- name: Install asdf Elixir plugin
|
||||||
shell:
|
shell:
|
||||||
cmd: "~/.asdf/bin/asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git"
|
cmd: "~/.asdf/bin/asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git"
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
state: latest
|
state: latest
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 86400 # One day
|
cache_valid_time: 86400 # One day
|
||||||
|
tags: update
|
||||||
|
|
|
@ -3,16 +3,19 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://updates.signal.org/desktop/apt/keys.asc
|
url: https://updates.signal.org/desktop/apt/keys.asc
|
||||||
dest: /etc/apt/trusted.gpg.d/signal.asc
|
dest: /etc/apt/trusted.gpg.d/signal.asc
|
||||||
|
tags: update
|
||||||
- name: Install Signal APT repository
|
- name: Install Signal APT repository
|
||||||
become: true
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/signal.asc] https://updates.signal.org/desktop/apt xenial main"
|
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/signal.asc] https://updates.signal.org/desktop/apt xenial main"
|
||||||
register: apt_repository
|
register: apt_repository
|
||||||
|
tags: update
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when: apt_repository.changed
|
when: apt_repository.changed
|
||||||
|
tags: update
|
||||||
- name: Install Signal
|
- name: Install Signal
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
|
|
21
roles/system/files/ssh_config
Normal file
21
roles/system/files/ssh_config
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
Host brussels
|
||||||
|
HostName brussels.studlab.os3.nl
|
||||||
|
User pkunis
|
||||||
|
|
||||||
|
Host github.com
|
||||||
|
HostName github.com
|
||||||
|
User pizzapim
|
||||||
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
Host max
|
||||||
|
HostName max.lan
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host lewis
|
||||||
|
HostName lewis.lan
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host forgejo
|
||||||
|
HostName git.pim.kunis.nl
|
||||||
|
Port 56287
|
||||||
|
User git
|
|
@ -47,3 +47,13 @@
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when: apt_repository.changed
|
when: apt_repository.changed
|
||||||
|
- name: Create ssh config directory
|
||||||
|
file:
|
||||||
|
path: ~/.ssh
|
||||||
|
state: directory
|
||||||
|
mode: 0700
|
||||||
|
- name: Copy ssh config
|
||||||
|
copy:
|
||||||
|
src: "{{ role_path }}/files/ssh_config"
|
||||||
|
dest: ~/.ssh/config
|
||||||
|
mode: 0600
|
||||||
|
|
|
@ -3,16 +3,19 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://www.virtualbox.org/download/oracle_vbox_2016.asc
|
url: https://www.virtualbox.org/download/oracle_vbox_2016.asc
|
||||||
dest: /etc/apt/trusted.gpg.d/oracle_vbox_2016.asc
|
dest: /etc/apt/trusted.gpg.d/oracle_vbox_2016.asc
|
||||||
|
tags: update
|
||||||
- name: Install VirtualBox APT repository
|
- name: Install VirtualBox APT repository
|
||||||
become: true
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }} contrib"
|
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }} contrib"
|
||||||
register: apt_repository
|
register: apt_repository
|
||||||
|
tags: update
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when: apt_repository.changed
|
when: apt_repository.changed
|
||||||
|
tags: update
|
||||||
- name: Install VirtualBox
|
- name: Install VirtualBox
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -3,16 +3,19 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
|
url: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
|
||||||
dest: /etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc
|
dest: /etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc
|
||||||
|
tags: update
|
||||||
- name: Install VSCodium APT repository
|
- name: Install VSCodium APT repository
|
||||||
become: true
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc ] https://download.vscodium.com/debs vscodium main"
|
repo: "deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc ] https://download.vscodium.com/debs vscodium main"
|
||||||
register: apt_repository
|
register: apt_repository
|
||||||
|
tags: update
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when: apt_repository.changed
|
when: apt_repository.changed
|
||||||
|
tags: update
|
||||||
- name: Install VSCodium
|
- name: Install VSCodium
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
|
|
Reference in a new issue