diff --git a/.config/requirements-docs.txt b/.config/requirements-docs.txt index 5f4bbb5aa..884fe492e 100644 --- a/.config/requirements-docs.txt +++ b/.config/requirements-docs.txt @@ -1,3 +1,3 @@ mkdocs-ansible[lock]>=0.1.4 pipdeptree>=2.4.0 -linkchecker +linkchecker==10.2.1 diff --git a/docs/examples.md b/docs/examples.md index ffdccb64c..030c24869 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -39,7 +39,7 @@ scenario's generated `molecule.yml` file. ## Docker With Non-Privileged User -The default Molecule Docker driver executes Ansible playbooks as the +The Molecule Docker driver executes Ansible playbooks as the root user. If your workflow requires adding support for running as a non-privileged user, then adapt `molecule.yml` and `Dockerfile.j2` as follows. diff --git a/docs/getting-started.md b/docs/getting-started.md index 4225d951e..9771be4dd 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -118,8 +118,8 @@ components that Molecule provides. These are: uses [galaxy development guide] by default to resolve your role dependencies. - The [driver](configuration.md#driver) provider. Molecule uses - [Docker](https://docs.docker.com/) by default. Molecule uses the - driver to delegate the task of creating instances. + the [Delegated](configuration.md#delegated) driver by default. + Molecule uses the driver to delegate the task of creating instances. - The [platforms](configuration.md#platforms) definitions. Molecule relies on this to know which instances to create, name and to which group each instance belongs. If you need to test your role against diff --git a/molecule/default/create.yml b/molecule/default/create.yml index b33ceb6c8..c847720b3 100644 --- a/molecule/default/create.yml +++ b/molecule/default/create.yml @@ -34,4 +34,4 @@ {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: 0600 + mode: "0600" diff --git a/molecule/default/destroy.yml b/molecule/default/destroy.yml index f4493abea..37137c3de 100644 --- a/molecule/default/destroy.yml +++ b/molecule/default/destroy.yml @@ -20,5 +20,5 @@ {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: 0600 + mode: "0600" when: server.changed | default(false) | bool # noqa no-handler diff --git a/src/molecule/data/templates/scenario/create.yml.j2 b/src/molecule/data/templates/scenario/create.yml.j2 index d589bc2db..1c9456a8e 100644 --- a/src/molecule/data/templates/scenario/create.yml.j2 +++ b/src/molecule/data/templates/scenario/create.yml.j2 @@ -6,7 +6,6 @@ gather_facts: false # no_log: "{{ molecule_no_log }}" tasks: - # TODO: Developer must implement and populate 'server' variable - name: Create instance config @@ -34,5 +33,5 @@ {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: 0600 + mode: "0600" {%- endraw %} diff --git a/src/molecule/data/templates/scenario/destroy.yml.j2 b/src/molecule/data/templates/scenario/destroy.yml.j2 index 08b95b329..d1bd41897 100644 --- a/src/molecule/data/templates/scenario/destroy.yml.j2 +++ b/src/molecule/data/templates/scenario/destroy.yml.j2 @@ -21,6 +21,6 @@ {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: 0600 + mode: "0600" when: server.changed | default(false) | bool # noqa no-handler {%- endraw %} diff --git a/src/molecule/driver/delegated.py b/src/molecule/driver/delegated.py index f6802aea9..b89865249 100644 --- a/src/molecule/driver/delegated.py +++ b/src/molecule/driver/delegated.py @@ -32,7 +32,7 @@ class Delegated(Driver): r"""The class responsible for managing default instances. - Delegated is `not` the default driver used in Molecule. + Delegated is the default driver used in Molecule. Under this driver, it is the developers responsibility to implement the create and destroy playbooks. ``Managed`` is the default behaviour of all