Files
@ 6b8b1d4c9061
Branch filter:
Location: majic-ansible-roles/roles/database/molecule/default/playbook.yml - annotation
6b8b1d4c9061
1005 B
text/x-yaml
MAR-129: Updated backup_server role linting and test configuration:
- Fixed linting issues.
- Use global linting configuration file.
- Moved test variables into group_vars.
- Fixed linting issues.
- Use global linting configuration file.
- Moved test variables into group_vars.
c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 8278ff584984 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 862402d2c45b 8278ff584984 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 8278ff584984 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 c6e7675e63f9 | ---
- hosts: parameters-mandatory
become: yes
roles:
- role: database
db_name: testdb
db_password: testdbpassword
# database_server role
db_root_password: "root_password"
- hosts: backup
become: yes
roles:
- role: database
db_name: testdb
db_password: testdbpassword
enable_backup: yes
# database_server
db_root_password: "root_password"
# backup_client
backup_client_username: "bak-localhost"
backup_encryption_key: "{{ lookup('file', 'tests/data/gnupg/parameters-optional.asc') }}"
backup_server: localhost
backup_server_host_ssh_public_keys:
- "{{ lookup('file', 'tests/data/ssh/server_dsa.pub') }}"
- "{{ lookup('file', 'tests/data/ssh/server_rsa.pub') }}"
- "{{ lookup('file', 'tests/data/ssh/server_ed25519.pub') }}"
- "{{ lookup('file', 'tests/data/ssh/server_ecdsa.pub') }}"
backup_ssh_key: "{{ lookup('file', 'tests/data/ssh/parameters-optional' ) }}"
|