subtasks.
This commit is contained in:
7
roles/log2ram-st/tasks/add_repo_key.yml
Normal file
7
roles/log2ram-st/tasks/add_repo_key.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Key
|
||||
become: true
|
||||
apt_key:
|
||||
url: https://azlux.fr/repo.gpg.key
|
||||
state: present
|
||||
|
9
roles/log2ram-st/tasks/add_repo_source.yml
Normal file
9
roles/log2ram-st/tasks/add_repo_source.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Paketquelle
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: 'deb http://packages.azlux.fr/debian/ bookworm main'
|
||||
state: present
|
||||
filename: log2ram
|
||||
update_cache: yes
|
||||
|
8
roles/log2ram-st/tasks/install_log2ram.yml
Normal file
8
roles/log2ram-st/tasks/install_log2ram.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: log2ram installieren
|
||||
become: true
|
||||
apt:
|
||||
update_cache: yes
|
||||
name:
|
||||
- log2ram
|
||||
|
5
roles/log2ram-st/tasks/main.yml
Normal file
5
roles/log2ram-st/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- include: ../subtasks/upgrade.yml
|
||||
- include: add_repo_key.yml
|
||||
- include: add_repo_source.yml
|
||||
- include: install_log2ram.yml
|
||||
- include: ../subtasks/reboot.yml
|
7
roles/log2ram-st/tasks/main.yml.bak
Normal file
7
roles/log2ram-st/tasks/main.yml.bak
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
- name: logram Haupttask
|
||||
tasks:
|
||||
- include: add_repo_key.yml
|
||||
- include: add_repo_source.yml
|
||||
- include: install_log2ram.yml
|
||||
|
Reference in New Issue
Block a user