aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/inventories/sample_inventory
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/inventories/sample_inventory')
-rw-r--r--fdio.infra.ansible/inventories/sample_inventory/group_vars/all.yaml5
-rw-r--r--fdio.infra.ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml17
-rw-r--r--fdio.infra.ansible/inventories/sample_inventory/hosts9
3 files changed, 31 insertions, 0 deletions
diff --git a/fdio.infra.ansible/inventories/sample_inventory/group_vars/all.yaml b/fdio.infra.ansible/inventories/sample_inventory/group_vars/all.yaml
new file mode 100644
index 0000000000..f9938d20da
--- /dev/null
+++ b/fdio.infra.ansible/inventories/sample_inventory/group_vars/all.yaml
@@ -0,0 +1,5 @@
+---
+# file: sample_inventory/group_vars/all.yaml
+
+# Ansible interpreter (for PIP)
+ansible_python_interpreter: "python3"
diff --git a/fdio.infra.ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml b/fdio.infra.ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml
new file mode 100644
index 0000000000..fc4a8af1a8
--- /dev/null
+++ b/fdio.infra.ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml
@@ -0,0 +1,17 @@
+---
+# file: host_vars/x.x.x.x.yaml
+
+hostname: 't1-tg1'
+grub:
+ - isolcpus: '1-27,29-55,57-83,85-111'
+ - nohz_full: '1-27,29-55,57-83,85-111'
+ - rcu_nocbs: '1-27,29-55,57-83,85-111'
+sysctl:
+ - kernel:
+ - watchdog_cpumask: '0,28,56,84'
+ - vm:
+ - nr_hugepages: 4096
+ - max_map_count: 20000
+
+inventory_ipmi_hostname: 'x.x.x.x'
+cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/sample_inventory/hosts b/fdio.infra.ansible/inventories/sample_inventory/hosts
new file mode 100644
index 0000000000..e8e1439db4
--- /dev/null
+++ b/fdio.infra.ansible/inventories/sample_inventory/hosts
@@ -0,0 +1,9 @@
+all:
+ children:
+ tg:
+ hosts:
+ 1.1.1.1: #t1-tg
+ sut:
+ hosts:
+ 2.2.2.2: #t1-sut1
+ 3.3.3.3: #t1-sut2