diff options
author | pmikus <pmikus@cisco.com> | 2021-04-08 10:44:18 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-04-08 11:17:15 +0000 |
commit | df5672b3d9c29b51397f4770eb992c9f3f3955ce (patch) | |
tree | adb4cf36c9b680ebbc44c953391a0d21b986d6b7 /fdio.infra.ansible/inventories/sample_inventory | |
parent | 8018da98e0f362bc69fc9600fac222a86fd46b5e (diff) |
Ansible git move
+ Better accessibility
+ Compliant with fdio.infra._function_
- function [pxe|terraform|ansible|vagrant]
+ dill==0.3.3 also applied on TBs
- ci-man to follow today
- Docs to be updated in separate patch
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Iff9eaa29d63044188cc8160db2d9b44b7635782a
Diffstat (limited to 'fdio.infra.ansible/inventories/sample_inventory')
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 |