homeserver/roles/mgrote_install_deb_files_from_url/tasks/main.yml

17 lines
407 B
YAML
Raw Normal View History

2024-12-29 11:11:03 +01:00
---
- name: install deb files
become: true
ansible.builtin.apt:
2024-12-29 11:13:21 +01:00
deb: "{{ item }}"
loop: "{{ laptop_install_deb_url }}"
2024-12-29 11:16:48 +01:00
when: laptop_install_deb_url is defined
2024-12-29 11:13:21 +01:00
- name: install archived deb files
ansible.builtin.unarchive:
src: "{{ item }}"
dest: /usr/local/bin
remote_src: yes
loop: "{{ laptop_install_deb_url_archived }}"
2024-12-29 11:16:48 +01:00
when: laptop_install_deb_url_archived is defined
2024-12-29 11:11:03 +01:00
...