1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

awstats/tasks/install.yml: sorting out Apache vs. NGINX dependencies

This commit is contained in:
A Holt 2021-05-21 08:41:02 -04:00 committed by GitHub
parent 19fe5c72bf
commit d9e3f298ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,19 +5,17 @@
# - 1 'when: nginx_install'
# - 8 core stanzas w/o such 'when:' clauses
- name: 'Install 3 packages: awstats, openssl, pwauth'
- name: 'Install package: awstats'
package:
name:
- awstats
- pwauth
- openssl
name: awstats
state: present
- name: 'Install 2 packages: apache2-utils, libapache2-mod-authnz-external'
- name: 'Install 3 packages: pwauth, apache2-utils, openssl'
package:
name:
- libapache2-mod-authnz-external
- apache2-utils
- pwauth # Auto-installs apache2-bin and libapache2-mod-authnz-external
- apache2-utils # Possibly not nec, due to above?
- openssl # Does NGINX need this too?
state: present
when: apache_installed is defined