2022-12-02 19:10:38 +00:00
|
|
|
- name: Install APT packages
|
2022-11-26 00:51:20 +00:00
|
|
|
become: true
|
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- git
|
|
|
|
- make
|
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
|
2022-12-27 15:49:55 +00:00
|
|
|
- units
|
2023-02-24 20:50:17 +00:00
|
|
|
- unrar
|
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-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:
|
2023-02-20 21:31:36 +00:00
|
|
|
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ distribution_release }} main"
|
2023-02-11 20:12:19 +00:00
|
|
|
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
|
2023-02-22 21:04:05 +00:00
|
|
|
- name: Copy systemd ssh-agent service
|
2023-02-22 22:52:51 +00:00
|
|
|
become: true
|
2023-02-22 21:04:05 +00:00
|
|
|
template:
|
|
|
|
src: "{{ role_path }}/templates/ssh-agent.service.j2"
|
|
|
|
dest: /etc/systemd/user/ssh-agent.service
|
|
|
|
- name: Enable ssh-agent service
|
|
|
|
systemd:
|
|
|
|
name: ssh-agent
|
|
|
|
enabled: true
|
|
|
|
scope: user
|
|
|
|
state: started
|
2023-02-25 16:43:21 +00:00
|
|
|
- name: Disable Mint Report
|
|
|
|
become: true
|
|
|
|
file:
|
|
|
|
path: /etc/xdg/autostart/mintreport.desktop
|
|
|
|
state: absent
|