From 6844a03ee464df3cdf844efdb27cdd215ae64a00 Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Tue, 22 Oct 2024 13:56:26 +0200 Subject: [PATCH] irods roles: add tests (#216) --- .../roles/irods_icommands/molecule/default/converge.yml | 9 +++++++++ .../roles/irods_icommands/molecule/default/molecule.yml | 8 ++++++++ playbooks/roles/irods_iselect/molecule | 1 + playbooks/roles/irods_repo/molecule | 1 + playbooks/roles/irods_skel/molecule | 1 + 5 files changed, 20 insertions(+) create mode 100644 playbooks/roles/irods_icommands/molecule/default/converge.yml create mode 100644 playbooks/roles/irods_icommands/molecule/default/molecule.yml create mode 120000 playbooks/roles/irods_iselect/molecule create mode 120000 playbooks/roles/irods_repo/molecule create mode 120000 playbooks/roles/irods_skel/molecule diff --git a/playbooks/roles/irods_icommands/molecule/default/converge.yml b/playbooks/roles/irods_icommands/molecule/default/converge.yml new file mode 100644 index 00000000..d5c7fc1f --- /dev/null +++ b/playbooks/roles/irods_icommands/molecule/default/converge.yml @@ -0,0 +1,9 @@ +--- +- name: Converge + hosts: all + gather_facts: true + roles: + - role: irods_repo + - role: irods_icommands + - role: irods_iselect + - role: irods_skel diff --git a/playbooks/roles/irods_icommands/molecule/default/molecule.yml b/playbooks/roles/irods_icommands/molecule/default/molecule.yml new file mode 100644 index 00000000..ab7ccceb --- /dev/null +++ b/playbooks/roles/irods_icommands/molecule/default/molecule.yml @@ -0,0 +1,8 @@ +--- +provisioner: + name: ansible + playbooks: + converge: ./converge.yml + env: + ANSIBLE_ROLES_PATH: ../../../ +role_name_check: 1 diff --git a/playbooks/roles/irods_iselect/molecule b/playbooks/roles/irods_iselect/molecule new file mode 120000 index 00000000..7c8f080a --- /dev/null +++ b/playbooks/roles/irods_iselect/molecule @@ -0,0 +1 @@ +../irods_icommands/molecule \ No newline at end of file diff --git a/playbooks/roles/irods_repo/molecule b/playbooks/roles/irods_repo/molecule new file mode 120000 index 00000000..7c8f080a --- /dev/null +++ b/playbooks/roles/irods_repo/molecule @@ -0,0 +1 @@ +../irods_icommands/molecule \ No newline at end of file diff --git a/playbooks/roles/irods_skel/molecule b/playbooks/roles/irods_skel/molecule new file mode 120000 index 00000000..7c8f080a --- /dev/null +++ b/playbooks/roles/irods_skel/molecule @@ -0,0 +1 @@ +../irods_icommands/molecule \ No newline at end of file