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

36 lines
730 B
YAML
Raw Normal View History

- 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
2022-11-26 10:34:13 +00:00
- ripgrep
2022-11-26 16:58:49 +00:00
- curl
- name: Set default shell to zsh
become: true
2022-11-26 10:17:07 +00:00
user:
name: "{{ ansible_user_id }}"
shell: /usr/bin/zsh
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
- name: Install asdf
git:
repo: https://github.com/asdf-vm/asdf.git
dest: ~/.asdf
2022-11-26 16:33:21 +00:00
- name: Install .zshrc
template:
src: "{{ role_path }}/templates/.zshrc.j2"
2022-11-26 16:58:49 +00:00
dest: ~/.zshrc