Update mikrotikbackup_clean.yml
This commit is contained in:
@@ -24,10 +24,12 @@
|
||||
community.routeros.command:
|
||||
commands: /system identity print
|
||||
register: identity_raw
|
||||
tags: always
|
||||
|
||||
- name: Parse router name
|
||||
set_fact:
|
||||
router_name: "{{ identity_raw.stdout[0].split(': ')[1] | trim }}"
|
||||
tags: always
|
||||
|
||||
# ----------------------------
|
||||
# Timestamp
|
||||
|
||||
Reference in New Issue
Block a user