2021-04-26 00:07:37 +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
|
|
|
|
|
2023-01-23 22:31:15 +01:00
|
|
|
- name: install apache2 and related packages
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name: "{{ apache2_module_packages }}"
|
|
|
|
|
2021-04-26 00:07:37 +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
|
|
|
|
enabled: yes
|