Oleksii Molchanov | be81777 | 2020-10-22 21:06:32 +0300 | [diff] [blame^] | 1 | classes: |
| 2 | - system.backupninja.client.single |
| 3 | - system.openssh.client.root |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 4 | parameters: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 5 | _param: |
| 6 | fernet_rotation_driver: 'rsync' |
| 7 | credential_rotation_driver: 'rsync' |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 8 | keystone: |
| 9 | server: |
| 10 | tokens: |
| 11 | fernet_sync_nodes_list: |
| 12 | sync_node01: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 13 | name: ${_param:cluster_node02_hostname} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 14 | enabled: True |
| 15 | sync_node02: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 16 | name: ${_param:cluster_node03_hostname} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 17 | enabled: True |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 18 | fernet_rotation_driver: ${_param:fernet_rotation_driver} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 19 | credential: |
| 20 | credential_sync_nodes_list: |
| 21 | sync_node01: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 22 | name: ${_param:cluster_node02_hostname} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 23 | enabled: True |
| 24 | sync_node02: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 25 | name: ${_param:cluster_node03_hostname} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 26 | enabled: True |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 27 | credential_rotation_driver: ${_param:credential_rotation_driver} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 28 | linux: |
| 29 | system: |
Oleksii Grudev | edb5fa1 | 2018-09-26 15:44:46 +0300 | [diff] [blame] | 30 | package: |
| 31 | rsync: |
| 32 | version: latest |
Dmitry Teselkin | 986260f | 2018-08-30 19:07:25 +0300 | [diff] [blame] | 33 | cron: |
| 34 | user: |
| 35 | keystone: |
| 36 | enabled: true |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 37 | job: |
| 38 | keystone_fernet_rotate_rsync: |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 39 | command: '/var/lib/keystone/keystone_keys_rotate.sh -r -s -t fernet >> /var/log/keystone/keystone-rotate.log 2>> /var/log/keystone/keystone-rotate.log' |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 40 | enabled: true |
| 41 | user: keystone |
Oleksandr Bryndzii | 79b8968 | 2019-02-27 14:23:23 +0200 | [diff] [blame] | 42 | minute: ${_param:keystone_fernet_rotate_rsync_minute} |
| 43 | hour: ${_param:keystone_fernet_rotate_rsync_hour} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 44 | keystone_credential_rotate_rsync: |
| 45 | command: '/var/lib/keystone/keystone_keys_rotate.sh -r -s -t credential >> /var/log/keystone/keystone-rotate.log 2>> /var/log/keystone/keystone-rotate.log' |
| 46 | enabled: true |
| 47 | user: keystone |
| 48 | hour: 0 |
| 49 | minute: 0 |
Oleksii Molchanov | be81777 | 2020-10-22 21:06:32 +0300 | [diff] [blame^] | 50 | backupninja: |
| 51 | client: |
| 52 | target: |
| 53 | home_dir: /srv/volumes/backup/backupninja |
| 54 | engine: rsync |
| 55 | engine_opts: "-av --delete --recursive --safe-links" |
| 56 | host: ${_param:infra_kvm_node03_address} |