blob: caa17bc4b46ee1af57f1542242f3fa9beb919ea5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- name: "Enable multiverse repository"
become: true
ansible.builtin.lineinfile:
path: "/etc/apt/sources.list.d/ubuntu.sources"
regexp: "^Components:"
line: "Components: main restricted universe multiverse"
register: "multiverse_enabled"
- name: "Update apt cache"
# noqa no-handler as this needs to run immediately for dependent packages
become: true
ansible.builtin.apt:
update_cache: true
when: "multiverse_enabled.changed"
|