blob: d598a39a1c986272fda93e221d22ce6082d9dfe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# The format of this file is:
#
# HOST PLUGIN_NAME [ARGS...]
#
# Beware, each line is naively split on whitespace to tokenize the arguments.
# Quoting, escaping, shell characters, etc are NOT supported.
# opnsense firewalls
{% for host in groups.opnsense_firewalls %}
{{ host }} archive_opnsense {{ hostvars[host].opnsense_backup_api_key }} {{ hostvars[host].opnsense_backup_api_secret }}
{% endfor %}
# edgeswitches
{% for host in groups.switches %}
{{ host }} archive_edgeswitch {{ hostvars[host].edgeswitch_backup_username }} {{ hostvars[host].edgeswitch_backup_password }}
{% endfor %}
|