aboutsummaryrefslogblamecommitdiff
path: root/roles/packages/tasks/main.yml
blob: d3f0720d283bee88e58a941c40f7ce1a5c184c26 (plain) (tree)





























                                              
---
- 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
    - netcat

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