I just want to make a very simple playbook  using the archive module: 

http://docs.ansible.com/ansible/archive_module.html


I tried many things including:
---
  - hosts: all
    tasks:
    - name: Archive

- archive:
    path: /path/to/foo
    dest: /path/to/foo.tgz


Can someone show me how to archive a file in a playbook ? 

Is there a better place for newbies to post this level of question?

-- 
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/78c3e14c-d20e-4459-8eff-6e62df6b9494%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to