7c632352a0
The behaviour of the `include` module is badly defined (it try to choose between statically importing the tasks and dynamically including them) and can cause problems depending on any number of constraints (mostly if it choose the wrong behaviour). Replace it with the `import_tasks` (always statically import tasks) unless the `include` is in a loop in which case we replace it with `include_tasks` (always dynamically include tasks). |
||
---|---|---|
.. | ||
defaults | ||
handlers | ||
tasks | ||
templates | ||
README.md |
evobackup-client
Allows the configuration of backups to one or more remote filesystems.
The backup hosts and the ports in use need to be defined in evobackup-client__hosts before running it.
The default zzz_evobackup.sh configures a system only backup, but the template can be overriden to configure a full backup instead. If you change the variables in defaults/main.yml you can easily run this again and configure backups to a second set of hosts.
Do not forget to set the evobackup-client__mail variable to an email adress you control.
You can add this example to an installation playbook to create the ssh key without running the rest of the role.
post_tasks:
- include_role:
name: evobackup-client tasks_from: ssh_key.yml