homeserver/roles/mgrote_install_deb_files_from_url/tasks/main.yml
2024-12-29 11:18:38 +01:00

16 lines
407 B
YAML

---
- 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
...