53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
- name: Install APT packages
|
|
become: true
|
|
apt:
|
|
pkg:
|
|
- git
|
|
- make
|
|
- keepassxc
|
|
- ripgrep
|
|
- curl
|
|
- unzip
|
|
- libreoffice-calc
|
|
- libreoffice-impress
|
|
- libreoffice-writer
|
|
- gimp
|
|
- tree
|
|
- wireshark
|
|
- units
|
|
- name: Install .gitconfig
|
|
template:
|
|
src: "{{ role_path }}/templates/.gitconfig.j2"
|
|
dest: ~/.gitconfig
|
|
- name: Copy Xresources
|
|
copy:
|
|
src: "{{ role_path }}/files/Xresources"
|
|
dest: ~/.config/regolith2/Xresources
|
|
- name: Create keepassxc config directory
|
|
file:
|
|
path: ~/.config/keepassxc
|
|
state: directory
|
|
- name: Copy keepassxc.ini
|
|
copy:
|
|
src: "{{ role_path }}/files/keepassxc.ini"
|
|
dest: ~/.config/keepassxc/keepassxc.ini
|
|
- name: Create repos directory
|
|
file:
|
|
path: ~/repos
|
|
state: directory
|
|
- name: Download Hashicorp signing key
|
|
become: true
|
|
apt_key:
|
|
keyserver: keyserver.ubuntu.com
|
|
id: "798AEC654E5C15428C8E42EEAA16FCBCA621E701"
|
|
keyring: /etc/apt/keyrings/hashicorp.gpg
|
|
- name: Install Hashicorp repository
|
|
become: true
|
|
apt_repository:
|
|
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
|
|
register: apt_repository
|
|
- name: Update APT cache
|
|
become: true
|
|
apt:
|
|
update_cache: true
|
|
when: apt_repository.changed
|