Closed jemrobinson closed 1 day ago
Replace the install_deb.sh script with native Ansible
install_deb.sh
Suggestion from #2093
- name: Install deb packages tags: apt block: - ansible.builtin.stat: path: "{{ item.creates }}" register: app - ansible.builtin.get_url: url: "{{ item.source }}" dest: /tmp/debfile.deb checksum: "{{ item.checksum }}" when: not app.exists - ansible.builtin.apt: deb: /tmp/debfile.deb state: present when: not app.exists loop: "{{ deb_packages[ansible_facts.distribution_release] }}"
:white_check_mark: Checklist
:strawberry: Suggested change
Replace the
install_deb.sh
script with native Ansible:steam_locomotive: How could this be done?
Suggestion from #2093