fetch_results.yaml 342 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
- name: Fetch Results
  hosts: all
  gather_facts: true
  vars:
    workspace: '{{ ansible_user_dir }}/sb-workspace'
  tasks:
    - name: Synchronize Output Directory
      ansible.posix.synchronize:
        mode: pull
        src: '{{ workspace }}/{{ sb_output_dir }}/'
        dest: '{{ absolute_output_dir }}/nodes/{{ ansible_hostname }}'