vm-ansible/roles/webgateway/tasks/main.yaml

26 lines
464 B
YAML
Raw Normal View History

---
- name: "Install Apache via apt"
apt:
update_cache: yes
state: present
name:
- apache2
# TODO: Felmasolni a templatelt konfigokat es bekapcsolni oket
- name: Enable and restart Apache2 daemon
service:
name: apache2
state: restarted
enabled: yes
2022-02-05 20:00:55 +01:00
- name: Allow http port via ufw
community.general.ufw:
rule: allow
port: http
- name: Allow https port via ufw
community.general.ufw:
rule: allow
port: https