Files
@ 277c561f3f52
Branch filter:
Location: majic-ansible-roles/roles/backup_server/playbook.yml - annotation
277c561f3f52
1.2 KiB
text/x-yaml
MAR-28: Impelmented general and SMTP-related tests for mail_server:
- Increased amount of memory in test instances to 768MB.
- Fixed playbook for runs against client test instances.
- Fixed typos and invalid settings in test playbook.
- Switched to expanded syntax in tasks used for deploying TLS keys and
certificates in order to avoid mangling of TAB characters.
- Fixed missing permissions set-up for Postfix main configuration file.
- Fixed deployment of Postfix master.cf configuration file to take into account
configurable virtual mail user.
- Implemented tests covering SMTP functionality.
- Increased amount of memory in test instances to 768MB.
- Fixed playbook for runs against client test instances.
- Fixed typos and invalid settings in test playbook.
- Switched to expanded syntax in tasks used for deploying TLS keys and
certificates in order to avoid mangling of TAB characters.
- Fixed missing permissions set-up for Postfix main configuration file.
- Fixed deployment of Postfix master.cf configuration file to take into account
configurable virtual mail user.
- Implemented tests covering SMTP functionality.
ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 ec2d038c9332 | ---
- hosts: all
tasks:
- name: Update all caches to avoid errors due to missing remote archives
apt:
update_cache: yes
- hosts: parameters-mandatory
roles:
- role: backup_server
backup_host_ssh_private_keys:
dsa: "{{ lookup('file', 'tests/data/ssh/server_dsa') }}"
rsa: "{{ lookup('file', 'tests/data/ssh/server_rsa') }}"
ed25519: "{{ lookup('file', 'tests/data/ssh/server_ed25519') }}"
ecdsa: "{{ lookup('file', 'tests/data/ssh/server_ecdsa') }}"
- hosts: parameters-optional
roles:
- role: backup_server
backup_host_ssh_private_keys:
dsa: "{{ lookup('file', 'tests/data/ssh/server_dsa') }}"
rsa: "{{ lookup('file', 'tests/data/ssh/server_rsa') }}"
ed25519: "{{ lookup('file', 'tests/data/ssh/server_ed25519') }}"
ecdsa: "{{ lookup('file', 'tests/data/ssh/server_ecdsa') }}"
backup_clients:
- server: client1.backup
ip: 10.31.127.1
public_key: "{{ lookup('file', 'tests/data/ssh/client1.pub') }}"
- server: client2-backup
uid: 5001
ip: 10.31.127.3
public_key: "{{ lookup('file', 'tests/data/ssh/client2.pub') }}"
|