comware backup

This commit is contained in:
ROTTLER Tamas 2023-03-02 17:40:38 +01:00
parent c3d3ff85da
commit f47f559afb
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
{% if 'routeros' in group_names %}routeros
{% elif 'ciscoasa' in group_names %}asa
{% elif 'ciscoios' in group_names %}ios
{% elif 'hpcomware' in group_names %}comware
{% else %}undefined
{% endif %}

View File

@ -1,6 +1,6 @@
---
- name: set router configuration backup directory
hosts: routeros,ciscoasa,!ciscoasa_slave,ciscoios
hosts: routeros,ciscoasa,!ciscoasa_slave,ciscoios,hpcomware
gather_facts: no
tags: always
tasks:
@ -11,7 +11,7 @@
routerbackup_maxage: 24
- name: use router backup role
hosts: routeros,ciscoasa,!ciscoasa_slave,ciscoios
hosts: routeros,ciscoasa,!ciscoasa_slave,ciscoios,hpcomware
gather_facts: no
roles:
- routerbackup