- block:
    - name: "pkgmgr install {{ BKP_DOCKER_2_LOC_PKG }}"
      include_role:
        name: pkgmgr-install
      vars:
        package_name: "{{ BKP_DOCKER_2_LOC_PKG }}"

    - name: "Retrieve {{ BKP_DOCKER_2_LOC_PKG }} path from pkgmgr"
      command: "pkgmgr path {{ BKP_DOCKER_2_LOC_PKG }}"
      register: pkgmgr_output
      changed_when: false

    - name: Set fact for backup_docker_to_local_folder
      set_fact:
        backup_docker_to_local_folder: "{{ pkgmgr_output.stdout }}/"
      changed_when: false
  when: backup_docker_to_local_folder is not defined
  vars:
    BKP_DOCKER_2_LOC_PKG: backup-docker-to-local
