Skip to content

Commit

Permalink
Also test and document the new variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Sep 23, 2021
1 parent 0e9d789 commit 7a27463
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions tasks/assert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7a27463

Please sign in to comment.