Commit 4a266034 authored by Chris Croome's avatar Chris Croome

Array for additional apache packages added

parent 4bb9a328
Pipeline #10973 failed with stage
in 14 seconds
......@@ -10,6 +10,9 @@ apache_tls1_3_cipher_suites: TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_C
apache_dhparam_path: /etc/apache2/dhparam.pem
apache_dhparam_size: 2048
apache_localhost_port: 80
apache_packages_present:
- lynx
# - libapache2-mod-geoip
apache_sites_enabled:
- localhost
- 000-default
......
......@@ -2,7 +2,7 @@
- name: Install and configure Apache
block:
- name: Apache packages present from buster-backports
- name: Apache present from buster-backports
apt:
pkg:
- apache2
......@@ -12,7 +12,7 @@
update_cache: true
when: ansible_distribution_release is regex('^buster$')
- name: Apache packages present
- name: Apache present
apt:
pkg:
- apache2
......@@ -23,10 +23,10 @@
- name: Additional packages present
apt:
pkg:
- lynx
pkg: "{{ apache_packages_present }}"
state: present
update_cache: false
when: ( apache_packages_present is defined ) and ( apache_packages_present != [] )
- name: Include Apache checks
include_tasks: checks.yml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment