diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index 6f56078..e28df95 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -36,3 +36,7 @@ with_nested: - ["sources.list", "preferences"] - "{{ apt.pin|dict2items }}" + +- name: Update APT cache + apt: + update_cache: true diff --git a/roles/cli-utils/tasks/main.yml b/roles/cli-utils/tasks/main.yml index ca780a9..100b6de 100644 --- a/roles/cli-utils/tasks/main.yml +++ b/roles/cli-utils/tasks/main.yml @@ -8,7 +8,7 @@ - bind-tools - git - man - - mtr + - "{% if ansible_os_family == 'Archlinux' %}mtr{% else %}mtr-tiny{% endif %}" - sl - htop - patch