diff options
author | pmikus <pmikus@cisco.com> | 2020-06-01 07:47:03 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-06-01 08:21:52 +0000 |
commit | 8698b47c1fceb792f556c4dfe089a0bcc6eca1f2 (patch) | |
tree | 7189907e5a4b1dac5aaea68b202a9d1af4d1b27e | |
parent | 96a729f3fc001724044835d06c8c143e31d3c636 (diff) |
Infra: Ansible ARM
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Iffdb12cc7013a38341a09df2f863ee7c56196bb0
4 files changed, 26 insertions, 7 deletions
diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml new file mode 100644 index 0000000000..8ebe3a1a25 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml @@ -0,0 +1,24 @@ +--- +# file: host_vars/10.30.51.66.yaml + +hostname: "s51-nomad" +cpu_microarchitecture: "thunderx2" + +# Nomad settings. +nomad_certificates: + - src: "{{ vault_nomad_v1_ca_file }}" + dest: "{{ nomad_ca_file }}" + - src: "{{ vault_nomad_v1_cert_file }}" + dest: "{{ nomad_cert_file }}" + - src: "{{ vault_nomad_v1_key_file }}" + dest: "{{ nomad_key_file }}" +nomad_datacenter: "yul1" +nomad_name: "{{ hostname }}-{{ ansible_architecture }}" +nomad_node_role: "client" +nomad_node_class: "builder" +nomad_options: + driver.raw_exec.enable: 0 + docker.cleanup.image: false + docker.privileged.enabled: true + driver.whitelist: "docker,raw_exec,exec" +nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml index e718940390..fad127ced5 100644 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml @@ -1,10 +1,7 @@ ---- +i--- # file: host_vars/10.30.51.67.yaml hostname: "s49-nomad" -vfs_data_file: "csit-initialize-vfs-tx2.sh" -grub: - nr_hugepages: 57344 cpu_microarchitecture: "thunderx2" # Nomad settings. diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml index a78a39766c..490eb5675b 100644 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml @@ -2,9 +2,6 @@ # file: host_vars/10.30.51.68.yaml hostname: "s50-nomad" -vfs_data_file: "csit-initialize-vfs-tx2.sh" -grub: - nr_hugepages: 57344 cpu_microarchitecture: "thunderx2" # Nomad settings. diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts index 7188d5143a..e95dc624e3 100644 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts @@ -57,5 +57,6 @@ all: 10.32.8.14: #s46-nomad - skylake 10.32.8.15: #s47-nomad - skylake 10.32.8.16: #s48-nomad - skylake + 10.30.51.66: #s51-nomad - thunderx 88xx 10.30.51.67: #s49-nomad - thunderx 88xx 10.30.51.68: #s50-nomad - thunderx 88xx |