From 7a274638c7eb8d1b5a7f7b506fcf682d8aee220d Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Thu, 23 Sep 2021 14:22:24 +0200 Subject: [PATCH] Also test and document the new variable. --- README.md | 3 +++ tasks/assert.yml | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 9264c76..70ec681 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,9 @@ httpd_openssl_crt: "{{ httpd_openssl_crt_directory }}/apache-httpd.crt" # SSL Key httpd_openssl_key: "{{ httpd_openssl_key_directory }}/apache-httpd.key" + +# If the "it works" page should be kept +httpd_remove_example: no ``` ## [Requirements](#requirements) diff --git a/tasks/assert.yml b/tasks/assert.yml index 098e214..07f111e 100644 --- a/tasks/assert.yml +++ b/tasks/assert.yml @@ -144,3 +144,10 @@ when: - httpd_directories is defined - item.allow_override is defined + +- name: test if httpd_remove_example is set correctly + ansible.builtin.assert: + that: + - httpd_remove_example is defined + - httpd_remove_example is boolean + quiet: yes