feat(infra): add nginx node, random password, null_resource automation, and outputs

This commit is contained in:
Richard
2026-07-29 09:10:22 +02:00
parent 5d0f008f6b
commit d6ebabce8b
5 changed files with 144 additions and 27 deletions
+20 -1
View File
@@ -114,4 +114,23 @@
ansible.builtin.template:
src: prometheus.yml.j2
dest: /etc/prometheus/prometheus.yml
mode: "0644"
mode: "0644"
- name: Configure Nginx Server
hosts: nginx
become: true
tags:
- nginx
tasks:
- name: Install Nginx
ansible.builtin.apt:
pkg:
- nginx
state: present
- name: Create Hello World page
ansible.builtin.template:
src: index.html.j2
dest: /var/www/html/index.html
mode: "0644"