Skip to content
Snippets Groups Projects
Commit 7c511a46 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: idempotence for CGI-Extension-Config activation task

parent 2836a3bc
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
# symlink /etc/apache2/conf-available/serve-cgi-bin.conf to /etc/apache2/conf-enabled/ # symlink /etc/apache2/conf-available/serve-cgi-bin.conf to /etc/apache2/conf-enabled/
- name: CGI-Extension-Config aktivieren - name: CGI-Extension-Config aktivieren
command: "/usr/sbin/a2enconf serve-cgi-bin" # noqa 301 command: "/usr/sbin/a2enconf serve-cgi-bin" # noqa 301
changed_when: "not db_create_result.stdout|search('already enabled')"
notify: notify:
- restart apache - restart apache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment