diff --git a/galaxy.yml b/galaxy.yml index 08b9eb0..6c160bc 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -8,7 +8,7 @@ namespace: s3lph name: webserver # The version of the collection. Must be compatible with semantic versioning -version: 0.2.3 +version: 0.2.4 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/roles/apache2/tasks/config.yml b/roles/apache2/tasks/config.yml index c8685db..39804ec 100644 --- a/roles/apache2/tasks/config.yml +++ b/roles/apache2/tasks/config.yml @@ -58,7 +58,8 @@ owner: root group: root loop: "{{ apache2_sites.keys() }}" - notify: Reload apache2 + ignore_errors: "{{ ansible_check_mode }}" + notify: Reload Apache2 - name: Render Apache2 global config ansible.builtin.template: @@ -67,7 +68,7 @@ owner: root group: root mode: "0644" - notify: Reload apache2 + notify: Reload Apache2 - name: Enable Apache2 global config ansible.builtin.file: @@ -76,4 +77,5 @@ src: "../conf-available/99-sslconfig.conf" owner: root group: root - notify: Reload apache2 + ignore_errors: "{{ ansible_check_mode }}" + notify: Reload Apache2