Files @ 92011aae7258
Branch filter:

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

branko
MAR-128: Upgraded tests for php_website 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.
- Fixed some linting issues.
- Updated hostname to include Debian version.
---

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: client1
      groups:
        - client
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.20
          auto_config: yes

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

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

verifier:
  name: testinfra