aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
committerpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
commitd41a5490f30a161561c39c4f1b08add17b9cf6f7 (patch)
tree4244f8492f66f5ba1afe1c85c3a55340b125c8f7
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
-rw-r--r--fdio.infra.ansible/cloud_topology.yaml1
-rw-r--r--fdio.infra.ansible/dev.yaml2
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml6
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml6
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml2
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml6
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml6
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml4
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml2
-rw-r--r--fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml2
-rw-r--r--fdio.infra.ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml16
-rw-r--r--fdio.infra.ansible/inventories/vagrant_inventory/group_vars/vagrant.yml2
-rw-r--r--fdio.infra.ansible/nomad.yaml2
-rw-r--r--fdio.infra.ansible/roles/ab/tasks/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml2
-rw-r--r--fdio.infra.ansible/roles/aws/tasks/ubuntu_focal.yaml2
-rw-r--r--fdio.infra.ansible/roles/azure/defaults/main.yaml1
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml10
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml4
-rw-r--r--fdio.infra.ansible/roles/cadvisor/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/cadvisor/tasks/main.yaml10
-rw-r--r--fdio.infra.ansible/roles/calibration/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/calibration/tasks/x86_64.yaml4
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/clean_images.yaml20
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml56
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/kill_process.yaml54
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/nomad.yaml2
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml6
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/vpp_device.yaml52
-rw-r--r--fdio.infra.ansible/roles/common/defaults/main.yaml18
-rw-r--r--fdio.infra.ansible/roles/common/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/consul/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/handlers/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml4
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml4
-rw-r--r--fdio.infra.ansible/roles/dpdk/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/i40e.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/iavf.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/ice.yaml6
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/main.yaml34
-rw-r--r--fdio.infra.ansible/roles/iperf/tasks/main.yaml10
-rw-r--r--fdio.infra.ansible/roles/jenkins_job_health_exporter/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/kernel/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/kernel/handlers/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml2
-rw-r--r--fdio.infra.ansible/roles/kernel/tasks/ubuntu_focal.yaml2
-rw-r--r--fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml18
-rw-r--r--fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml6
-rw-r--r--fdio.infra.ansible/roles/mellanox/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/mellanox/tasks/main.yaml6
-rw-r--r--fdio.infra.ansible/roles/nomad/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml4
-rw-r--r--fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml2
-rw-r--r--fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml20
-rw-r--r--fdio.infra.ansible/roles/python_env/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/python_env/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/tg/handlers/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/tg/tasks/main.yaml20
-rw-r--r--fdio.infra.ansible/roles/trex/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml12
-rw-r--r--fdio.infra.ansible/roles/trex/tasks/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/user_add/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vagrant/tasks/main.yml8
-rw-r--r--fdio.infra.ansible/roles/vault/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vault/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vault/tasks/main.yaml22
-rw-r--r--fdio.infra.ansible/roles/vpp/tasks/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/vpp_device/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/handlers/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/main.yaml40
-rw-r--r--fdio.infra.ansible/site.yaml2
-rw-r--r--fdio.infra.ansible/sut.yaml6
-rw-r--r--fdio.infra.ansible/tg.yaml8
-rw-r--r--fdio.infra.ansible/vagrant.yaml4
-rw-r--r--fdio.infra.ansible/vpp_device.yaml2
125 files changed, 391 insertions, 393 deletions
diff --git a/fdio.infra.ansible/cloud_topology.yaml b/fdio.infra.ansible/cloud_topology.yaml
index 083a3bd368..c62d3a7035 100644
--- a/fdio.infra.ansible/cloud_topology.yaml
+++ b/fdio.infra.ansible/cloud_topology.yaml
@@ -6,4 +6,3 @@
roles:
- role: topology
tags: topology
-
diff --git a/fdio.infra.ansible/dev.yaml b/fdio.infra.ansible/dev.yaml
index 6f6d2a7cb5..895cf518ec 100644
--- a/fdio.infra.ansible/dev.yaml
+++ b/fdio.infra.ansible/dev.yaml
@@ -3,7 +3,7 @@
- hosts: dev
remote_user: testuser
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml
index c834defb1c..76a7def96b 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml
@@ -60,6 +60,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml
index 4118c3445a..bca8cf77b3 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml
@@ -61,6 +61,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml
index d6d6c2d004..4d871980f0 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml
@@ -61,6 +61,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml
index 87e69dc8e7..99438bb2b7 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml
@@ -61,6 +61,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml
index f59be0e0a2..1a6db1419f 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml
@@ -60,6 +60,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml
index 3e3e8bef6b..0a4abedaa1 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml
@@ -60,6 +60,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml
index 7d2580453e..b36e195e77 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml
@@ -61,6 +61,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml
index f57c8df45f..0794894931 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml
@@ -8,7 +8,7 @@ grub:
isolcpus: "1-15,17-31,33-47,49-63"
nmi_watchdog: "0"
nohz_full: "1-15,17-31,33-47,49-63"
- nosoftlockup: True
+ nosoftlockup: true
processor.max_cstate: "1"
rcu_nocbs: "1-15,17-31,33-47,49-63"
sysctl:
@@ -17,5 +17,5 @@ sysctl:
vm:
nr_hugepages: 32768
-inventory_ipmi_hostname: '10.30.50.36'
+inventory_ipmi_hostname: "10.30.50.36"
cpu_microarchitecture: "taishan"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml
index 90fe27e275..293ee24b20 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml
@@ -8,7 +8,7 @@ grub:
isolcpus: "1-15,17-31,33-47,49-63"
nmi_watchdog: "0"
nohz_full: "1-15,17-31,33-47,49-63"
- nosoftlockup: True
+ nosoftlockup: true
processor.max_cstate: "1"
rcu_nocbs: "1-15,17-31,33-47,49-63"
sysctl:
@@ -17,5 +17,5 @@ sysctl:
vm:
nr_hugepages: 32768
-inventory_ipmi_hostname: '10.30.50.37'
+inventory_ipmi_hostname: "10.30.50.37"
cpu_microarchitecture: "taishan"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml
index 0124697533..3a283c14ef 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml
@@ -63,6 +63,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml
index f6ab97febe..a50cdef9d5 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml
@@ -62,6 +62,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml
index 2b06831186..38e85e99e4 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.41'
+inventory_ipmi_hostname: "10.30.50.41"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml
index 9818f826c9..6cf52e944d 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.42'
+inventory_ipmi_hostname: "10.30.50.42"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml
index 24be5e2e54..595b612eda 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 36864
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.43'
+inventory_ipmi_hostname: "10.30.50.43"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml
index 7b59ff1606..8a27fb9d41 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 36864
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.44'
+inventory_ipmi_hostname: "10.30.50.44"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml
index d69fd03edc..0ddc81d1cd 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.45'
+inventory_ipmi_hostname: "10.30.50.45"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml
index 9e6d17fb8f..0e6e8c46c3 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,6 +25,6 @@ sysctl:
nr_hugepages: 16384
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.46'
+inventory_ipmi_hostname: "10.30.50.46"
cpu_microarchitecture: "skylake"
docker_tg: true
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml
index 286b2e1e24..51bb5e91aa 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml
@@ -66,7 +66,7 @@ consul_retry_servers:
# Docker settings.
docker_daemon:
default-shm-size: "1073741824"
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ ansible_hostname }}" ]
- host: [ "172.17.0.1:/var/run/docker.sock" ]
+ dns-search: ["{{ ansible_hostname }}"]
+ host: ["172.17.0.1:/var/run/docker.sock"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml
index 11ceee2a88..ba536632d1 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml
@@ -66,7 +66,7 @@ consul_retry_servers:
# Docker settings.
docker_daemon:
default-shm-size: "1073741824"
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ ansible_hostname }}" ]
- host: [ "172.17.0.1:/var/run/docker.sock" ]
+ dns-search: ["{{ ansible_hostname }}"]
+ host: ["172.17.0.1:/var/run/docker.sock"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml
index 4a4ccc0d91..fb0c4bafee 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.49'
+inventory_ipmi_hostname: "10.30.50.49"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml
index f0a50bfb71..d7da54ace0 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.50'
+inventory_ipmi_hostname: "10.30.50.50"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml
index b51eed468f..5687f9dc74 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.51'
+inventory_ipmi_hostname: "10.30.50.51"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml
index 4b144fa69b..9925333f00 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.52'
+inventory_ipmi_hostname: "10.30.50.52"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml
index 613c9b110c..9e0a30d4e7 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.53'
+inventory_ipmi_hostname: "10.30.50.53"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml
index 52ec3d9911..847790cc91 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.54'
+inventory_ipmi_hostname: "10.30.50.54"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml
index 8971b4a7bb..29c9edea4b 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 36864
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.55'
+inventory_ipmi_hostname: "10.30.50.55"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml
index ed39581e30..67d8a7d6a7 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 36864
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.56'
+inventory_ipmi_hostname: "10.30.50.56"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml
index 1e3a49cf1d..49963890f6 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.50.57'
+inventory_ipmi_hostname: "10.30.50.57"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml
index d6f7e8de00..544b6627d6 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml
@@ -63,6 +63,6 @@ consul_package_version: "1.5.2+dfsg2-14"
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml
index 85bba72280..e0f5c2a52f 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml
@@ -63,6 +63,6 @@ consul_package_version: "1.5.2+dfsg2-14"
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml
index 466d6ade82..4d99871e81 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml
@@ -63,6 +63,6 @@ consul_package_version: "1.5.2+dfsg2-14"
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml
index 02b50321cc..5ea1d8147a 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml
@@ -63,6 +63,6 @@ consul_package_version: "1.5.2+dfsg2-14"
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml
index 264c62cf38..43585d460e 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml
@@ -8,7 +8,7 @@ grub:
isolcpus: "1-27,29-55"
nmi_watchdog: "0"
nohz_full: "1-27,29-55"
- nosoftlockup: True
+ nosoftlockup: true
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55"
sysctl:
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml
index b42495e071..a71ddba9a9 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml
@@ -67,7 +67,7 @@ consul_retry_servers:
# Docker settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ ansible_hostname }}" ]
- storage-driver: "overlay2" \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
+ storage-driver: "overlay2"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml
index 43efb46a31..79733c4160 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml
@@ -67,7 +67,7 @@ consul_retry_servers:
# Docker settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ ansible_hostname }}" ]
- storage-driver: "overlay2" \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
+ storage-driver: "overlay2"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml
index 05f1a19576..6f6dece91d 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,6 +25,6 @@ sysctl:
nr_hugepages: 16384
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.10'
+inventory_ipmi_hostname: "10.30.55.10"
cpu_microarchitecture: "skylake"
docker_tg: true
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml
index c6cb68cb5d..1038df5ad2 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-5"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-5"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.11'
+inventory_ipmi_hostname: "10.30.55.11"
cpu_microarchitecture: "denverton"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml
index 5d350647a9..196fd5facd 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-5"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-5"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.12'
+inventory_ipmi_hostname: "10.30.55.12"
cpu_microarchitecture: "denverton"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml
index aff600265c..69733edec4 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-5"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-5"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.13'
+inventory_ipmi_hostname: "10.30.55.13"
cpu_microarchitecture: "denverton"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml
index aef352825c..06e147eef7 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml
@@ -70,6 +70,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml
index 0711a0c8e0..90d6cce2a3 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml
@@ -70,6 +70,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml
index e73da2bdac..8c4fa7e42c 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml
@@ -70,6 +70,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml
index 866601d760..f7a5626dc4 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml
@@ -70,6 +70,6 @@ consul_retry_servers:
# Docker daemon settings.
docker_daemon:
- dns: [ "172.17.0.1" ]
+ dns: ["172.17.0.1"]
dns-opts: []
- dns-search: [ "{{ansible_hostname}}" ]
+ dns-search: ["{{ansible_hostname}}"]
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml
index 6fe0dbc14d..a6c87e3838 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-23,25-47,49-71,73-95"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-23,25-47,49-71,73-95"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.18'
+inventory_ipmi_hostname: "10.30.55.18"
cpu_microarchitecture: "cascadelake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml
index f963d4b888..4fd37fb94f 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.19'
+inventory_ipmi_hostname: "10.30.55.19"
cpu_microarchitecture: "cascadelake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml
index 6913550686..c4635771d9 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-23,25-47,49-71,73-95"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-23,25-47,49-71,73-95"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.20'
+inventory_ipmi_hostname: "10.30.55.20"
cpu_microarchitecture: "cascadelake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml
index 98cffb3392..dd903aec79 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.21'
+inventory_ipmi_hostname: "10.30.55.21"
cpu_microarchitecture: "cascadelake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml
index f58b2ce07d..ddba226167 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-23,25-47,49-71,73-95"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-23,25-47,49-71,73-95"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 65536
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.22'
+inventory_ipmi_hostname: "10.30.55.22"
cpu_microarchitecture: "cascadelake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml
index 364ab8b295..4b4c867073 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml
@@ -13,7 +13,7 @@ grub:
mce: "off"
nmi_watchdog: "0"
nohz_full: "1-27,29-55,57-83,85-111"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "1"
rcu_nocbs: "1-27,29-55,57-83,85-111"
@@ -25,5 +25,5 @@ sysctl:
nr_hugepages: 8192
max_map_count: 20000
-inventory_ipmi_hostname: '10.30.55.23'
+inventory_ipmi_hostname: "10.30.55.23"
cpu_microarchitecture: "cascadelake"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml
index dc8a060cc0..397ea579c6 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml
@@ -10,7 +10,7 @@ grub:
isolcpus: "1-15,17-31,33-47,49-63"
nmi_watchdog: "0"
nohz_full: "off"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "0"
rcu_nocbs: "1-15,17-31,33-47,49-63"
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml
index ebb3f4c2d2..a0c8b73953 100644
--- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml
+++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml
@@ -10,7 +10,7 @@ grub:
isolcpus: "1-15,17-31,33-47,49-63"
nmi_watchdog: "0"
nohz_full: "off"
- nosoftlockup: True
+ nosoftlockup: true
numa_balancing: "disable"
processor.max_cstate: "0"
rcu_nocbs: "1-15,17-31,33-47,49-63"
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
index fc4a8af1a8..1c3183ffd1 100644
--- 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
@@ -1,17 +1,17 @@
---
# file: host_vars/x.x.x.x.yaml
-hostname: 't1-tg1'
+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'
+ - 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'
+ - watchdog_cpumask: "0,28,56,84"
- vm:
- - nr_hugepages: 4096
- - max_map_count: 20000
+ - nr_hugepages: 4096
+ - max_map_count: 20000
-inventory_ipmi_hostname: 'x.x.x.x'
+inventory_ipmi_hostname: "x.x.x.x"
cpu_microarchitecture: "skylake"
diff --git a/fdio.infra.ansible/inventories/vagrant_inventory/group_vars/vagrant.yml b/fdio.infra.ansible/inventories/vagrant_inventory/group_vars/vagrant.yml
index 20cea1d3d4..c17eae8fb4 100644
--- a/fdio.infra.ansible/inventories/vagrant_inventory/group_vars/vagrant.yml
+++ b/fdio.infra.ansible/inventories/vagrant_inventory/group_vars/vagrant.yml
@@ -2,4 +2,4 @@
# file: vagrant_inventory/group_vars/all.yaml
# Ansible interpreter (for PIP)
-ansible_python_interpreter: "/usr/bin/python3" \ No newline at end of file
+ansible_python_interpreter: "/usr/bin/python3"
diff --git a/fdio.infra.ansible/nomad.yaml b/fdio.infra.ansible/nomad.yaml
index 1ebbb417cd..5a8c4ca4bc 100644
--- a/fdio.infra.ansible/nomad.yaml
+++ b/fdio.infra.ansible/nomad.yaml
@@ -3,7 +3,7 @@
- hosts: nomad
remote_user: localadmin
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
diff --git a/fdio.infra.ansible/roles/ab/tasks/main.yaml b/fdio.infra.ansible/roles/ab/tasks/main.yaml
index 37e702e6df..c69ed25a75 100644
--- a/fdio.infra.ansible/roles/ab/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/ab/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -15,4 +15,4 @@
name: "{{ packages | flatten(levels=1) }}"
state: present
tags:
- - ab-inst \ No newline at end of file
+ - ab-inst
diff --git a/fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml
index bca1cf5095..4108a98720 100644
--- a/fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml
@@ -5,6 +5,6 @@
apt_repository:
repo: "deb-src http://archive.ubuntu.com/ubuntu bionic main"
state: "present"
- update_cache: yes
+ update_cache: true
tags:
- aws-enable-src-repo
diff --git a/fdio.infra.ansible/roles/aws/tasks/ubuntu_focal.yaml b/fdio.infra.ansible/roles/aws/tasks/ubuntu_focal.yaml
index a8cc56c0c4..60302f2309 100644
--- a/fdio.infra.ansible/roles/aws/tasks/ubuntu_focal.yaml
+++ b/fdio.infra.ansible/roles/aws/tasks/ubuntu_focal.yaml
@@ -5,6 +5,6 @@
apt_repository:
repo: "deb-src http://archive.ubuntu.com/ubuntu focal main"
state: "present"
- update_cache: yes
+ update_cache: true
tags:
- aws-enable-src-repo
diff --git a/fdio.infra.ansible/roles/azure/defaults/main.yaml b/fdio.infra.ansible/roles/azure/defaults/main.yaml
index 8c48c307bc..68f6148413 100644
--- a/fdio.infra.ansible/roles/azure/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/azure/defaults/main.yaml
@@ -1,3 +1,2 @@
---
# file: roles/azure/defaults/main.yaml
-
diff --git a/fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml b/fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml
index 0048d19032..3d244d8d19 100644
--- a/fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml
+++ b/fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml
@@ -6,7 +6,7 @@
hostname: "{{ inventory_cimc_hostname }}"
username: "{{ inventory_cimc_username }}"
password: "{{ inventory_cimc_password }}"
- validate_certs: no
+ validate_certs: false
content: |
<!-- Configure PXE boot -->
<configConfMo><inConfig>
@@ -21,7 +21,7 @@
hostname: "{{ inventory_cimc_hostname }}"
username: "{{ inventory_cimc_username }}"
password: "{{ inventory_cimc_password }}"
- validate_certs: no
+ validate_certs: false
content: |
<configConfMo><inConfig>
<lsbootStorage dn="sys/rack-unit-1/boot-policy/storage-read-write" access="read-write" order="1" type="storage"/>
@@ -35,7 +35,7 @@
hostname: "{{ inventory_cimc_hostname }}"
username: "{{ inventory_cimc_username }}"
password: "{{ inventory_cimc_password }}"
- validate_certs: no
+ validate_certs: false
content: |
<configConfMo><inConfig>
<computeRackUnit dn="sys/rack-unit-1" adminPower="up"/>
@@ -49,7 +49,7 @@
hostname: "{{ inventory_cimc_hostname }}"
username: "{{ inventory_cimc_username }}"
password: "{{ inventory_cimc_password }}"
- validate_certs: no
+ validate_certs: false
content: |
<configConfMo><inConfig>
<computeRackUnit dn="sys/rack-unit-1" adminPower="down"/>
@@ -63,7 +63,7 @@
hostname: "{{ inventory_cimc_hostname }}"
username: "{{ inventory_cimc_username }}"
password: "{{ inventory_cimc_password }}"
- validate_certs: no
+ validate_certs: false
content: |
<!-- Power cycle server -->
<configConfMo><inConfig>
diff --git a/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml b/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
index 239b8973f7..b3cc3d0a82 100644
--- a/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
+++ b/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
@@ -26,7 +26,7 @@
name: "{{ inventory_ipmi_hostname }}"
user: "{{ inventory_ipmi_username }}"
password: "{{ inventory_ipmi_password }}"
- state: on
+ state: true
delegate_to: localhost
tags:
- power-up
@@ -36,7 +36,7 @@
name: "{{ inventory_ipmi_hostname }}"
user: "{{ inventory_ipmi_username }}"
password: "{{ inventory_ipmi_password }}"
- state: off
+ state: false
delegate_to: localhost
tags:
- power-down
diff --git a/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml b/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml
index 3b25e551ea..5dba8c9112 100644
--- a/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml
@@ -21,4 +21,4 @@ image: "{{ image_by_arch[ansible_machine] }}"
image_by_arch:
aarch64: "zcube/cadvisor:v0.37.0"
- x86_64: "gcr.io/cadvisor/cadvisor:v0.38.7" \ No newline at end of file
+ x86_64: "gcr.io/cadvisor/cadvisor:v0.38.7"
diff --git a/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml b/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml
index a2a13368c2..a8c3f70124 100644
--- a/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -23,12 +23,12 @@
image: "{{ image }}"
state: "started"
restart_policy: "unless-stopped"
- detach: yes
+ detach: true
devices:
- - "/dev/kmsg"
+ - "/dev/kmsg"
ports:
- - "8080:8080"
- privileged: yes
+ - "8080:8080"
+ privileged: true
volumes:
- "/:/rootfs:ro"
- "/var/run:/var/run:ro"
diff --git a/fdio.infra.ansible/roles/calibration/tasks/main.yaml b/fdio.infra.ansible/roles/calibration/tasks/main.yaml
index 5f4470adfc..9166d58f10 100644
--- a/fdio.infra.ansible/roles/calibration/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/calibration/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
diff --git a/fdio.infra.ansible/roles/calibration/tasks/x86_64.yaml b/fdio.infra.ansible/roles/calibration/tasks/x86_64.yaml
index 90b1c954b5..cb98c00c51 100644
--- a/fdio.infra.ansible/roles/calibration/tasks/x86_64.yaml
+++ b/fdio.infra.ansible/roles/calibration/tasks/x86_64.yaml
@@ -15,10 +15,10 @@
- name: Calibration - Run Jitter Tool
shell: "{{ pma_directory }}/jitter/jitter -c {{ jitter_core }} -i {{ jitter_iterations }} -f"
- become: yes
+ become: true
async: 60
poll: 0
- ignore_errors: yes
+ ignore_errors: true
register: jitter_async
tags:
- check-jitter-tool
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/clean_images.yaml b/fdio.infra.ansible/roles/cleanup/tasks/clean_images.yaml
index e030acbff2..7558ee0fd7 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/clean_images.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/clean_images.yaml
@@ -24,13 +24,13 @@
tags:
- remove-docker-images-dangling
- # TODO: Disabled until all images will be in registry
- #- name: Clean Images - Prune Docker Images
- # cron:
- # name: "Prune docker images"
- # minute: "10"
- # hour: "6"
- # weekday: 7
- # job: "/usr/bin/docker image prune --all --force"
- # tags:
- # - prune-docker-images \ No newline at end of file
+# TODO: Disabled until all images will be in registry
+# - name: Clean Images - Prune Docker Images
+# cron:
+# name: "Prune docker images"
+# minute: "10"
+# hour: "6"
+# weekday: 7
+# job: "/usr/bin/docker image prune --all --force"
+# tags:
+# - prune-docker-images
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml b/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
index 25fd48e420..750572feb9 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
@@ -3,40 +3,40 @@
- name: Kill Docker Containers
block:
- - name: Kill Container - Get Running Docker Containers
- shell: "docker ps -aq"
- register: running_containers
- changed_when: no
- tags:
- - kill-containers
+ - name: Kill Container - Get Running Docker Containers
+ shell: "docker ps -aq"
+ register: running_containers
+ changed_when: false
+ tags:
+ - kill-containers
- - name: Kill Container - Remove All Docker Containers
- shell: "docker rm --force {{ item }}"
- with_items: "{{ running_containers.stdout_lines }}"
- tags:
- - kill-containers
+ - name: Kill Container - Remove All Docker Containers
+ shell: "docker rm --force {{ item }}"
+ with_items: "{{ running_containers.stdout_lines }}"
+ tags:
+ - kill-containers
rescue:
- - name: Restart Docker Daemon
- systemd:
- name: "docker"
- state: "restarted"
+ - name: Restart Docker Daemon
+ systemd:
+ name: "docker"
+ state: "restarted"
- name: Kill LXC Containers
block:
- - name: Kill Container - Get Running LXC Containers
- shell: "lxc-ls"
- register: running_containers
- changed_when: no
- tags:
- - kill-containers
+ - name: Kill Container - Get Running LXC Containers
+ shell: "lxc-ls"
+ register: running_containers
+ changed_when: false
+ tags:
+ - kill-containers
- - name: Kill Container - Remove All LXC Containers
- shell: "lxc-destroy --force -n {{ item }}"
- with_items: "{{ running_containers.stdout_lines }}"
- tags:
- - kill-containers
+ - name: Kill Container - Remove All LXC Containers
+ shell: "lxc-destroy --force -n {{ item }}"
+ with_items: "{{ running_containers.stdout_lines }}"
+ tags:
+ - kill-containers
rescue:
- - fail:
- msg: "Kill LXC containers failed!" \ No newline at end of file
+ - fail:
+ msg: "Kill LXC containers failed!"
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/kill_process.yaml b/fdio.infra.ansible/roles/cleanup/tasks/kill_process.yaml
index c7cee37485..d6c6ed5118 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/kill_process.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/kill_process.yaml
@@ -3,35 +3,35 @@
- name: Kill Process - {{ process }}
block:
- - name: Get PID Of {{ process }}
- shell: "ps -ef | grep -v grep | grep -w {{ process }} | awk '{print $2}'"
- when:
- - process is defined and process != ""
- register: running_processes
- tags:
- - kill-process
+ - name: Get PID Of {{ process }}
+ shell: "ps -ef | grep -v grep | grep -w {{ process }} | awk '{print $2}'"
+ when:
+ - process is defined and process != ""
+ register: running_processes
+ tags:
+ - kill-process
- - name: Safe Kill {{ process }}
- shell: "kill {{ item }}"
- with_items: "{{ running_processes.stdout_lines }}"
- tags:
- - kill-process
+ - name: Safe Kill {{ process }}
+ shell: "kill {{ item }}"
+ with_items: "{{ running_processes.stdout_lines }}"
+ tags:
+ - kill-process
- - wait_for:
- path: "/proc/{{ item }}/status"
- state: "absent"
- with_items: "{{ running_processes.stdout_lines }}"
- ignore_errors: yes
- register: killed_processes
- tags:
- - kill-process
+ - wait_for:
+ path: "/proc/{{ item }}/status"
+ state: "absent"
+ with_items: "{{ running_processes.stdout_lines }}"
+ ignore_errors: true
+ register: killed_processes
+ tags:
+ - kill-process
- - name: Kill Process - Force Kill {{ process }}
- shell: "kill -9 {{ item }}"
- with_items: "{{ killed_processes.results | select('failed') | map(attribute='item') | list }}"
- tags:
- - kill-process
+ - name: Kill Process - Force Kill {{ process }}
+ shell: "kill -9 {{ item }}"
+ with_items: "{{ killed_processes.results | select('failed') | map(attribute='item') | list }}"
+ tags:
+ - kill-process
rescue:
- - fail:
- msg: "Kill process {{ process }} failed!"
+ - fail:
+ msg: "Kill process {{ process }} failed!"
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/nomad.yaml b/fdio.infra.ansible/roles/cleanup/tasks/nomad.yaml
index 3c5bf6462d..3d8f322840 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/nomad.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/nomad.yaml
@@ -19,4 +19,4 @@
- "fdiotools/builder-centos8:prod-x86_64"
- "fdiotools/builder-centos7:prod-x86_64"
tags:
- - clean-images \ No newline at end of file
+ - clean-images
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml b/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
index 302b43c99a..484868e595 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
@@ -11,10 +11,10 @@
- name: Remove Package - {{ package }}
apt:
name: "{{ package }}"
- force: yes
- purge: yes
+ force: true
+ purge: true
state: "absent"
- failed_when: no
+ failed_when: false
when:
- ansible_distribution == 'Ubuntu'
tags:
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/vpp_device.yaml b/fdio.infra.ansible/roles/cleanup/tasks/vpp_device.yaml
index 41c4b29d37..23d001fe6f 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/vpp_device.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/vpp_device.yaml
@@ -3,30 +3,30 @@
- name: Host Cleanup
block:
- - name: Reset vpp_device Binary
- copy:
- src: "files/reset_vppdevice.sh"
- dest: "/usr/local/bin"
- owner: "root"
- group: "root"
- mode: "744"
- tags:
- - reset-sriov
+ - name: Reset vpp_device Binary
+ copy:
+ src: "files/reset_vppdevice.sh"
+ dest: "/usr/local/bin"
+ owner: "root"
+ group: "root"
+ mode: "744"
+ tags:
+ - reset-sriov
- - name: Clean Images
- import_tasks: clean_images.yaml
- vars:
- images_to_prefetch_by_arch:
- aarch64:
- - "fdiotools/builder-ubuntu2004:prod-aarch64"
- - "fdiotools/builder-ubuntu1804:prod-aarch64"
- - "fdiotools/builder-centos8:prod-aarch64"
- x86_64:
- - "fdiotools/builder-ubuntu2004:prod-x86_64"
- - "fdiotools/builder-ubuntu1804:prod-x86_64"
- - "fdiotools/builder-debian10:prod-x86_64"
- - "fdiotools/builder-debian9:prod-x86_64"
- - "fdiotools/builder-centos8:prod-x86_64"
- - "fdiotools/builder-centos7:prod-x86_64"
- tags:
- - clean-images \ No newline at end of file
+ - name: Clean Images
+ import_tasks: clean_images.yaml
+ vars:
+ images_to_prefetch_by_arch:
+ aarch64:
+ - "fdiotools/builder-ubuntu2004:prod-aarch64"
+ - "fdiotools/builder-ubuntu1804:prod-aarch64"
+ - "fdiotools/builder-centos8:prod-aarch64"
+ x86_64:
+ - "fdiotools/builder-ubuntu2004:prod-x86_64"
+ - "fdiotools/builder-ubuntu1804:prod-x86_64"
+ - "fdiotools/builder-debian10:prod-x86_64"
+ - "fdiotools/builder-debian9:prod-x86_64"
+ - "fdiotools/builder-centos8:prod-x86_64"
+ - "fdiotools/builder-centos7:prod-x86_64"
+ tags:
+ - clean-images
diff --git a/fdio.infra.ansible/roles/common/defaults/main.yaml b/fdio.infra.ansible/roles/common/defaults/main.yaml
index 43e40ebdf6..06cfbd80cc 100644
--- a/fdio.infra.ansible/roles/common/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/common/defaults/main.yaml
@@ -61,12 +61,12 @@ packages_by_arch:
# Proxy settings: Uncomment and fill the proper values. These variables will be
# set globally by writing into /etc/environment file on target machine.
-#proxy_env:
-# http_proxy: http://proxy.com:80
-# HTTP_PROXY: http://proxy.com:80
-# https_proxy: http://proxy.com:80
-# HTTPS_PROXY: http://proxy.com:80
-# ftp_proxy: http://proxy.com:80
-# FTP_PROXY: http://proxy.com:80
-# no_proxy: localhost,127.0.0.1,{{ ansible_default_ipv4.address }}
-# NO_PROXY: localhost,127.0.0.1,{{ ansible_default_ipv4.address }} \ No newline at end of file
+# proxy_env:
+# http_proxy: http://proxy.com:80
+# HTTP_PROXY: http://proxy.com:80
+# https_proxy: http://proxy.com:80
+# HTTPS_PROXY: http://proxy.com:80
+# ftp_proxy: http://proxy.com:80
+# FTP_PROXY: http://proxy.com:80
+# no_proxy: localhost,127.0.0.1,{{ ansible_default_ipv4.address }}
+# NO_PROXY: localhost,127.0.0.1,{{ ansible_default_ipv4.address }}
diff --git a/fdio.infra.ansible/roles/common/tasks/main.yaml b/fdio.infra.ansible/roles/common/tasks/main.yaml
index 1233690e83..7418709c99 100644
--- a/fdio.infra.ansible/roles/common/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/common/tasks/main.yaml
@@ -13,7 +13,7 @@
- name: Inst - Update package cache (apt)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
diff --git a/fdio.infra.ansible/roles/consul/meta/main.yaml b/fdio.infra.ansible/roles/consul/meta/main.yaml
index 5fb7e185c0..c848f67c7b 100644
--- a/fdio.infra.ansible/roles/consul/meta/main.yaml
+++ b/fdio.infra.ansible/roles/consul/meta/main.yaml
@@ -6,7 +6,7 @@
# conf: ?
# info: 1.0 - added role
-dependencies: [ ]
+dependencies: []
galaxy_info:
role_name: consul
author: fd.io
diff --git a/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml b/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
index 2affe4b18e..9dddbe435b 100644
--- a/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
@@ -27,4 +27,4 @@
args:
chdir: "/opt/csit-sut"
tags:
- - csit-sut-image \ No newline at end of file
+ - csit-sut-image
diff --git a/fdio.infra.ansible/roles/docker/defaults/main.yaml b/fdio.infra.ansible/roles/docker/defaults/main.yaml
index df9d2c92b6..a8f4e6289d 100644
--- a/fdio.infra.ansible/roles/docker/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/docker/defaults/main.yaml
@@ -35,4 +35,4 @@ docker_daemon_environment_http:
- "NO_PROXY={{ proxy_env.no_proxy }}"
docker_daemon_environment_https:
- "HTTPS_PROXY={{ proxy_env.https_proxy }}"
- - "NO_PROXY={{ proxy_env.no_proxy }}" \ No newline at end of file
+ - "NO_PROXY={{ proxy_env.no_proxy }}"
diff --git a/fdio.infra.ansible/roles/docker/handlers/main.yaml b/fdio.infra.ansible/roles/docker/handlers/main.yaml
index d89adb9a1a..572b789d48 100644
--- a/fdio.infra.ansible/roles/docker/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/docker/handlers/main.yaml
@@ -6,4 +6,4 @@
name: "docker"
state: "{{ docker_restart_handler_state }}"
tags:
- - docker-restart-service \ No newline at end of file
+ - docker-restart-service
diff --git a/fdio.infra.ansible/roles/docker/meta/main.yaml b/fdio.infra.ansible/roles/docker/meta/main.yaml
index ab3d197791..e191fd43b6 100644
--- a/fdio.infra.ansible/roles/docker/meta/main.yaml
+++ b/fdio.infra.ansible/roles/docker/meta/main.yaml
@@ -1,4 +1,4 @@
---
# file: roles/docker/meta/main.yaml
-dependencies: [] \ No newline at end of file
+dependencies: []
diff --git a/fdio.infra.ansible/roles/docker/tasks/main.yaml b/fdio.infra.ansible/roles/docker/tasks/main.yaml
index d40e1a44c1..27b9d250da 100644
--- a/fdio.infra.ansible/roles/docker/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/main.yaml
@@ -77,7 +77,7 @@
user:
name: "{{ ansible_user }}"
groups: "docker"
- append: True
+ append: true
tags:
- docker-conf-user
diff --git a/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
index 8bda4fed21..21f28e0c55 100644
--- a/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
@@ -10,7 +10,7 @@
- "software-properties-common"
state: "present"
cache_valid_time: 3600
- install_recommends: False
+ install_recommends: false
tags:
- docker-inst-dependencies
@@ -25,6 +25,6 @@
apt_repository:
repo: "{{ docker_apt_repository }}"
state: "{{ docker_apt_repository_state }}"
- update_cache: yes
+ update_cache: true
tags:
- docker-conf-apt
diff --git a/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml b/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
index 84bd1c5824..236cec6322 100644
--- a/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
@@ -10,7 +10,7 @@
- "software-properties-common"
state: "present"
cache_valid_time: 3600
- install_recommends: False
+ install_recommends: false
tags:
- docker-inst-dependencies
@@ -25,6 +25,6 @@
apt_repository:
repo: "{{ docker_apt_repository }}"
state: "{{ docker_apt_repository_state }}"
- update_cache: yes
+ update_cache: true
tags:
- docker-conf-apt
diff --git a/fdio.infra.ansible/roles/dpdk/meta/main.yaml b/fdio.infra.ansible/roles/dpdk/meta/main.yaml
index 8acf6ef9b5..cc3bf5f731 100644
--- a/fdio.infra.ansible/roles/dpdk/meta/main.yaml
+++ b/fdio.infra.ansible/roles/dpdk/meta/main.yaml
@@ -6,7 +6,7 @@
# conf: ?
# info: 1.0 - added role
-dependencies: [ ]
+dependencies: []
galaxy_info:
role_name: dpdk
diff --git a/fdio.infra.ansible/roles/intel/defaults/main.yaml b/fdio.infra.ansible/roles/intel/defaults/main.yaml
index 1ea3966f4a..0ad227d13b 100644
--- a/fdio.infra.ansible/roles/intel/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/intel/defaults/main.yaml
@@ -32,4 +32,4 @@ intel_ice_driver_dir: "/opt"
intel_ddp_version: "1.3.28.0"
intel_ddp_profile_url: "{{ intel_download_url }}/29889/eng/800%20Series%20Comms%20Binary%20Package%20{{ intel_ddp_version }}.zip"
-intel_ddp_profile_dir: "/opt" \ No newline at end of file
+intel_ddp_profile_dir: "/opt"
diff --git a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml
index fe8ae7c5ea..1831dd1dad 100644
--- a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml
@@ -27,7 +27,7 @@
- "make install"
- "modprobe -r i40e"
- "modprobe i40e"
- failed_when: no
+ failed_when: true
when:
- intel_driver_extracted
tags:
diff --git a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
index 9ec6781d59..dfdb496085 100644
--- a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
@@ -27,7 +27,7 @@
- "make install"
- "modprobe -r iavf"
- "modprobe iavf"
- failed_when: no
+ failed_when: true
when:
- intel_driver_extracted
tags:
diff --git a/fdio.infra.ansible/roles/intel/tasks/ice.yaml b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
index 0a2fe8a858..9baa9d050d 100644
--- a/fdio.infra.ansible/roles/intel/tasks/ice.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
@@ -27,7 +27,7 @@
- "make install"
- "modprobe -r ice"
- "modprobe ice"
- failed_when: no
+ failed_when: false
when:
- intel_driver_extracted
tags:
@@ -64,8 +64,8 @@
copy:
src: "{{ intel_ddp_profile_dir }}/ice_comms-{{ intel_ddp_version }}.pkg"
dest: "/lib/firmware/updates/intel/ice/ddp/ice-{{ intel_ddp_version }}.pkg"
- remote_src: yes
- follow: yes
+ remote_src: true
+ follow: true
tags:
- intel-inst
diff --git a/fdio.infra.ansible/roles/intel/tasks/main.yaml b/fdio.infra.ansible/roles/intel/tasks/main.yaml
index 4f6289113d..0d361a951d 100644
--- a/fdio.infra.ansible/roles/intel/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -20,16 +20,16 @@
- name: Inst - Check Presence of Intel Ethernet 810 Series
shell: "lspci -d 8086:1592"
register: intel_e810_pcis
- failed_when: no
- changed_when: no
+ failed_when: false
+ changed_when: false
tags:
- intel-inst-drivers
- name: Inst - Check Presence of Intel Ethernet 700 Series
shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572"
register: intel_700_pcis
- failed_when: no
- changed_when: no
+ failed_when: false
+ changed_when: false
tags:
- intel-inst-drivers
@@ -40,16 +40,16 @@
tags:
- intel-inst-drivers
-#- name: Inst - Driver Intel Ethernet 700 Series
-# import_tasks: i40e.yaml
-# when:
-# - intel_700_pcis.stdout_lines | length > 0
-# tags:
-# - intel-inst-drivers
+# - name: Inst - Driver Intel Ethernet 700 Series
+# import_tasks: i40e.yaml
+# when:
+# - intel_700_pcis.stdout_lines | length > 0
+# tags:
+# - intel-inst-drivers
-#- name: Inst - VF Driver Intel
-# import_tasks: iavf.yaml
-# when:
-# - intel_700_pcis.stdout_lines | length > 0 or intel_e810_pcis.stdout_lines | length > 0
-# tags:
-# - intel-inst-drivers
+# - name: Inst - VF Driver Intel
+# import_tasks: iavf.yaml
+# when:
+# - intel_700_pcis.stdout_lines | length > 0 or intel_e810_pcis.stdout_lines | length > 0
+# tags:
+# - intel-inst-drivers
diff --git a/fdio.infra.ansible/roles/iperf/tasks/main.yaml b/fdio.infra.ansible/roles/iperf/tasks/main.yaml
index f8948cae57..a2b7709cef 100644
--- a/fdio.infra.ansible/roles/iperf/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/iperf/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -40,7 +40,7 @@
- name: Compile Release I
command: "./configure"
args:
- chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
- iperf-inst
@@ -48,7 +48,7 @@
- name: Compile Release II
command: "make"
args:
- chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
- iperf-inst
@@ -56,7 +56,7 @@
- name: Compile Release III
command: "make install"
args:
- chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
- - iperf-inst \ No newline at end of file
+ - iperf-inst
diff --git a/fdio.infra.ansible/roles/jenkins_job_health_exporter/defaults/main.yaml b/fdio.infra.ansible/roles/jenkins_job_health_exporter/defaults/main.yaml
index 4ffa94ddef..73a0caecfa 100644
--- a/fdio.infra.ansible/roles/jenkins_job_health_exporter/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/jenkins_job_health_exporter/defaults/main.yaml
@@ -32,4 +32,4 @@ jenkins_job_health_exporter_restart_handler_state: "restarted"
jenkins_job_health_exporter_target_dir: "/usr/bin"
jenkins_job_health_exporter_conf_dir: "/etc"
jenkins_job_health_exporter_url: "https://github.com/ayourtch/jenkins-job-health-exporter/releases/download"
-jenkins_job_health_exporter_version: "v0.0.3" \ No newline at end of file
+jenkins_job_health_exporter_version: "v0.0.3"
diff --git a/fdio.infra.ansible/roles/kernel/defaults/main.yaml b/fdio.infra.ansible/roles/kernel/defaults/main.yaml
index b9b4253622..92dc30f58b 100644
--- a/fdio.infra.ansible/roles/kernel/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/kernel/defaults/main.yaml
@@ -40,4 +40,4 @@ absent_packages_by_distro:
focal:
- "amd64-microcode"
- "intel-microcode"
- - "iucode-tool" \ No newline at end of file
+ - "iucode-tool"
diff --git a/fdio.infra.ansible/roles/kernel/handlers/main.yaml b/fdio.infra.ansible/roles/kernel/handlers/main.yaml
index 963fd71756..8e1239ab31 100644
--- a/fdio.infra.ansible/roles/kernel/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/kernel/handlers/main.yaml
@@ -5,4 +5,4 @@
reboot:
reboot_timeout: 3600
tags:
- - reboot-server \ No newline at end of file
+ - reboot-server
diff --git a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml
index 349c853c11..950e1bf44c 100644
--- a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml
@@ -48,4 +48,4 @@
state: absent
purge: true
tags:
- - kernel-inst \ No newline at end of file
+ - kernel-inst
diff --git a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_focal.yaml b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_focal.yaml
index 9cbc4d4787..bc59db3761 100644
--- a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_focal.yaml
+++ b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_focal.yaml
@@ -48,4 +48,4 @@
state: absent
purge: true
tags:
- - kernel-inst \ No newline at end of file
+ - kernel-inst
diff --git a/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml b/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
index 4d1b306e64..78bb822f80 100644
--- a/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
@@ -5,8 +5,8 @@
copy:
src: "/etc/initramfs-tools/modules"
dest: "/tmp/initramfs_modules.bkp"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
register: __initramfs_modules_backuped
tags:
- kernel-inst-image
@@ -15,8 +15,8 @@
copy:
src: "/etc/initramfs-tools/conf.d/resume"
dest: "/tmp/initramfs-resume.bkp"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
register: __initramfs_resume_backuped
tags:
- kernel-inst-image
@@ -51,7 +51,7 @@
copy:
src: "/boot/vmlinuz-{{ ansible_kernel }}"
dest: "/opt/boot/vmlinuz-{{ ansible_kernel }}"
- remote_src: yes
+ remote_src: true
tags:
- kernel-inst-image
@@ -59,8 +59,8 @@
copy:
src: "/tmp/initramfs_modules.bkp"
dest: "/etc/initramfs-tools/modules"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
when: __initramfs_modules_backuped
tags:
- kernel-inst-image
@@ -77,8 +77,8 @@
copy:
src: "/tmp/initramfs-resume.bkp"
dest: "/etc/initramfs-tools/conf.d/resume"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
when: __initramfs_resume_backuped
tags:
- kernel-inst-image
diff --git a/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml
index 454e80e002..e2f2b86058 100644
--- a/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml
@@ -9,7 +9,7 @@
- 'software-properties-common'
state: 'present'
cache_valid_time: 3600
- install_recommends: False
+ install_recommends: false
tags: install-kubernetes
- name: Kubernetes repository - Add an Apt signing key
@@ -22,7 +22,7 @@
apt_repository:
repo: '{{ kubernetes_apt_repository }}'
state: '{{ kubernetes_apt_repository_state }}'
- update_cache: yes
+ update_cache: true
tags: install-kubernetes
- name: Kubernetes - Install
@@ -33,5 +33,5 @@
- 'kubectl={{ kubernetes_version }}'
- 'kubelet={{ kubernetes_version }}'
state: '{{ kubernetes_apt_package_state }}'
- force: True
+ force: true
tags: install-kubernetes
diff --git a/fdio.infra.ansible/roles/mellanox/defaults/main.yaml b/fdio.infra.ansible/roles/mellanox/defaults/main.yaml
index 0961ec7df6..0caaae1e1a 100644
--- a/fdio.infra.ansible/roles/mellanox/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/mellanox/defaults/main.yaml
@@ -18,4 +18,4 @@ packages_by_arch:
x86_64:
- []
-mellanox_version: "5.2-1.0.4.0" \ No newline at end of file
+mellanox_version: "5.2-1.0.4.0"
diff --git a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml
index 670282923a..3cccdb7727 100644
--- a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -20,8 +20,8 @@
- name: Inst - Check Presence of Mellanox Hardware
shell: "lspci | grep Mellanox | awk '{print $1}'"
register: mellanox_pcis
- failed_when: no
- changed_when: no
+ failed_when: false
+ changed_when: false
tags:
- mellanox-inst
diff --git a/fdio.infra.ansible/roles/nomad/meta/main.yaml b/fdio.infra.ansible/roles/nomad/meta/main.yaml
index 7036087739..4f467ceee3 100644
--- a/fdio.infra.ansible/roles/nomad/meta/main.yaml
+++ b/fdio.infra.ansible/roles/nomad/meta/main.yaml
@@ -6,7 +6,7 @@
# conf: ?
# info: 1.0 - added role
-dependencies: [ docker ]
+dependencies: [docker]
galaxy_info:
role_name: nomad
diff --git a/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml b/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
index 2dad931e92..128be4970b 100644
--- a/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
@@ -17,4 +17,4 @@ packages_by_arch:
aarch64:
- []
x86_64:
- - [] \ No newline at end of file
+ - []
diff --git a/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml b/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
index e9cdd0d819..b123be0a3c 100644
--- a/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -186,4 +186,4 @@
tags:
- perf-conf-load-kernel-modules
-- meta: flush_handlers \ No newline at end of file
+- meta: flush_handlers
diff --git a/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml b/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
index 7f69365a2d..cff71e9ce3 100644
--- a/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -39,6 +39,6 @@
- name: Conf - Custom Startup Service Hook Enable
service:
name: "disable-turbo-boost"
- enabled: yes
+ enabled: true
tags:
- turbo-conf-msr
diff --git a/fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml b/fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml
index f61c26e1a8..526dcf5dce 100644
--- a/fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml
+++ b/fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml
@@ -22,4 +22,4 @@ modules:
query_name: "jenkins.fd.io"
query_type: "A"
valid_rcodes:
- - NOERROR \ No newline at end of file
+ - NOERROR
diff --git a/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml b/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
index 3f4b563352..3fe40f031a 100644
--- a/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -23,10 +23,10 @@
image: "{{ ne_image }}"
state: "started"
restart_policy: "unless-stopped"
- detach: yes
+ detach: true
ports:
- - "9100:9100"
- privileged: yes
+ - "9100:9100"
+ privileged: true
command:
- "--path.procfs=/host/proc"
- "--path.rootfs=/rootfs"
@@ -49,8 +49,8 @@
- name: Conf - Prometheus Blackbox Exporter
copy:
- src: "files/blackbox.yml"
- dest: "/etc/prometheus/blackbox.yml"
+ src: "files/blackbox.yml"
+ dest: "/etc/prometheus/blackbox.yml"
tags:
- prometheus-conf-blackbox-exporter
@@ -60,13 +60,13 @@
image: "{{ be_image }}"
state: "started"
restart_policy: "unless-stopped"
- detach: yes
+ detach: true
ports:
- - "9115:9115"
- privileged: yes
+ - "9115:9115"
+ privileged: true
command:
- "--config.file=/config/blackbox.yml"
volumes:
- "/etc/prometheus/blackbox.yml:/config/blackbox.yml:ro"
tags:
- - prometheus-inst \ No newline at end of file
+ - prometheus-inst
diff --git a/fdio.infra.ansible/roles/python_env/defaults/main.yaml b/fdio.infra.ansible/roles/python_env/defaults/main.yaml
index 342d1c3d33..36e599acfe 100644
--- a/fdio.infra.ansible/roles/python_env/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/python_env/defaults/main.yaml
@@ -38,4 +38,4 @@ packages_by_arch:
aarch64:
- []
x86_64:
- - [] \ No newline at end of file
+ - []
diff --git a/fdio.infra.ansible/roles/python_env/tasks/main.yaml b/fdio.infra.ansible/roles/python_env/tasks/main.yaml
index 261e15ac32..7df8008a27 100644
--- a/fdio.infra.ansible/roles/python_env/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/python_env/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update package cache (apt)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
diff --git a/fdio.infra.ansible/roles/tg/handlers/main.yaml b/fdio.infra.ansible/roles/tg/handlers/main.yaml
index e13e67b2c1..b2c32a7078 100644
--- a/fdio.infra.ansible/roles/tg/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/tg/handlers/main.yaml
@@ -3,7 +3,7 @@
- name: Start csit-initialize-docker-tg.service
systemd:
- enabled: yes
+ enabled: true
state: "started"
name: "csit-initialize-docker-tg.service"
tags:
diff --git a/fdio.infra.ansible/roles/tg/tasks/main.yaml b/fdio.infra.ansible/roles/tg/tasks/main.yaml
index 4e79dabfab..70ed384826 100644
--- a/fdio.infra.ansible/roles/tg/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/tg/tasks/main.yaml
@@ -3,11 +3,11 @@
- name: Conf - csit-initialize-docker-tg.sh
copy:
- src: "files/csit-initialize-docker-tg.sh"
- dest: "/usr/local/bin/csit-initialize-docker-tg.sh"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/csit-initialize-docker-tg.sh"
+ dest: "/usr/local/bin/csit-initialize-docker-tg.sh"
+ owner: "root"
+ group: "root"
+ mode: 0744
when:
- docker_tg is defined
tags:
@@ -15,11 +15,11 @@
- name: Conf - Start csit-initialize-docker-tg.service
copy:
- src: "files/csit-initialize-docker-tg.service"
- dest: "/etc/systemd/system/"
- owner: "root"
- group: "root"
- mode: 0644
+ src: "files/csit-initialize-docker-tg.service"
+ dest: "/etc/systemd/system/"
+ owner: "root"
+ group: "root"
+ mode: 0644
notify:
- "Start csit-initialize-docker-tg.service"
when:
diff --git a/fdio.infra.ansible/roles/trex/defaults/main.yaml b/fdio.infra.ansible/roles/trex/defaults/main.yaml
index 19bb15e9d3..999251863f 100644
--- a/fdio.infra.ansible/roles/trex/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/trex/defaults/main.yaml
@@ -41,4 +41,4 @@ trex_target_dir: "/opt"
trex_url: "https://github.com/cisco-system-traffic-generator/trex-core/archive/"
trex_version:
# master // ubuntu 20.04
- - "2.88" \ No newline at end of file
+ - "2.88"
diff --git a/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml b/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
index 5a7890b071..9aeb1be023 100644
--- a/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
+++ b/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
@@ -5,7 +5,7 @@
get_url:
url: "{{ trex_url }}/v{{ item }}.tar.gz"
dest: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz"
- validate_certs: False
+ validate_certs: false
mode: 0644
register: trex_downloaded
@@ -33,23 +33,23 @@
- name: Compile Release {{ item }} Part I
command: "./b configure"
args:
- chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
+ chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
when: trex_extracted.changed
- name: Compile Release {{ item }} Part II
command: "./b build"
args:
- chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
+ chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
when: trex_extracted.changed
- name: Compile Release {{ item }} Part III
command: "make -j 16"
args:
- chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
+ chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
when: trex_extracted.changed
- name: Compile Release {{ item }} Part IV
command: "make install"
args:
- chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
- when: trex_extracted.changed \ No newline at end of file
+ chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
+ when: trex_extracted.changed
diff --git a/fdio.infra.ansible/roles/trex/tasks/main.yaml b/fdio.infra.ansible/roles/trex/tasks/main.yaml
index d43baf909b..8f659b697c 100644
--- a/fdio.infra.ansible/roles/trex/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/trex/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -21,4 +21,4 @@
include_tasks: deploy_block.yaml
loop: "{{ trex_version }}"
tags:
- - trex-inst \ No newline at end of file
+ - trex-inst
diff --git a/fdio.infra.ansible/roles/user_add/defaults/main.yaml b/fdio.infra.ansible/roles/user_add/defaults/main.yaml
index fc80b8aa72..643ad7dfd7 100644
--- a/fdio.infra.ansible/roles/user_add/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/user_add/defaults/main.yaml
@@ -11,4 +11,4 @@ users_create_homedirs: true
users: []
# Default enable password login.
-sshd_disable_password_login: false \ No newline at end of file
+sshd_disable_password_login: false
diff --git a/fdio.infra.ansible/roles/vagrant/tasks/main.yml b/fdio.infra.ansible/roles/vagrant/tasks/main.yml
index fa4ab4af9a..14e919cb31 100644
--- a/fdio.infra.ansible/roles/vagrant/tasks/main.yml
+++ b/fdio.infra.ansible/roles/vagrant/tasks/main.yml
@@ -8,7 +8,7 @@
value: "512"
state: "present"
sysctl_file: "/etc/sysctl.d/90-csit.conf"
- reload: yes
+ reload: true
- name: "Add user for running tests: {{ csit.test_user.name }}"
user:
@@ -31,12 +31,12 @@
git:
repo: "{{ csit.repository.url }}"
dest: "{{ csit.home }}"
- accept_hostkey: yes
+ accept_hostkey: true
version: "{{ csit.repository.version }}"
-- name: Load csit docker image from local drive if it exists (/vagrant/csit-sut.tar)
+- name: Load csit docker image from local path if exists (/vagrant/csit-sut.tar)
shell: |
if [ -z "$(docker images -q `cat {{ csit.home }}/VPP_DEVICE_IMAGE`)" ] && [ -e /vagrant/csit-sut.tar ]; then
docker load -i /vagrant/csit-sut.tar;
fi;
- ignore_errors: yes
+ ignore_errors: true
diff --git a/fdio.infra.ansible/roles/vault/defaults/main.yaml b/fdio.infra.ansible/roles/vault/defaults/main.yaml
index 232dc40694..817de84ae9 100644
--- a/fdio.infra.ansible/roles/vault/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/vault/defaults/main.yaml
@@ -156,4 +156,4 @@ vault_tls_cipher_suites: ""
vault_tls_prefer_server_cipher_suites: "{{ lookup('env','VAULT_TLS_PREFER_SERVER_CIPHER_SUITES') | default('false', true) }}"
vault_tls_files_remote_src: false
vault_tls_require_and_verify_client_cert: false
-vault_tls_disable_client_certs: false \ No newline at end of file
+vault_tls_disable_client_certs: false
diff --git a/fdio.infra.ansible/roles/vault/meta/main.yaml b/fdio.infra.ansible/roles/vault/meta/main.yaml
index b97486a6e7..e48e7d7976 100644
--- a/fdio.infra.ansible/roles/vault/meta/main.yaml
+++ b/fdio.infra.ansible/roles/vault/meta/main.yaml
@@ -6,7 +6,7 @@
# conf: ?
# info: 1.0 - added role
-dependencies: [ ]
+dependencies: []
galaxy_info:
role_name: vault
diff --git a/fdio.infra.ansible/roles/vault/tasks/main.yaml b/fdio.infra.ansible/roles/vault/tasks/main.yaml
index 8b9e3bf76f..300cfdb363 100644
--- a/fdio.infra.ansible/roles/vault/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vault/tasks/main.yaml
@@ -106,17 +106,17 @@
tags:
- vault-conf
-#- name: Conf - Copy Certificates And Keys
-# copy:
-# content: "{{ item.src }}"
-# dest: "{{ item.dest }}"
-# owner: "{{ vault_user }}"
-# group: "{{ vault_group }}"
-# mode: 0600
-# no_log: true
-# loop: "{{ vault_certificates | flatten(levels=1) }}"
-# tags:
-# - vault-conf
+# - name: Conf - Copy Certificates And Keys
+# copy:
+# content: "{{ item.src }}"
+# dest: "{{ item.dest }}"
+# owner: "{{ vault_user }}"
+# group: "{{ vault_group }}"
+# mode: 0600
+# no_log: true
+# loop: "{{ vault_certificates | flatten(levels=1) }}"
+# tags:
+# - vault-conf
- name: Conf - System.d Script
template:
diff --git a/fdio.infra.ansible/roles/vpp/tasks/main.yaml b/fdio.infra.ansible/roles/vpp/tasks/main.yaml
index ef03011b51..320584c432 100644
--- a/fdio.infra.ansible/roles/vpp/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -22,6 +22,6 @@
src: "/dev/null"
dest: "/etc/sysctl.d/80-vpp.conf"
state: "link"
- become: yes
+ become: true
tags:
- vpp-conf-sysctl
diff --git a/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml b/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
index d001608c7a..9816d7087c 100644
--- a/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
@@ -3,4 +3,4 @@
iavf_target_dir: "/opt"
iavf_version: "4.1.1"
-iavf_url: "https://downloads.sourceforge.net/project/e1000/iavf%20stable/{{ iavf_version }}/iavf-{{ iavf_version }}.tar.gz?ts=gAAAAABgvfs_L6gSH8B09NfEc8fzoooS3M2wyuOxlFEK5EtTstZWFdb2dYcqJZNqiirAT87dbc3GeJJrRst9KfUgS-byAeyaLw%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Fiavf%2520stable%2F{{ iavf_version }}%2Fiavf-{{ iavf_version }}.tar.gz%2Fdownload" \ No newline at end of file
+iavf_url: "https://downloads.sourceforge.net/project/e1000/iavf%20stable/{{ iavf_version }}/iavf-{{ iavf_version }}.tar.gz?ts=gAAAAABgvfs_L6gSH8B09NfEc8fzoooS3M2wyuOxlFEK5EtTstZWFdb2dYcqJZNqiirAT87dbc3GeJJrRst9KfUgS-byAeyaLw%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Fiavf%2520stable%2F{{ iavf_version }}%2Fiavf-{{ iavf_version }}.tar.gz%2Fdownload"
diff --git a/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml b/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
index ee9d368638..29342ae43c 100644
--- a/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
@@ -3,7 +3,7 @@
- name: Start csit-initialize-vfs.service
systemd:
- enabled: yes
+ enabled: true
state: started
name: csit-initialize-vfs.service
tags:
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index 9dbee8d99d..0114b05a40 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@ -75,43 +75,43 @@
- name: Copy csit-initialize-vfs.sh
copy:
- src: "files/csit-initialize-vfs.sh"
- dest: "/usr/local/bin/"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/csit-initialize-vfs.sh"
+ dest: "/usr/local/bin/"
+ owner: "root"
+ group: "root"
+ mode: 0744
tags:
- copy-vf-script
- name: Copy csit-initialize-vfs-data.sh
copy:
- src: "files/{{ vfs_data_file }}"
- dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/{{ vfs_data_file }}"
+ dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
+ owner: "root"
+ group: "root"
+ mode: 0744
tags: copy-vf-data-script
when:
- vfs_data_file is defined
- name: Copy Default csit-initialize-vfs-data.sh
copy:
- src: "files/csit-initialize-vfs-default.sh"
- dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/csit-initialize-vfs-default.sh"
+ dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
+ owner: "root"
+ group: "root"
+ mode: 0744
tags: copy-vf-data-script
when:
- vfs_data_file is not defined
- name: Start csit-initialize-vfs.service
copy:
- src: "files/csit-initialize-vfs.service"
- dest: "/etc/systemd/system/"
- owner: "root"
- group: "root"
- mode: 0644
+ src: "files/csit-initialize-vfs.service"
+ dest: "/etc/systemd/system/"
+ owner: "root"
+ group: "root"
+ mode: 0644
notify:
- "Start csit-initialize-vfs.service"
tags:
diff --git a/fdio.infra.ansible/site.yaml b/fdio.infra.ansible/site.yaml
index c2ad98cd48..9350a2c140 100644
--- a/fdio.infra.ansible/site.yaml
+++ b/fdio.infra.ansible/site.yaml
@@ -27,4 +27,4 @@
- import_playbook: vagrant.yaml
tags:
- - vagrant \ No newline at end of file
+ - vagrant
diff --git a/fdio.infra.ansible/sut.yaml b/fdio.infra.ansible/sut.yaml
index 3a0054fff8..d0faad10a7 100644
--- a/fdio.infra.ansible/sut.yaml
+++ b/fdio.infra.ansible/sut.yaml
@@ -3,7 +3,7 @@
- hosts: sut
remote_user: testuser
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
@@ -43,7 +43,7 @@
- hosts: sut_aws
remote_user: testuser
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
@@ -74,7 +74,7 @@
tags: calibration
- hosts: sut_azure
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
diff --git a/fdio.infra.ansible/tg.yaml b/fdio.infra.ansible/tg.yaml
index 10e1340a07..86184e10a7 100644
--- a/fdio.infra.ansible/tg.yaml
+++ b/fdio.infra.ansible/tg.yaml
@@ -3,7 +3,7 @@
- hosts: tg
remote_user: testuser
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
@@ -45,7 +45,7 @@
- hosts: tg_aws
remote_user: testuser
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
@@ -80,7 +80,7 @@
tags: calibration
- hosts: tg_azure
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
@@ -110,4 +110,4 @@
- role: cleanup
tags: cleanup
- role: calibration
- tags: calibration \ No newline at end of file
+ tags: calibration
diff --git a/fdio.infra.ansible/vagrant.yaml b/fdio.infra.ansible/vagrant.yaml
index 005f7866e3..ad655c3926 100644
--- a/fdio.infra.ansible/vagrant.yaml
+++ b/fdio.infra.ansible/vagrant.yaml
@@ -3,7 +3,7 @@
- hosts: vagrant
remote_user: vagrant
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks:
@@ -21,4 +21,4 @@
- role: vpp
tags: vpp
- role: vagrant
- tags: vagrant \ No newline at end of file
+ tags: vagrant
diff --git a/fdio.infra.ansible/vpp_device.yaml b/fdio.infra.ansible/vpp_device.yaml
index ae54669ae9..fbf7ba12ed 100644
--- a/fdio.infra.ansible/vpp_device.yaml
+++ b/fdio.infra.ansible/vpp_device.yaml
@@ -3,7 +3,7 @@
- hosts: vpp_device
remote_user: localadmin
- become: yes
+ become: true
become_user: root
gather_facts: false
pre_tasks: