add laptop setup #268

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

View file

@ -5,12 +5,4 @@
deb: "{{ item }}" deb: "{{ item }}"
loop: "{{ laptop_install_deb_url }}" loop: "{{ laptop_install_deb_url }}"
when: laptop_install_deb_url is defined 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
... ...

View file

@ -1,16 +1,9 @@
--- ---
- 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 - name: install archived deb files
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: "{{ item }}" src: "{{ item }}"
dest: /usr/local/bin dest: /usr/local/bin
remote_src: yes remote_src: true
loop: "{{ laptop_install_deb_url_archived }}" loop: "{{ laptop_install_deb_url_archived }}"
when: laptop_install_deb_url_archived is defined when: laptop_install_deb_url_archived is defined
... ...