ff
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 3s
ansible-lint / Ansible Lint (pull_request) Successful in 25s

This commit is contained in:
Michael Grote 2024-12-29 11:42:40 +01:00
parent 582ef0795e
commit 3807e1744d
2 changed files with 2 additions and 17 deletions

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