ansible-collection-webserver/roles/apache2/tasks/install.yml
s3lph aeef456223
All checks were successful
Ansible Lint / build (push) Successful in 1m24s
Ansible Galaxy / deploy (push) Successful in 2m8s
major cleanup
2024-08-11 03:39:26 +02:00

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