diff --git a/plugins/modules/status_page.py b/plugins/modules/status_page.py index 115f9d7..d376ba9 100644 --- a/plugins/modules/status_page.py +++ b/plugins/modules/status_page.py @@ -37,6 +37,9 @@ published: description: True if the status page is published. type: bool + showCertificateExpiry: + description: Show Certificate Expiry. + type: bool showTags: description: True if the tags are shown. type: bool @@ -233,6 +236,7 @@ def main(): description=dict(type="str"), theme=dict(type="str", choices=["auto", "light", "dark"]), published=dict(type="bool"), + showCertificateExpiry=dict(type="bool"), showTags=dict(type="bool"), domainNameList=dict(type="list", elements="str"), googleAnalyticsId=dict(type="str"), diff --git a/tests/unit/plugins/module_utils/test_status_page.py b/tests/unit/plugins/module_utils/test_status_page.py index f61a5b9..7430c92 100644 --- a/tests/unit/plugins/module_utils/test_status_page.py +++ b/tests/unit/plugins/module_utils/test_status_page.py @@ -15,6 +15,7 @@ def setUp(self): "description": None, "theme": None, "published": None, + "showCertificateExpiry": None, "showTags": None, "domainNameList": None, "googleAnalyticsId": None, @@ -38,6 +39,7 @@ def test_status_page(self): "description": "description 1", "theme": "light", "published": True, + "showCertificateExpiry": False, "showTags": False, "domainNameList": [], "googleAnalyticsId": None, @@ -66,6 +68,7 @@ def test_status_page(self): self.assertEqual(status_page["description"], self.params["description"]) self.assertEqual(status_page["theme"], self.params["theme"]) self.assertEqual(status_page["published"], self.params["published"]) + self.assertEqual(status_page["showCertificateExpiry"], self.params["showCertificateExpiry"]) self.assertEqual(status_page["showTags"], self.params["showTags"]) self.assertEqual(status_page["domainNameList"], self.params["domainNameList"]) self.assertEqual(status_page["googleAnalyticsId"], self.params["googleAnalyticsId"])