diff --git a/tasks/configure_apache.yml b/tasks/configure_apache.yml index 4c39fa65a7fb3633299852c6d6dd00b00c71a784..70e193ada2aab89c06500ea7103e2894c0951327 100644 --- a/tasks/configure_apache.yml +++ b/tasks/configure_apache.yml @@ -32,6 +32,7 @@ # symlink /etc/apache2/conf-available/serve-cgi-bin.conf to /etc/apache2/conf-enabled/ - name: CGI-Extension-Config aktivieren command: "/usr/sbin/a2enconf serve-cgi-bin" # noqa 301 + changed_when: "not db_create_result.stdout|search('already enabled')" notify: - restart apache