Files @ 7180fd36dda8
Branch filter:

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

branko
MAR-128: Upgraded tests for ROLE_NAME 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).
---

ansible:
  ansiblecfg_ssh_connection:
    pipelining: True

dependency: {}

driver:
  name: vagrant

vagrant:

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

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

  instances:

    - name: ldap-server
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.10
          auto_config: yes

    - name: client1
      groups:
        - client
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.20
          auto_config: yes

    - name: parameters-mandatory.domain1
      groups:
        - xmpp_server
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.30
          auto_config: yes

    - name: parameters-optional
      groups:
        - xmpp_server
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.31
          auto_config: yes

verifier:
  name: testinfra