summaryrefslogtreecommitdiffstats
path: root/ansible_collections/dellemc/openmanage/roles/idrac_certificate
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/dellemc/openmanage/roles/idrac_certificate')
-rw-r--r--ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/converge.yml6
-rw-r--r--ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/molecule.yml12
2 files changed, 15 insertions, 3 deletions
diff --git a/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/converge.yml b/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/converge.yml
index 021cec95f..3b394ff6b 100644
--- a/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/converge.yml
+++ b/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/converge.yml
@@ -165,9 +165,9 @@
- name: Verify task status - Negative - invalid unreachable host
ansible.builtin.assert:
- that:
- - idrac_certificate_out.unreachable
- - '"Unable to communicate with" in idrac_certificate_out.msg'
+ that: >-
+ '"<urlopen error [Errno -2] Name or service not known>" in
+ idrac_certificate_out.msg' and idrac_certificate_out.unreachable
- name: Negative - invalid idrac user
ansible.builtin.import_role:
diff --git a/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/molecule.yml b/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/molecule.yml
index e69de29bb..c6b1e43af 100644
--- a/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/molecule.yml
+++ b/ansible_collections/dellemc/openmanage/roles/idrac_certificate/molecule/default/molecule.yml
@@ -0,0 +1,12 @@
+---
+scenario:
+ test_sequence:
+ - dependency
+ - cleanup
+ - destroy
+ - syntax
+ - create
+ - prepare
+ - check
+ - converge
+ - destroy