blob: 4db82ccb8071a2c62a051c20eacc8e227e913fe8 [file] [log] [blame]
classes:
- system.backupninja.client.single
- system.openssh.client.root
parameters:
_param:
fernet_rotation_driver: 'rsync'
credential_rotation_driver: 'rsync'
openstack_control_node01_hostname: ctl01
keystone:
server:
initial_data:
home_dir: /srv/volumes/backup/backupninja
host: ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
source: ${_param:infra_kvm_node03_address}
tokens:
fernet_sync_nodes_list:
sync_node01:
name: ${_param:cluster_node02_hostname}
enabled: True
sync_node02:
name: ${_param:cluster_node03_hostname}
enabled: True
fernet_rotation_driver: ${_param:fernet_rotation_driver}
credential:
credential_sync_nodes_list:
sync_node01:
name: ${_param:cluster_node02_hostname}
enabled: True
sync_node02:
name: ${_param:cluster_node03_hostname}
enabled: True
credential_rotation_driver: ${_param:credential_rotation_driver}
linux:
system:
package:
rsync:
version: latest
cron:
user:
keystone:
enabled: true
job:
keystone_fernet_rotate_rsync:
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'
enabled: true
user: keystone
minute: ${_param:keystone_fernet_rotate_rsync_minute}
hour: ${_param:keystone_fernet_rotate_rsync_hour}
keystone_credential_rotate_rsync:
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'
enabled: true
user: keystone
hour: 0
minute: 0
backupninja:
client:
target:
home_dir: /srv/volumes/backup/backupninja
engine: rsync
engine_opts: "-av --delete --recursive --safe-links"
host: ${_param:infra_kvm_node03_address}