From e4a557815b6c192c04d27186b4c3abf1254d611c Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 18 May 2018 11:47:42 +0000 Subject: [PATCH] No need for the renaming Signed-off-by: Patrick Uiterwijk --- playbooks/manual/gdpr/sar.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/playbooks/manual/gdpr/sar.yml b/playbooks/manual/gdpr/sar.yml index 7006b1c2fa..c63868a169 100644 --- a/playbooks/manual/gdpr/sar.yml +++ b/playbooks/manual/gdpr/sar.yml @@ -25,12 +25,9 @@ register: sar_data become: yes become_user: "{{ sar_script_user }}" - # Let's make this a more conveniently expressed variable. - - set_fact: - sar_data: "{{ sar_data['stdout'] }}" # Store the result on disk - copy: - content: "{{ sar_data }}" + content: "{{ sar_data['stdout'] }}" dest: "{{ hostvars['localhost']['sar_tmp_dir'] }}/{{ sar_output_file }}" delegate_to: localhost delegate_facts: false