17 lines
396 B
YAML
17 lines
396 B
YAML
---
|
|
|
|
- name: Install Apache2 and related packages
|
|
ansible.builtin.apt:
|
|
name:
|
|
- apache2
|
|
- ssl-cert # snakeoil cert used for optional tls bootstrapping
|
|
|
|
- name: Install Apache2 and related packages
|
|
ansible.builtin.apt:
|
|
name: "{{ apache2_module_packages }}"
|
|
|
|
- name: Start and enable Apache2
|
|
ansible.builtin.service:
|
|
name: apache2
|
|
state: started
|
|
enabled: true
|