Commit a82f5bde authored by nimrod's avatar nimrod
Browse files

- Upgraded Molecule to 1.14.0, updated the docs and molecule.yml

accordingly.
parent 1f52f9ae
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -29,21 +29,21 @@ See :code:`tests/playbook.yml`.
Testing
-------

Testing requires Virtualbox and Vagrant and Python 2.7. Install the Python
dependencies, add pre-commit hooks by running:
Testing requires Virtualbox, Vagrant and Python 2.7. Install the Python
dependencies, dependent roles and roles required for testing:

.. code:: shell

    pip install -r tests/requirements.txt
    pre-commit install
    ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
    molecule dependency

To run the full test suite:

.. code:: shell

    ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
    molecule test --platform all
    pre-commit run --all-files
    molecule test --platform all

License
-------
+3 −0
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@ ansible:
  playbook: tests/playbook.yml
  diff: True
  config_file: ../ansible.cfg

dependencies:
  name: galaxy
  requirements_file: tests/requirements.yml

vagrant:
+1 −1
Original line number Diff line number Diff line
ansible==2.2.0.0
testinfra==1.4.3
molecule==1.13.0
molecule==1.14.0
ansible-lint==3.4.4
pre-commit==0.9.3
piprot==0.9.7