diff --git a/host_vars/irantu.mgrote.net.yml b/host_vars/irantu.mgrote.net.yml index 43ec2712..29693eb9 100644 --- a/host_vars/irantu.mgrote.net.yml +++ b/host_vars/irantu.mgrote.net.yml @@ -5,6 +5,8 @@ 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 +laptop_install_deb_url_archived: + - https://download.mikrotik.com/routeros/winbox/4.0beta14/WinBox_Linux.zip ### mgrote_user_setup dotfiles: diff --git a/roles/mgrote_laptop/tasks/main.yml b/roles/mgrote_laptop/tasks/main.yml index 945fdabd..1cf3e42c 100644 --- a/roles/mgrote_laptop/tasks/main.yml +++ b/roles/mgrote_laptop/tasks/main.yml @@ -2,5 +2,13 @@ - name: install deb files become: true ansible.builtin.apt: - deb: "{{ laptop_install_deb_url }}" + deb: "{{ item }}" + loop: "{{ laptop_install_deb_url }}" + +- name: install archived deb files + ansible.builtin.unarchive: + src: "{{ item }}" + dest: /usr/local/bin + remote_src: yes + loop: "{{ laptop_install_deb_url_archived }}" ...