aboutsummaryrefslogtreecommitdiff
path: root/roles/packages/tasks/main.yml
blob: 9c7d5a1b69c0bf06be6faede6fe695a7a8b210d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
- name: Install EPEL
  become: true
  ansible.builtin.package:
    name: epel-release
    state: latest
  when: ansible_facts['os_family'] == 'RedHat'

# - name: Update all packages
#   become: True
#   ansible.builtin.package:
#     name: "*"
#     state: latest

- name: Install packages
  become: true
  ansible.builtin.package:
    name: "{{ item }}"
    state: latest
  loop:
    - vim
    - podman
    - fish
    - tmux
    - netcat
    - restic
    # For restic mount.
    - fuse

- name: Set fish as default shell
  become: true
  ansible.builtin.user:
    name: "{{ USER }}"
    shell: /usr/bin/fish