Commit 87b397b1 authored by nimrod's avatar nimrod
Browse files
parents 23f94e3a b8be0e68
Loading
Loading
Loading
Loading

.molecule/group_vars/all

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
five: 5
six: 6
eleven: '{{ five + six }}'
+5 −0
Original line number Diff line number Diff line
@@ -10,3 +10,8 @@
    sha: 94b506c144d4e22ebc1deef637a818db13bcaca5
    hooks:
    -   id: ansible-pre-commit
-   repo: https://github.com/willthames/ansible-lint.git
    sha: v3.3.3
    hooks:
    -   id: ansible-lint
        files: \.(yaml|yml)$
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ To install the dependencies:

.. code:: shell

    ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD)
    ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles

To run the full test suite:

+1 −1
Original line number Diff line number Diff line
[defaults]
host_key_checking = False
retry_files_enabled = False
roles_path = .molecule/roles:../
roles_path = roles:../:../../:.molecule/roles
command_warnings = True
deprecation_warnings = True

tests/test_example.py

0 → 100644
+7 −0
Original line number Diff line number Diff line
def test_example(Command):
    assert Command('uname').rc == 0


def test_root(Command, Sudo):
    with Sudo():
        assert Command('whoami').stdout == 'root'