This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/system/tasks/main.yml

64 lines
1.5 KiB
YAML
Raw Normal View History

2022-12-02 19:10:38 +00:00
- name: Install APT packages
become: true
apt:
pkg:
- git
- make
- keepassxc
2022-11-26 10:34:13 +00:00
- ripgrep
2022-11-26 16:58:49 +00:00
- curl
2022-11-26 17:11:26 +00:00
- unzip
2022-11-26 17:16:41 +00:00
- libreoffice-calc
- libreoffice-impress
- libreoffice-writer
- gimp
2022-11-28 19:13:24 +00:00
- tree
2022-11-28 19:21:38 +00:00
- wireshark
- units
2022-11-26 16:33:21 +00:00
- name: Install .gitconfig
2022-11-26 10:34:13 +00:00
template:
src: "{{ role_path }}/templates/.gitconfig.j2"
2022-11-26 16:58:49 +00:00
dest: ~/.gitconfig
2022-12-20 15:42:50 +00:00
- name: Copy Xresources
copy:
src: "{{ role_path }}/files/Xresources"
2022-11-27 13:30:48 +00:00
dest: ~/.config/regolith2/Xresources
2022-12-02 20:05:32 +00:00
- name: Create keepassxc config directory
file:
path: ~/.config/keepassxc
state: directory
2022-12-20 15:42:50 +00:00
- name: Copy keepassxc.ini
copy:
src: "{{ role_path }}/files/keepassxc.ini"
dest: ~/.config/keepassxc/keepassxc.ini
2022-12-28 09:28:37 +00:00
- name: Create repos directory
file:
path: ~/repos
state: directory
2023-02-11 20:12:19 +00:00
- 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
2023-02-20 08:32:47 +00:00
- 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