| 1 | --- |
| 2 | - name: Dell OpenManage Ansible iDRAC SupportAssist. |
| 3 | hosts: idrac |
| 4 | gather_facts: false |
| 5 | |
| 6 | tasks: |
| 7 | - name: Accept the EULA and run and export the SupportAssist |
| 8 | Collection to local path |
| 9 | dellemc.openmanage.idrac_support_assist: |
| 10 | idrac_ip: "192.168.0.1" |
| 11 | idrac_user: "idrac_user" |
| 12 | idrac_password: "idrac_password" |
| 13 | accept_eula: true |
| 14 | ca_path: "path/to/ca_file" |
| 15 | data_collector: ["debug_logs", "hardware_data", "os_app_data", |
| 16 | "storage_logs"] |
| 17 | share_parameters: |
| 18 | share_type: "local" |
| 19 | share_name: "/opt/local/support_assist_collections/" |
| 20 | delegate_to: localhost |
| 21 | |
| 22 | - name: Run the SupportAssist Collection with with custom |
| 23 | data_to_collect with filter_data |
| 24 | dellemc.openmanage.idrac_support_assist: |
| 25 | idrac_ip: "192.168.0.1" |
| 26 | idrac_user: "idrac_user" |
| 27 | idrac_password: "idrac_password" |
| 28 | ca_path: "path/to/ca_file" |
| 29 | export: false |
| 30 | filter_data: true |
| 31 | data_collector: ["debug_logs", "hardware_data"] |
| 32 | delegate_to: localhost |
| 33 | |
| 34 | - name: Run and export the SupportAssist Collection to https share |
| 35 | dellemc.openmanage.idrac_support_assist: |
| 36 | idrac_ip: "192.168.0.1" |
| 37 | idrac_user: "idrac_user" |
| 38 | idrac_password: "idrac_password" |
| 39 | ca_path: "path/to/ca_file" |
| 40 | data_collector: ["hardware_data"] |
| 41 | share_parameters: |
| 42 | share_type: "https" |
| 43 | ignore_certificate_warning: "on" |
| 44 | share_name: "/share_path/support_assist_collections" |
| 45 | ip_address: "192.168.0.2" |
| 46 | delegate_to: localhost |
| 47 | |
| 48 | - name: Run and export the SupportAssist Collection to NFS share |
| 49 | dellemc.openmanage.idrac_support_assist: |
| 50 | idrac_ip: "192.168.0.1" |
| 51 | idrac_user: "idrac_user" |
| 52 | idrac_password: "idrac_password" |
| 53 | ca_path: "path/to/ca_file" |
| 54 | data_collector: ["debug_logs"] |
| 55 | share_parameters: |
| 56 | share_type: "nfs" |
| 57 | share_name: "nfsshare/support_assist_collections/" |
| 58 | ip_address: "192.168.0.3" |
| 59 | delegate_to: localhost |
| 60 | |
| 61 | - name: Export the last SupportAssist Collection to CIFS share |
| 62 | dellemc.openmanage.idrac_support_assist: |
| 63 | idrac_ip: "192.168.0.1" |
| 64 | idrac_user: "idrac_user" |
| 65 | idrac_password: "idrac_password" |
| 66 | ca_path: "path/to/ca_file" |
| 67 | run: false |
| 68 | share_parameters: |
| 69 | share_type: "cifs" |
| 70 | share_name: "/cifsshare/support_assist_collections/" |
| 71 | ip_address: "192.168.0.4" |
| 72 | share_username: "cifs_user" |
| 73 | share_password: "cifs_password" |
| 74 | delegate_to: localhost |
| 75 | |
| 76 | - name: Export the last SupportAssist Collection to CIFS share |
| 77 | dellemc.openmanage.idrac_support_assist: |
| 78 | idrac_ip: "192.168.0.1" |
| 79 | idrac_user: "idrac_user" |
| 80 | idrac_password: "idrac_password" |
| 81 | ca_path: "path/to/ca_file" |
| 82 | run: false |
| 83 | share_parameters: |
| 84 | share_type: "cifs" |
| 85 | share_name: "/cifsshare/support_assist_collections/" |
| 86 | ip_address: "192.168.0.4" |
| 87 | username: "cifs_user" |
| 88 | password: "cifs_password" |
| 89 | delegate_to: localhost |
| 90 | |
| 91 | - name: Export the last SupportAssist Collection to https share via proxy |
| 92 | dellemc.openmanage.idrac_support_assist: |
| 93 | idrac_ip: "192.168.0.1" |
| 94 | idrac_user: "idrac_user" |
| 95 | idrac_password: "idrac_password" |
| 96 | ca_path: "path/to/ca_file" |
| 97 | run: false |
| 98 | share_parameters: |
| 99 | share_type: "https" |
| 100 | share_name: "/share_path/support_assist_collections" |
| 101 | ignore_certificate_warning: "on" |
| 102 | ip_address: "192.168.0.2" |
| 103 | proxy_support: parameters_proxy |
| 104 | proxy_type: http |
| 105 | proxy_server: "192.168.0.5" |
| 106 | proxy_port: 1080 |
| 107 | proxy_idrac_user: "proxy_user" |
| 108 | proxy_idrac_password: "proxy_idrac_password" |
| 109 | delegate_to: localhost |