diff --git a/playbooks/utils/veeam_backup_list.yml b/playbooks/utils/veeam_backup_list.yml index eeea8505b..df589e4a0 100644 --- a/playbooks/utils/veeam_backup_list.yml +++ b/playbooks/utils/veeam_backup_list.yml @@ -66,20 +66,20 @@ copy: dest: "/tmp/tags_report.csv" content: "Tag\n" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Append tags to CSV lineinfile: path: "/tmp/tags_report.csv" line: "{{ item }}" loop: "{{ unique_tags }}" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Append report date and time to tags CSV lineinfile: path: "/tmp/tags_report.csv" line: "Report Date/Time {{ lookup('pipe', \"date '+%m.%d.%Y %H:%M'\") }}" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Find VMs without tags ansible.builtin.set_fact: @@ -89,20 +89,20 @@ copy: dest: "/tmp/untagged_vms_report.csv" content: "VM Name\n" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Append untagged VMs to CSV lineinfile: path: "/tmp/untagged_vms_report.csv" line: "{{ item }}" loop: "{{ untagged_vms }}" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Append report date and time to untagged VMs CSV lineinfile: path: "/tmp/untagged_vms_report.csv" line: "Report Date/Time {{ lookup('pipe', \"date '+%m.%d.%Y %H:%M'\") }}" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Find VMs with tags ansible.builtin.set_fact: @@ -118,17 +118,17 @@ copy: dest: "/tmp/tagged_vms_report.csv" content: "VM Name,Tag Name,Disk Size\n" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Append tagged VMs to CSV lineinfile: path: "/tmp/tagged_vms_report.csv" line: "{{ item.VM_name }},{{ item.Tag_name }},{{ item.Disk_size }}" loop: "{{ slim_tagged_vms }}" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu - name: Append report date and time to tagged VMs CSV lineinfile: path: "/tmp/tagged_vms_report.csv" line: "Report Date/Time {{ lookup('pipe', \"date '+%m.%d.%Y %H:%M'\") }}" - delegate_to: localhost + delegate_to: sandbox-acozine.lib.princeton.edu