This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstall.yaml
60 lines (56 loc) · 1.53 KB
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
- name: Podman Installation
become: true
hosts:
- nodeexporter
- prometheus
- grafana
tasks:
- name: Podman Installation
debug:
msg: "Will Attempt to Install Podman"
tags:
- podman-install
- name: Node Exporter User Management
vars:
user_information: podman
role_usage: create
include_role:
name: podman-install-setup
tags:
- podman-install
- name: Node Exporter Installation
hosts: nodexporter
tasks:
- name: Node Exporter Installation
debug:
msg: "Node Exporter Installation will confirm users, resources and start installation"
tags:
- nodexporter-install
- name: Node Exporter User Management
vars:
user_information: node_exporter
role_usage: create
user_name: "{{ nodexporter_user_name }}"
group_name: "{{ nodexporter_user_name }}"
uid: "{{ nodexporter_podman_user }}"
gid: "{{ nodexporter_podman_user }}"
user_create: "{{ nodexporter_user_create }}"
group_create: "{{ nodexporter_user_create }}"
include_role:
name: user-mgmt
tags:
- nodexporter-install
- nodexporter-usermgmt
- name: Podman create Node Exporter Container
vars:
role_usage: create
include_role:
name: podman-node-exporter
tags:
- nodexporter-install
- nodexporter-podman-create
# - name: Install Node Exporter
# hosts: nodexporter
# roles:
# - role: podman-node-exporter