82 lines
2.1 KiB
YAML
82 lines
2.1 KiB
YAML
- name: Get Signal APT key
|
|
become: true
|
|
ansible.builtin.get_url:
|
|
url: https://updates.signal.org/desktop/apt/keys.asc
|
|
dest: /etc/apt/trusted.gpg.d/signal.asc
|
|
|
|
- name: Install Signal APT repository
|
|
become: true
|
|
ansible.builtin.apt_repository:
|
|
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/signal.asc] https://updates.signal.org/desktop/apt xenial main"
|
|
state: present
|
|
- name: Update repositories
|
|
become: true
|
|
apt:
|
|
upgrade: yes
|
|
state: latest
|
|
update_cache: yes
|
|
cache_valid_time: 86400 # One day
|
|
- name: Install global packages
|
|
become: true
|
|
apt:
|
|
state: latest
|
|
pkg:
|
|
- git
|
|
- make
|
|
- keepassxc
|
|
- zsh
|
|
- ripgrep
|
|
- curl
|
|
- unzip
|
|
- libreoffice-calc
|
|
- libreoffice-impress
|
|
- libreoffice-writer
|
|
- gimp
|
|
- signal-desktop
|
|
- nextcloud-desktop
|
|
# Erlang stuff: https://github.com/asdf-vm/asdf-erlang#before-asdf-install
|
|
- build-essential
|
|
- autoconf
|
|
- m4
|
|
- libncurses5-dev
|
|
- libwxgtk3.0-gtk3-dev
|
|
- libwxgtk-webview3.0-gtk3-dev
|
|
- libgl1-mesa-dev
|
|
- libglu1-mesa-dev
|
|
- libpng-dev
|
|
- libssh-dev
|
|
- unixodbc-dev
|
|
- xsltproc
|
|
- fop
|
|
- libxml2-utils
|
|
- libncurses-dev
|
|
- openjdk-11-jdk
|
|
- name: Set default shell to zsh
|
|
become: true
|
|
user:
|
|
name: "{{ ansible_user_id }}"
|
|
shell: /usr/bin/zsh
|
|
- name: Install .gitconfig
|
|
template:
|
|
src: "{{ role_path }}/templates/.gitconfig.j2"
|
|
dest: ~/.gitconfig
|
|
- name: Install asdf
|
|
git:
|
|
repo: https://github.com/asdf-vm/asdf.git
|
|
dest: ~/.asdf
|
|
- name: Install .zshrc
|
|
template:
|
|
src: "{{ role_path }}/templates/.zshrc.j2"
|
|
dest: ~/.zshrc
|
|
- name: Install asdf Erlang plugin
|
|
shell: asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
|
|
args:
|
|
creates: ~/.asdf/plugins/erlang
|
|
- name: Install asdf Elixir plugin
|
|
shell: asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
|
|
args:
|
|
creates: ~/.asdf/plugins/elixir
|
|
- name: Install Regolith Xresources file
|
|
template:
|
|
src: "{{ role_path }}/templates/Xresources.j2"
|
|
dest: ~/.config/regolith2/Xresources
|