feat(setup-reverse-proxy.yml): install of certbot and nginx

This commit is contained in:
Lenoctambule
2026-03-10 20:46:27 +01:00
parent 0390901233
commit 237153d02b
3 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
- name: Setting up reverse proxy and load balancer
hosts: hosts
become: true
tasks:
- name: Install Certbot and Nginx
block:
- name: Installing Python3 and PIP
ansible.builtin.apt:
state: present
update_cache: yes
pkg:
- nginx
- python3-pip
- python3
- python3-dev
- python3-venv
- libaugeas-dev
- gcc
- name: Installing Certbot
ansible.builtin.pip:
name:
- certbot
- certbox-nginx