diff --git a/extensions/molecule/no_tls_single_node/converge.yml b/extensions/molecule/no_tls_single_node/converge.yml new file mode 100644 index 0000000..e600756 --- /dev/null +++ b/extensions/molecule/no_tls_single_node/converge.yml @@ -0,0 +1,8 @@ +--- +- name: Converge + hosts: all + gather_facts: false + tasks: + - name: Replace this task with one that validates your content + ansible.builtin.debug: + msg: "This is the effective test" diff --git a/extensions/molecule/no_tls_single_node/molecule.yml b/extensions/molecule/no_tls_single_node/molecule.yml new file mode 100644 index 0000000..1b53c4b --- /dev/null +++ b/extensions/molecule/no_tls_single_node/molecule.yml @@ -0,0 +1,34 @@ +--- +dependency: + name: galaxy + options: + requirements-file: ./requirements.yml +driver: + name: vagrant + provider: + name: libvirt +platforms: + - name: instance + box: generic/${MOLECULE_TEST_OS} + cpus: 4 + memory: 4096 +provisioner: + name: ansible + config_options: + defaults: + remote_tmp: /tmp/.ansible +verifier: + name: ansible +scenario: + name: default_vagrant + test_sequence: + - dependency + - cleanup + - destroy + - create + - prepare + - converge + - idempotence + - verify + - cleanup + - destroy \ No newline at end of file diff --git a/extensions/molecule/no_tls_single_node/prepare.yml b/extensions/molecule/no_tls_single_node/prepare.yml new file mode 100644 index 0000000..7f58328 --- /dev/null +++ b/extensions/molecule/no_tls_single_node/prepare.yml @@ -0,0 +1,10 @@ +--- +- name: Prepare + hosts: all + become: true + tasks: + - name: "Include ednxzu.install_docker" + ansible.builtin.include_role: + name: ednxzu.install_docker + vars: + install_docker_python_packages: true diff --git a/extensions/molecule/no_tls_single_node/requirements.yml b/extensions/molecule/no_tls_single_node/requirements.yml new file mode 100644 index 0000000..94c5a52 --- /dev/null +++ b/extensions/molecule/no_tls_single_node/requirements.yml @@ -0,0 +1,7 @@ +--- +# requirements file for molecule +roles: + - name: ednxzu.manage_repositories + - name: ednxzu.manage_apt_packages + - name: ednxzu.install_docker + - name: ednxzu.docker_systemd_service diff --git a/extensions/molecule/no_tls_single_node/verify.yml b/extensions/molecule/no_tls_single_node/verify.yml new file mode 100644 index 0000000..5f1bb76 --- /dev/null +++ b/extensions/molecule/no_tls_single_node/verify.yml @@ -0,0 +1,6 @@ +--- +- name: Verify + hosts: all + gather_facts: true + become: true + tasks: [] diff --git a/playbooks/inventory/multinode.ini b/playbooks/inventory/multinode.ini new file mode 100644 index 0000000..e69de29 diff --git a/playbooks/vars/global.yml b/playbooks/vars/global.yml new file mode 100644 index 0000000..73b314f --- /dev/null +++ b/playbooks/vars/global.yml @@ -0,0 +1 @@ +--- \ No newline at end of file