fatal: [1.1.1.1]: FAILED! => {"changed": false, "msg": "Local file is different than remote file"}

Viewed 29

This is my ansible playbook and running into issue trying to download from gcp

---
- name: Deploy release
  hosts: all
  vars:
    build_object_name: "build.zip"

  tasks:
    - name: Assert variables
      assert:
        that:
          - build_object_name is defined

    - name: Download from gcp
      gcp_storage_object:
        action: download
        bucket: ansible-bucket
        src: "{{build_object_name}}"
        dest: "/tmp/build.zip"
        auth_kind: machineaccount
        service_account_email: default

This is the error I received:

fatal: [1.1.1.1]: FAILED! => {"changed": false, "msg": "Local file is different than remote file"}

Anyone knows what that means?

0 Answers
Related