diff --git a/mikrotikbackup.yml b/mikrotikbackup.yml index 536e298..7ff3bed 100644 --- a/mikrotikbackup.yml +++ b/mikrotikbackup.yml @@ -33,7 +33,7 @@ current_date: "{{ date_output.stdout }}" - name: Export router config - shell: timeout 15 ssh -o StrictHostKeyChecking=no {{ ansible_user }}@{{ ansible_host }} -p {{ ansible_port }} "/export" + shell: timeout 15 ssh -o StrictHostKeyChecking=no {{ ansible_user }}@{{ ansible_host }} -p {{ ansible_port }} "/export show-sensitive" register: export_output delegate_to: localhost when: system_identity.rc == 0