add update tag system

This commit is contained in:
Pim Kunis 2023-02-20 21:49:55 +01:00
parent 4a3995ba29
commit bc237e82af
6 changed files with 13 additions and 6 deletions

View file

@ -12,7 +12,6 @@ My current setup is [Regolith OS](https://regolith-desktop.com/) which is basica
- Telegram (maybe only possible to download)
- thunderbird config
- some kind of tag setup with: bootstrap, update, etc.
- i3 app shortcuts
- firefox config? extensions? host own synchronizer?

View file

@ -2,7 +2,8 @@
git:
repo: https://github.com/asdf-vm/asdf.git
dest: ~/.asdf
- name: Install Erlang prerequisite APT packages
tags: update
- name: Install prerequisite APT packages
become: true
apt:
pkg:
@ -22,14 +23,11 @@
- libxml2-utils
- libncurses-dev
- openjdk-11-jdk
- unzip
- name: Install asdf Erlang plugin
shell:
cmd: "~/.asdf/bin/asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git"
creates: ~/.asdf/plugins/erlang
- name: Install Elixir prerequisite APT packages
become: true
apt:
name: unzip
- name: Install asdf Elixir plugin
shell:
cmd: "~/.asdf/bin/asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git"

View file

@ -6,3 +6,4 @@
state: latest
update_cache: yes
cache_valid_time: 86400 # One day
tags: update

View file

@ -3,16 +3,19 @@
get_url:
url: https://updates.signal.org/desktop/apt/keys.asc
dest: /etc/apt/trusted.gpg.d/signal.asc
tags: update
- name: Install Signal APT repository
become: true
apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/signal.asc] https://updates.signal.org/desktop/apt xenial main"
register: apt_repository
tags: update
- name: Update APT cache
become: true
apt:
update_cache: true
when: apt_repository.changed
tags: update
- name: Install Signal
become: true
apt:

View file

@ -3,16 +3,19 @@
get_url:
url: https://www.virtualbox.org/download/oracle_vbox_2016.asc
dest: /etc/apt/trusted.gpg.d/oracle_vbox_2016.asc
tags: update
- name: Install VirtualBox APT repository
become: true
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"
register: apt_repository
tags: update
- name: Update APT cache
become: true
apt:
update_cache: true
when: apt_repository.changed
tags: update
- name: Install VirtualBox
become: true
apt:

View file

@ -3,16 +3,19 @@
get_url:
url: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
dest: /etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc
tags: update
- name: Install VSCodium APT repository
become: true
apt_repository:
repo: "deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc ] https://download.vscodium.com/debs vscodium main"
register: apt_repository
tags: update
- name: Update APT cache
become: true
apt:
update_cache: true
when: apt_repository.changed
tags: update
- name: Install VSCodium
become: true
apt: