Files @ e970d4afbea4
Branch filter:

Location: majic-ansible-roles/roles/mail_server/meta/main.yml

branko
MAR-128: Upgraded tests for xmpp_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).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Renamed hosts to include the Debian version.
- Updated names for some of the test data to cater to change in host
names.
- Switched to using more robust task for populating /etc/hosts.
1
2
3
4
5
6
7
8
9
---

dependencies:
  - common
  - role: backup
    when: enable_backup
    backup_patterns_filename: "mail_server"
    backup_patterns:
      - "/var/{{ mail_user }}"