From 172d0aac8a1a415dbd2f1a0e48372c3b6bd0bce4 Mon Sep 17 00:00:00 2001 From: Olli Graf Date: Mon, 18 Sep 2023 12:47:25 +0200 Subject: [PATCH] =?UTF-8?q?Playbook,=20Rolle=20und=20Tasks=20f=C3=BCr=20lg?= =?UTF-8?q?2ram=20Installation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log2ram.yml | 7 +++++++ roles/log2ram/tasks/main.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 log2ram.yml create mode 100644 roles/log2ram/tasks/main.yml diff --git a/log2ram.yml b/log2ram.yml new file mode 100644 index 0000000..8108f47 --- /dev/null +++ b/log2ram.yml @@ -0,0 +1,7 @@ +--- +- hosts: "{{ target }}" + gather_facts: false + remote_user: pi + roles: + - log2ram + diff --git a/roles/log2ram/tasks/main.yml b/roles/log2ram/tasks/main.yml new file mode 100644 index 0000000..a32528e --- /dev/null +++ b/roles/log2ram/tasks/main.yml @@ -0,0 +1,28 @@ +#- name: PI Update +# become: true +# apt: +# update_cache: yes +# upgrade: dist +- name: Key + become: true + apt_key: + url: https://azlux.fr/repo.gpg.key + state: present +- name: Paketquelle + become: true + apt_repository: + repo: 'deb http://packages.azlux.fr/debian/ bookworm main' + state: present + filename: log2ram + update_cache: yes +- name: log2ram installieren + become: true + apt: + update_cache: yes + name: + - log2ram +- name: Neustart + become: true + reboot: + +