I'm trying to get the following to run:

--

- name:  backup
  hosts: prod-2016
  gather_facts: false
  tasks:
    - name: Backup share
      win_robocopy:
        src: "\\10.5.1.248\\Data"
        dest: "Z:\\stuff\\IT_Backup\\CIF\\Data"
        remote_src: yes
        recurse: yes
        purge: yes

I get the following error:

fatal: [prod-2016]: FAILED! => {"changed": false, "dest": 
"Z:\\stuff\\IT_Backup\\CIF\\Data", "msg": "\\10.5.1.248\\Data does not 
exist!", "purge": true, "recurse": true, "src": "\\10.5.1.248\\Data"}

I added remote_src: yes as suggested in searches, but still no luck. The 
src is is an actual CIF server running directly on a NetAPP SAN (SVM), so I 
don't have root access or anything to it...Just CIFS access.



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/96757e08-d70c-4a3d-920c-c0830409a869%40googlegroups.com.

Reply via email to