feat(infra): add nginx node, random password, null_resource automation, and outputs
This commit is contained in:
+20
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user