---
# tasks file for gdb.bundletool

- name: Create bundletool directory
  ansible.builtin.file:
    path: "{{bundletool_installation_dir}}"
    state: directory
    owner: "{{bundletool_installation_dir_user}}"
    group: "{{bundletool_installation_dir_user}}"

- include_tasks: download.yml

- name: Create bundletool executable
  ansible.builtin.template:
    src:    'usr/bin/bundletool.j2'
    dest:   '/usr/bin/bundletool'
    backup: 'false'
    group:  'root'
    owner:  'root'
    mode:   0777
