Role for restoring the database data
userdba: The owner of the application database db: The name of the database target_file: The sql file to upload to the server appdir: The location to upload the file, must be accessible to the userdba
- hosts: servers
roles:
- {
role: oscbco.restore_database,
userdba: "{{ global_userdba }}",
db: "{{ global_db }}",
target_file: oscbco.sql,
appdir: "{{ global_appdir }}"
}
MIT
oscbco.me