Oleksii Molchanov | 69d0b1e | 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 Molchanov | a70a997 | 2020-11-17 17:11:53 +0200 | [diff] [blame] | 8 | openstack_control_node01_hostname: ctl01 |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 9 | keystone: |
| 10 | server: |
Oleksii Molchanov | a70a997 | 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: |
| 16 | fernet_sync_nodes_list: |
| 17 | sync_node01: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 18 | name: ${_param:cluster_node02_hostname} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 19 | enabled: True |
| 20 | sync_node02: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 21 | name: ${_param:cluster_node03_hostname} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 22 | enabled: True |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 23 | fernet_rotation_driver: ${_param:fernet_rotation_driver} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 24 | credential: |
| 25 | credential_sync_nodes_list: |
| 26 | sync_node01: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 27 | name: ${_param:cluster_node02_hostname} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 28 | enabled: True |
| 29 | sync_node02: |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 30 | name: ${_param:cluster_node03_hostname} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 31 | enabled: True |
Oleksii Grudev | 614facd | 2018-08-20 13:20:29 +0300 | [diff] [blame] | 32 | credential_rotation_driver: ${_param:credential_rotation_driver} |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 33 | linux: |
| 34 | system: |
Oleksii Grudev | edb5fa1 | 2018-09-26 15:44:46 +0300 | [diff] [blame] | 35 | package: |
| 36 | rsync: |
| 37 | version: latest |
Dmitry Teselkin | 986260f | 2018-08-30 19:07:25 +0300 | [diff] [blame] | 38 | cron: |
| 39 | user: |
| 40 | keystone: |
| 41 | enabled: true |
Oleksii Grudev | 6eb6434 | 2018-08-10 15:46:07 +0300 | [diff] [blame] | 42 | job: |
| 43 | keystone_fernet_rotate_rsync: |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 44 | 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] | 45 | enabled: true |
| 46 | user: keystone |
Oleksandr Bryndzii | 1558a8e | 2019-02-27 14:23:23 +0200 | [diff] [blame] | 47 | minute: ${_param:keystone_fernet_rotate_rsync_minute} |
| 48 | hour: ${_param:keystone_fernet_rotate_rsync_hour} |
Oleksii Grudev | 3b31b4d | 2018-08-17 11:19:11 +0300 | [diff] [blame] | 49 | keystone_credential_rotate_rsync: |
| 50 | 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' |
| 51 | enabled: true |
| 52 | user: keystone |
| 53 | hour: 0 |
| 54 | minute: 0 |
Oleksii Molchanov | 69d0b1e | 2020-10-22 21:06:32 +0300 | [diff] [blame] | 55 | backupninja: |
| 56 | client: |
| 57 | target: |
| 58 | home_dir: /srv/volumes/backup/backupninja |
| 59 | engine: rsync |
| 60 | engine_opts: "-av --delete --recursive --safe-links" |
| 61 | host: ${_param:infra_kvm_node03_address} |