mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Added kafka and springBoot roles, minor cleanup, and use ansible-vault to hide sensitive data
This commit is contained in:
@@ -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"
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user