2021-04-26 00:07:37 +02:00
|
|
|
---
|
|
|
|
|
2024-08-11 03:39:26 +02:00
|
|
|
- name: Install Apache2 and related packages
|
2023-01-23 22:31:15 +01:00
|
|
|
ansible.builtin.apt:
|
2021-04-26 00:07:37 +02:00
|
|
|
name:
|
|
|
|
- apache2
|
|
|
|
- ssl-cert # snakeoil cert used for optional tls bootstrapping
|
|
|
|
|
2024-08-11 03:39:26 +02:00
|
|
|
- name: Install Apache2 and related packages
|
2023-01-23 22:31:15 +01:00
|
|
|
ansible.builtin.apt:
|
|
|
|
name: "{{ apache2_module_packages }}"
|
|
|
|
|
2024-08-11 03:39:26 +02:00
|
|
|
- name: Start and enable Apache2
|
2023-01-23 22:31:15 +01:00
|
|
|
ansible.builtin.service:
|
2021-04-26 00:07:37 +02:00
|
|
|
name: apache2
|
|
|
|
state: started
|
2024-08-11 03:39:26 +02:00
|
|
|
enabled: true
|