Skip to content

Instantly share code, notes, and snippets.

@robrant
Created November 7, 2016 07:57
Show Gist options
  • Save robrant/33bfb8935d1a1004c22cbe51056f4e65 to your computer and use it in GitHub Desktop.
Save robrant/33bfb8935d1a1004c22cbe51056f4e65 to your computer and use it in GitHub Desktop.
Ansible fetch example
- name: Fetch down the key to this control box
fetch:
src: "{{ filebeat_key_path }}/{{ filebeat_key_name }}"
dest: "{{ playbook_dir }}/roles/filebeat/files/{{ filebeat_key_name }}"
flat: yes
tags: logstash_fetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment