feat: add node_exporter role and integrate into site playbook
OpenVPN Ansible / Ansible Lint (push) Failing after 14s
OpenVPN Ansible / Ansible Syntax Check (push) Failing after 14s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Skipped
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
OpenVPN Ansible / Ansible Lint (push) Failing after 14s
OpenVPN Ansible / Ansible Syntax Check (push) Failing after 14s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Skipped
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Install iptables tools
|
||||
ansible.builtin.apt:
|
||||
name: iptables
|
||||
name: [iptables, prometheus-node-exporter]
|
||||
state: present
|
||||
|
||||
- name: Install idempotent NAT firewall restore script
|
||||
@@ -45,6 +45,14 @@
|
||||
sysctl_file: /etc/sysctl.d/99-nat-gateway.conf
|
||||
reload: true
|
||||
|
||||
- name: Create node exporter textfile directory
|
||||
ansible.builtin.file:
|
||||
path: /var/lib/node_exporter/textfile
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
|
||||
- name: Allow private subnet outbound through public interface
|
||||
ansible.builtin.iptables:
|
||||
table: nat
|
||||
|
||||
Reference in New Issue
Block a user