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

30 lines
462 B
YAML
Raw Normal View History

2022-04-12 16:26:46 +02:00
---
- name: "Install haproxy via apt"
apt:
update_cache: yes
state: present
name:
- haproxy
2022-04-12 17:33:48 +02:00
- name: Enable haproxy
service:
name: haproxy
state: started
enabled: yes
2022-04-12 17:13:13 +02:00
- name: "Install certbot via apt"
apt:
update_cache: yes
state: present
name:
- python3-certbot
2022-04-12 16:26:46 +02:00
- name: Reset ufw rules to default
community.general.ufw:
state: reset
2022-04-12 16:49:59 +02:00
- name: Enable ufw
community.general.ufw:
state: enabled
2022-04-16 19:55:29 +02:00
...