Merge pull request #287 from noelmcloughlin/nochange

fix(package): avoid unnecessary state change
This commit is contained in:
N 2020-10-14 20:41:50 +01:00 committed by GitHub
commit 2e10c8a11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -10,11 +10,6 @@ apache-package-install-deps-pkg-installed:
- names: {{ apache.pkg.deps|json }} - names: {{ apache.pkg.deps|json }}
- require: - require:
- apache-package-install-pkg-installed - apache-package-install-pkg-installed
{%- if grains.os_family == 'Debian' %}
cmd.run:
# because pkg.installed returns error during dpkg postinstall
- name: apt install libapache2-mod-security2 || true
{%- endif %}
{%- endif %} {%- endif %}
apache-package-install-pkg-installed: apache-package-install-pkg-installed:

View File

@ -405,6 +405,7 @@ apache:
- dav_lock - dav_lock
- auth_digest - auth_digest
- socache_shmcb - socache_shmcb
- watchdog
- xml2enc - xml2enc
- ldap - ldap
disabled: # List modules to disable disabled: # List modules to disable