parent
d5ad30d738
commit
52e5464d49
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
- 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
|
Loading…
Reference in new issue