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: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 11 | fernet_rotation_driver: ${_param:fernet_rotation_driver} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 12 | credential: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 13 | credential_rotation_driver: ${_param:credential_rotation_driver} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 14 | linux: |
| 15 | system: |
Oleksii Grudev | edb5fa1 | 2018-09-26 15:44:46 +0300 | [diff] [blame] | 16 | package: |
| 17 | rsync: |
| 18 | version: latest |
Dmitry Teselkin | 986260f | 2018-08-30 19:07:25 +0300 | [diff] [blame] | 19 | cron: |
| 20 | user: |
| 21 | keystone: |
| 22 | enabled: true |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 23 | job: |
| 24 | keystone_fernet_rotate_rsync: |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 25 | command: '/var/lib/keystone/keystone_keys_rotate.sh -r -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] | 26 | enabled: true |
| 27 | user: keystone |
Oleksandr Bryndzii | 79b8968 | 2019-02-27 14:23:23 +0200 | [diff] [blame] | 28 | minute: ${_param:keystone_fernet_rotate_rsync_minute} |
| 29 | hour: ${_param:keystone_fernet_rotate_rsync_hour} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 30 | keystone_credential_rotate_rsync: |
| 31 | command: '/var/lib/keystone/keystone_keys_rotate.sh -r -t credential >> /var/log/keystone/keystone-rotate.log 2>> /var/log/keystone/keystone-rotate.log' |
| 32 | enabled: true |
| 33 | user: keystone |
| 34 | hour: 0 |
| 35 | minute: 0 |
Oleksii Molchanov | be81777 | 2020-10-22 21:06:32 +0300 | [diff] [blame^] | 36 | backupninja: |
| 37 | client: |
| 38 | target: |
| 39 | home_dir: /srv/volumes/backup/backupninja |
| 40 | engine: rsync |
| 41 | engine_opts: "-av --delete --recursive --safe-links" |
| 42 | host: ${_param:infra_kvm_node03_address} |