DEV Community

Query Filter
Query Filter

Posted on

gradle-77

- name: "INSTALL: UNPACK TAR ARCHIVE"
  ansible.builtin.unarchive:
    src: "{{ found_tars.files[0].path }}"
    dest: "/opt/{{ project_name }}"  # Target directory on the remote host
    remote_src: yes                   # Keeps processing on the remote node
    owner: cometgran                 # User ownership from your build spec
    group: comet                     # Group ownership from your build spec
    mode: '0755'                     # Directory and file permissions
  become: yes
  register: tar_install_status
Enter fullscreen mode Exit fullscreen mode

Top comments (0)