summaryrefslogtreecommitdiff
path: root/packages.yml
blob: fe22ff181d2a84dab84840cd86c644ee73bea0be (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: ship setup
  hosts: all
  gather_facts: no
  vars:
    user: "{{ '$USER' | expandvars }}"
    data: "{{ '$HOME/services' | expandvars }}"

  tasks:

    # -- UPDATE ALL ------------------------------------------------------------

    - name: update-packages
      become: true
      ansible.builtin.package:
        name: "*"
        state: latest

    # -- PACKAGES --------------------------------------------------------------

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