No need for the renaming
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
42d6068241
commit
e4a557815b
1 changed files with 1 additions and 4 deletions
|
@ -25,12 +25,9 @@
|
||||||
register: sar_data
|
register: sar_data
|
||||||
become: yes
|
become: yes
|
||||||
become_user: "{{ sar_script_user }}"
|
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
|
# Store the result on disk
|
||||||
- copy:
|
- copy:
|
||||||
content: "{{ sar_data }}"
|
content: "{{ sar_data['stdout'] }}"
|
||||||
dest: "{{ hostvars['localhost']['sar_tmp_dir'] }}/{{ sar_output_file }}"
|
dest: "{{ hostvars['localhost']['sar_tmp_dir'] }}/{{ sar_output_file }}"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
delegate_facts: false
|
delegate_facts: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue