refactor(package): remove unnecessary state
This commit is contained in:
parent
e0043dd7ba
commit
fb81d8e694
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user