You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
926 B
37 lines
926 B
12 months ago
|
---
|
||
|
- name: Verifying log2ram key is installed
|
||
|
ansible.builtin.get_url:
|
||
|
dest: /usr/share/keyrings/azlux-archive-keyring.gpg
|
||
|
url: https://azlux.fr/repo.gpg
|
||
|
mode: '0444'
|
||
|
become: true
|
||
|
become_method: sudo
|
||
|
|
||
|
- name: Verifying log2ram repository installed
|
||
|
ansible.builtin.apt_repository:
|
||
|
repo: deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ bullseye main
|
||
|
filename: azlux.list
|
||
|
state: present
|
||
|
become: true
|
||
|
become_method: sudo
|
||
|
|
||
|
- name: Performing APT cache update
|
||
|
ansible.builtin.apt:
|
||
|
upgrade: no
|
||
|
update_cache: yes
|
||
|
cache_valid_time: 86400
|
||
|
become: true
|
||
|
become_method: sudo
|
||
|
|
||
|
- name: Install log2ram
|
||
|
ansible.builtin.package:
|
||
|
name:
|
||
|
- log2ram
|
||
|
|
||
|
# Maintainer 'highly' recommends rebooting before proceeding
|
||
|
- name: Reboot before continuing
|
||
|
ansible.builtin.reboot:
|
||
|
post_reboot_delay: 30
|
||
|
become: true
|
||
|
become_method: sudo
|