Files
@ ec4e3e91c4d3
Branch filter:
Location: majic-ansible-roles/testsite/group_vars/backup.yml - annotation
ec4e3e91c4d3
1.5 KiB
text/x-yaml
MAR-128: Upgraded tests for ldap_server role:
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Fixed some linting issues.
- Use localhost as backup client server name. This should make it
simpler in future to cover more platforms.
- Set-up the /etc/hosts for tests with correct entries (primarily
aliases towards localhost to make it less important what the
hostname is).
- Renamed private key/certificate files for parameters-mandatory
server since server got renamed as well.
- Updated IP addresses used for testing to make it easier to test new
platforms in the future.
- Use inventory_hostname-based parameterisation of tests where
appropriate. Currently hard-coded value for this because
host.ansible.get_variables() produces errors.
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Fixed some linting issues.
- Use localhost as backup client server name. This should make it
simpler in future to cover more platforms.
- Set-up the /etc/hosts for tests with correct entries (primarily
aliases towards localhost to make it less important what the
hostname is).
- Renamed private key/certificate files for parameters-mandatory
server since server got renamed as well.
- Updated IP addresses used for testing to make it easier to test new
platforms in the future.
- Use inventory_hostname-based parameterisation of tests where
appropriate. Currently hard-coded value for this because
host.ansible.get_variables() produces errors.
500658358454 500658358454 500658358454 500658358454 500658358454 500658358454 500658358454 1b05bae8e440 500658358454 500658358454 3686169e9565 3686169e9565 a45dcc06530a 3686169e9565 3686169e9565 a45dcc06530a 881a85f08e22 881a85f08e22 881a85f08e22 dbc3381e1ff3 dbc3381e1ff3 dbc3381e1ff3 c161524058d5 c161524058d5 c161524058d5 24c957d877de 24c957d877de 24c957d877de 500658358454 500658358454 500658358454 500658358454 500658358454 500658358454 | ---
local_mail_aliases:
root: "root john.doe@{{ testsite_domain }}"
smtp_relay_host: mail.{{ testsite_domain }}
smtp_relay_truststore: "{{ lookup('file', inventory_dir + '/tls/ca.pem') }}"
backup_clients:
- server: web.{{ testsite_domain }}
public_key: "{{ lookup('file', inventory_dir + '/ssh/web.' + testsite_domain + '.pub') }}"
ip: 10.32.64.18
- server: mail.{{ testsite_domain }}
public_key: "{{ lookup('file', inventory_dir + '/ssh/mail.' + testsite_domain + '.pub') }}"
ip: 10.32.64.15
- server: ldap.{{ testsite_domain }}
public_key: "{{ lookup('file', inventory_dir + '/ssh/ldap.' + testsite_domain + '.pub') }}"
ip: 10.32.64.12
- server: xmpp.{{ testsite_domain }}
public_key: "{{ lookup('file', inventory_dir + '/ssh/xmpp.' + testsite_domain + '.pub') }}"
ip: 10.32.64.16
- server: backup.{{ testsite_domain }}
public_key: "{{ lookup('file', inventory_dir + '/ssh/backup.' + testsite_domain + '.pub') }}"
ip: 127.0.0.1
- server: ws01.{{ testsite_domain }}
public_key: "{{ lookup('file', inventory_dir + '/ssh/ws01.' + testsite_domain + '.pub') }}"
ip: 10.32.64.22
backup_host_ssh_private_keys:
dsa: "{{ lookup('file', inventory_dir + '/ssh/backup_server_dsa_key') }}"
rsa: "{{ lookup('file', inventory_dir + '/ssh/backup_server_rsa_key') }}"
ed25519: "{{ lookup('file', inventory_dir + '/ssh/backup_server_ed25519_key') }}"
ecdsa: "{{ lookup('file', inventory_dir + '/ssh/backup_server_ecdsa_key') }}"
|