blob: 766f009645d945e8549abf4b3d05acf70ef6dad0 (
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
|
- name: Set up repository
become: true
block:
- name: Create keys directory
ansible.builtin.file:
path: '{{ keys_dir }}'
mode: '755'
state: directory
- name: Add key
ansible.builtin.get_url:
url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x{{ gpg_key_id }}'
dest: '{{ keys_dir }}/linux-status.asc'
mode: '644'
- name: Add repository
ansible.builtin.apt_repository:
repo: 'deb [signed-by={{ keys_dir }}/linux-status.asc] https://ppa.launchpadcontent.net/egor-tensin/linux-status/ubuntu focal main'
filename: linux-status
- name: Install linux-status
become: true
ansible.builtin.apt:
install_recommends: false
name: linux-status
|