aboutsummaryrefslogblamecommitdiff
path: root/roles/packages/tasks/main.yml
blob: c73c3356db5511f5682625f64cd7aad9ce171737 (plain) (tree)
1
2
3
4
5
6
7
8

                    
              




                                              




                             

                        
              






                          
          
            
         
            

                       

                                 
              

                       
                        
---
- 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
    - git
    - restic
    # For restic mount.
    - fuse

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