--- # Download the p4, p4d, and p4broker binaries into p4_bin_dest. # Callers must set: # p4_bin_dest - directory the binaries are downloaded into # Release directories come from perforce_version / perforce_broker_version. - name: "Download Perforce binaries" ansible.builtin.get_url: url: "https://ftp.perforce.com/perforce/r{{ item.version }}/bin.linux26{{ perforce_arch }}/{{ item.name }}" dest: "{{ p4_bin_dest }}" owner: "{{ perforce_user }}" group: "{{ perforce_group }}" mode: '0700' loop: - { name: 'p4', version: "{{ perforce_version }}" } - { name: 'p4d', version: "{{ perforce_version }}" } - { name: 'p4broker', version: "{{ perforce_broker_version }}" } loop_control: label: "{{ item.name }}"