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