ansible-collection-webserver/roles/apache2/tasks/install.yml

14 lines
252 B
YAML
Raw Normal View History

2021-04-26 00:07:37 +02:00
---
- name: install apache2 and related packages
apt:
name:
- apache2
- ssl-cert # snakeoil cert used for optional tls bootstrapping
- name: start and enable apache2
service:
name: apache2
state: started
enabled: yes