dd
This commit is contained in:
parent
f9e70b93a7
commit
e0e32fa75b
4 changed files with 25 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
16
roles/mgrote_install_deb_files_from_url/tasks/main.yml
Normal file
16
roles/mgrote_install_deb_files_from_url/tasks/main.yml
Normal 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
|
||||
...
|
Loading…
Reference in a new issue