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

This commit is contained in:
Michael Grote 2024-12-29 11:43:08 +01:00
parent 3807e1744d
commit 6ab1c38fcf
2 changed files with 13 additions and 13 deletions

View file

@ -1,8 +1,9 @@
--- ---
- name: install deb files - name: install archived deb files
become: true ansible.builtin.unarchive:
ansible.builtin.apt: src: "{{ item }}"
deb: "{{ item }}" dest: /usr/local/bin
loop: "{{ laptop_install_deb_url }}" remote_src: true
when: laptop_install_deb_url is defined loop: "{{ laptop_install_deb_url_archived }}"
when: laptop_install_deb_url_archived is defined
... ...

View file

@ -1,9 +1,8 @@
--- ---
- name: install archived deb files - name: install deb files
ansible.builtin.unarchive: become: true
src: "{{ item }}" ansible.builtin.apt:
dest: /usr/local/bin deb: "{{ item }}"
remote_src: true loop: "{{ laptop_install_deb_url }}"
loop: "{{ laptop_install_deb_url_archived }}" when: laptop_install_deb_url is defined
when: laptop_install_deb_url_archived is defined
... ...