blob: 4bd09e98233bae62148536272580bee015bd16cc [file] [log] [blame]
Oleksii Molchanovbe817772020-10-22 21:06:32 +03001classes:
2- system.backupninja.client.single
3- system.openssh.client.root
Oleksii Grudev6eb64342018-08-10 15:46:07 +03004parameters:
Oleksii Grudev614facd2018-08-20 13:20:29 +03005 _param:
Oleksii Molchanovc71fadc2020-11-17 17:11:53 +02006 openstack_control_node01_hostname: ctl01
Oleksii Grudev614facd2018-08-20 13:20:29 +03007 fernet_rotation_driver: 'rsync'
8 credential_rotation_driver: 'rsync'
Oleksii Grudev6eb64342018-08-10 15:46:07 +03009 keystone:
10 server:
Oleksii Molchanovc71fadc2020-11-17 17:11:53 +020011 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 Grudev6eb64342018-08-10 15:46:07 +030015 tokens:
Oleksii Grudev614facd2018-08-20 13:20:29 +030016 fernet_rotation_driver: ${_param:fernet_rotation_driver}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030017 credential:
Oleksii Grudev614facd2018-08-20 13:20:29 +030018 credential_rotation_driver: ${_param:credential_rotation_driver}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030019 linux:
20 system:
Oleksii Grudevedb5fa12018-09-26 15:44:46 +030021 package:
22 rsync:
23 version: latest
Dmitry Teselkin986260f2018-08-30 19:07:25 +030024 cron:
25 user:
26 keystone:
27 enabled: true
Oleksii Grudev6eb64342018-08-10 15:46:07 +030028 job:
29 keystone_fernet_rotate_rsync:
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030030 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 Grudev6eb64342018-08-10 15:46:07 +030031 enabled: true
32 user: keystone
Oleksandr Bryndzii79b89682019-02-27 14:23:23 +020033 minute: ${_param:keystone_fernet_rotate_rsync_minute}
34 hour: ${_param:keystone_fernet_rotate_rsync_hour}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030035 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 Molchanovbe817772020-10-22 21:06:32 +030041 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}