I am trying to get a playbook to run the open-scap scanner but I need those 
results on the remote host to be copied over to a network share I am trying 
something like this but getting "permission denied"

- name: find it
  find:
     path: /tmp/
     patterns: '*_oscap_results.html,*_oscap_arf.xml'
  register: oscap_results
  

- name: copy it 
  fetch: 
      src: "{{ item.path }}"
      dest: /mnt/SCAP/

Thanks for any tips. 

Andy Magana
Oklahoma City. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0725f34e-1207-4632-a6cf-e9a9a333edad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to