Files @ 0b4f215b3b4e
Branch filter:

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

branko
MAR-108: Implemented tests for the backup_client role:

- Updated test playbook to deploy a simple script for testing pre-backup
handles.
- Added sample known_hosts to test data for comparison purposes.
- Implemented a number of tests covering common set-up, set-up using only
mandatory parameters, and set-up using optional parameters.
---

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