Added kafka and springBoot roles, minor cleanup, and use ansible-vault to hide sensitive data

This commit is contained in:
2023-08-17 20:14:04 +02:00
parent 2a81cb9073
commit dc07d21320
44 changed files with 378 additions and 40 deletions
@@ -0,0 +1,12 @@
---
- name: Install python3-certbot-nginx
ansible.builtin.apt:
name: python3-certbot-nginx
update_cache: true
- name: Create directory for acme challenge
ansible.builtin.file:
state: directory
path: /var/www/html/.well-known/acme-challenge
owner: root
group: root
mode: "700"
+11
View File
@@ -0,0 +1,11 @@
---
- name: Install nginx
ansible.builtin.apt:
name: nginx
update_cache: true
- name: Allow nginx through firewall
community.general.ufw:
name: Nginx Full
rule: allow
- name: Prepare for Let's Encrypt
ansible.builtin.import_tasks: letsencrypt.yaml