add laptop setup #268

Merged
mg merged 44 commits from laptop_mint into master 2024-12-30 20:06:25 +01:00
4 changed files with 25 additions and 1 deletions
Showing only changes of commit e0e32fa75b - Show all commits

View file

@ -1,11 +1,13 @@
---
# Diese Datei enthällt alles für den Laptop, es werden auch alle Variablen aus den Group-Vars extra eingetragen.
### mgrote_laptop
### mgrote_install_archived_deb_files_from_url
laptop_install_deb_url:
- https://github.com/pulsar-edit/pulsar/releases/download/v1.123.0/Linux.pulsar_1.123.0_amd64.deb
- https://download.xnview.com/XnViewMP-linux-x64.deb
- https://github.com/torakiki/pdfsam/releases/download/v5.2.9/pdfsam_5.2.9-1_amd64.deb
### mgrote_install_deb_files_from_url
laptop_install_deb_url_archived:
- https://download.mikrotik.com/routeros/winbox/4.0beta14/WinBox_Linux.zip

View file

@ -40,3 +40,9 @@
- role: mgrote_docker_housekeeping
tags: "housekeeping"
become: true
- role: mgrote_install_archived_deb_files_from_url
tags: "deb"
become: true
- role: mgrote_install_deb_files_from_url
tags: "deb"
become: true

View file

@ -0,0 +1,16 @@
---
- name: install deb files
become: true
ansible.builtin.apt:
deb: "{{ item }}"
loop: "{{ laptop_install_deb_url }}"
when: laptop_install_deb_url is defined
- name: install archived deb files
ansible.builtin.unarchive:
src: "{{ item }}"
dest: /usr/local/bin
remote_src: yes
loop: "{{ laptop_install_deb_url_archived }}"
when: laptop_install_deb_url_archived is defined
...