Files @ 530a5b0abb6d
Branch filter:

Location: majic-ansible-roles/roles/common/molecule.yml

branko
MAR-107: Test implementation for role 'backup_server':

- Implemented common set of tests.
- Implemented tests for role usage where only mandatory parameters are
supplied.
- Implemented tests that are relevant to optional parameters.
- Tests cover full functionality of the backup server.
---

dependency: {}

driver:
  name: vagrant

vagrant:

  platforms:
    - name: debian-jessie64
      box: debian/contrib-jessie64
    - name: debian-stretch64
      box: debian/stretch64

  providers:
    - name: virtualbox
      type: virtualbox
      options:
        memory: 512
        cpus: 1

  instances:

    - name: helper
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.2
          auto_config: yes

    - name: parameters-mandatory
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.3
          auto_config: yes

    - name: parameters-optional
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.4
          auto_config: yes

verifier:
  name: testinfra