Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Getting Started docs as default verifier is now Ansible not testinfra #2625

Merged
merged 1 commit into from
Mar 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ directories:
.. code-block:: bash

$ ls
Dockerfile.j2 INSTALL.rst molecule.yml converge.yml tests
Dockerfile.j2 INSTALL.rst molecule.yml converge.yml verify.yml

* Since `Docker`_ is the default :ref:`driver`, we find a ``Dockerfile.j2``
`Jinja2`_ template file in place. Molecule will use this file to build a
Expand All @@ -83,10 +83,9 @@ directories:
role. Molecule will invoke this playbook with ``ansible-playbook`` and run it
against an instance created by the driver.

* ``tests`` is the tests directory created because Molecule uses
:std:doc:`TestInfra <testinfra:index>` as the default :ref:`verifier`. This
* ``verify.yml`` is the Ansible file used for testing as Ansible is the default :ref:`verifier`. This
allows you to write specific tests against the state of the container after
your role has finished executing. Other verifier tools are available.
your role has finished executing. Other verifier tools are available (Note that :std:doc:`TestInfra <testinfra:index>` was the default verifier prior to molecule version 3).

.. _Jinja2: http://jinja.pocoo.org/

Expand Down Expand Up @@ -117,8 +116,7 @@ keys represent the high level components that Molecule provides. These are:
* The :ref:`root_scenario` definition. Molecule relies on this configuration
to control the scenario sequence order.

* The :ref:`verifier` framework. Molecule uses :std:doc:`TestInfra
<testinfra:index>` by default to provide a way to write specific state
* The :ref:`verifier` framework. Molecule uses Ansible by default to provide a way to write specific state
checking tests (such as deployment smoke tests) on the target instance.

.. _YAML: https://yaml.org/
Expand Down