Infra: Ansible yaml lint cleanup 20/33520/1
authorpmikus <pmikus@cisco.com>
Wed, 18 Aug 2021 12:04:27 +0000 (12:04 +0000)
committerpmikus <pmikus@cisco.com>
Wed, 18 Aug 2021 12:04:27 +0000 (12:04 +0000)
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217

125 files changed:
fdio.infra.ansible/cloud_topology.yaml
fdio.infra.ansible/dev.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml
fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml
fdio.infra.ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml
fdio.infra.ansible/inventories/vagrant_inventory/group_vars/vagrant.yml
fdio.infra.ansible/nomad.yaml
fdio.infra.ansible/roles/ab/tasks/main.yaml
fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml
fdio.infra.ansible/roles/aws/tasks/ubuntu_focal.yaml
fdio.infra.ansible/roles/azure/defaults/main.yaml
fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml
fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
fdio.infra.ansible/roles/cadvisor/defaults/main.yaml
fdio.infra.ansible/roles/cadvisor/tasks/main.yaml
fdio.infra.ansible/roles/calibration/tasks/main.yaml
fdio.infra.ansible/roles/calibration/tasks/x86_64.yaml
fdio.infra.ansible/roles/cleanup/tasks/clean_images.yaml
fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
fdio.infra.ansible/roles/cleanup/tasks/kill_process.yaml
fdio.infra.ansible/roles/cleanup/tasks/nomad.yaml
fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
fdio.infra.ansible/roles/cleanup/tasks/vpp_device.yaml
fdio.infra.ansible/roles/common/defaults/main.yaml
fdio.infra.ansible/roles/common/tasks/main.yaml
fdio.infra.ansible/roles/consul/meta/main.yaml
fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
fdio.infra.ansible/roles/docker/defaults/main.yaml
fdio.infra.ansible/roles/docker/handlers/main.yaml
fdio.infra.ansible/roles/docker/meta/main.yaml
fdio.infra.ansible/roles/docker/tasks/main.yaml
fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
fdio.infra.ansible/roles/dpdk/meta/main.yaml
fdio.infra.ansible/roles/intel/defaults/main.yaml
fdio.infra.ansible/roles/intel/tasks/i40e.yaml
fdio.infra.ansible/roles/intel/tasks/iavf.yaml
fdio.infra.ansible/roles/intel/tasks/ice.yaml
fdio.infra.ansible/roles/intel/tasks/main.yaml
fdio.infra.ansible/roles/iperf/tasks/main.yaml
fdio.infra.ansible/roles/jenkins_job_health_exporter/defaults/main.yaml
fdio.infra.ansible/roles/kernel/defaults/main.yaml
fdio.infra.ansible/roles/kernel/handlers/main.yaml
fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml
fdio.infra.ansible/roles/kernel/tasks/ubuntu_focal.yaml
fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml
fdio.infra.ansible/roles/mellanox/defaults/main.yaml
fdio.infra.ansible/roles/mellanox/tasks/main.yaml
fdio.infra.ansible/roles/nomad/meta/main.yaml
fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml
fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
fdio.infra.ansible/roles/python_env/defaults/main.yaml
fdio.infra.ansible/roles/python_env/tasks/main.yaml
fdio.infra.ansible/roles/tg/handlers/main.yaml
fdio.infra.ansible/roles/tg/tasks/main.yaml
fdio.infra.ansible/roles/trex/defaults/main.yaml
fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
fdio.infra.ansible/roles/trex/tasks/main.yaml
fdio.infra.ansible/roles/user_add/defaults/main.yaml
fdio.infra.ansible/roles/vagrant/tasks/main.yml
fdio.infra.ansible/roles/vault/defaults/main.yaml
fdio.infra.ansible/roles/vault/meta/main.yaml
fdio.infra.ansible/roles/vault/tasks/main.yaml
fdio.infra.ansible/roles/vpp/tasks/main.yaml
fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
fdio.infra.ansible/site.yaml
fdio.infra.ansible/sut.yaml
fdio.infra.ansible/tg.yaml
fdio.infra.ansible/vagrant.yaml
fdio.infra.ansible/vpp_device.yaml

index 083a3bd..c62d3a7 100644 (file)
@@ -6,4 +6,3 @@
   roles:
     - role: topology
       tags: topology
-
index 6f6d2a7..895cf51 100644 (file)
@@ -3,7 +3,7 @@
 
 - hosts: dev
   remote_user: testuser
-  become: yes
+  become: true
   become_user: root
   gather_facts: false
   pre_tasks:
index c834def..76a7def 100644 (file)
@@ -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}}"]
index 4118c34..bca8cf7 100644 (file)
@@ -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}}"]
index d6d6c2d..4d87198 100644 (file)
@@ -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}}"]
index 87e69dc..99438bb 100644 (file)
@@ -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}}"]
index f59be0e..1a6db14 100644 (file)
@@ -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}}"]
index 3e3e8be..0a4abed 100644 (file)
@@ -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}}"]
index 7d25804..b36e195 100644 (file)
@@ -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}}"]
index f57c8df..0794894 100644 (file)
@@ -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"
index 90fe27e..293ee24 100644 (file)
@@ -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"
index 0124697..3a283c1 100644 (file)
@@ -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}}"]
index f6ab97f..a50cdef 100644 (file)
@@ -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}}"]
index 2b06831..38e85e9 100644 (file)
@@ -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"
index 9818f82..6cf52e9 100644 (file)
@@ -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"
index 24be5e2..595b612 100644 (file)
@@ -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"
index 7b59ff1..8a27fb9 100644 (file)
@@ -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"
index d69fd03..0ddc81d 100644 (file)
@@ -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"
index 9e6d17f..0e6e8c4 100644 (file)
@@ -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
index 286b2e1..51bb5e9 100644 (file)
@@ -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"]
index 11ceee2..ba53663 100644 (file)
@@ -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"]
index 4a4ccc0..fb0c4ba 100644 (file)
@@ -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"
index f0a50bf..d7da54a 100644 (file)
@@ -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"
index b51eed4..5687f9d 100644 (file)
@@ -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"
index 4b144fa..9925333 100644 (file)
@@ -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"
index 613c9b1..9e0a30d 100644 (file)
@@ -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"
index 52ec3d9..847790c 100644 (file)
@@ -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"
index 8971b4a..29c9ede 100644 (file)
@@ -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"
index ed39581..67d8a7d 100644 (file)
@@ -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"
index 1e3a49c..4996389 100644 (file)
@@ -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"
index d6f7e8d..544b662 100644 (file)
@@ -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}}"]
index 85bba72..e0f5c2a 100644 (file)
@@ -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}}"]
index 466d6ad..4d99871 100644 (file)
@@ -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}}"]
index 02b5032..5ea1d81 100644 (file)
@@ -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}}"]
index 264c62c..43585d4 100644 (file)
@@ -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:
index b42495e..a71ddba 100644 (file)
@@ -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"
index 43efb46..79733c4 100644 (file)
@@ -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"
index 05f1a19..6f6dece 100644 (file)
@@ -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
index c6cb68c..1038df5 100644 (file)
@@ -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"
index 5d35064..196fd5f 100644 (file)
@@ -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"
index aff6002..69733ed 100644 (file)
@@ -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"
index aef3528..06e147e 100644 (file)
@@ -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}}"]
index 0711a0c..90d6cce 100644 (file)
@@ -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}}"]
index e73da2b..8c4fa7e 100644 (file)
@@ -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}}"]
index 866601d..f7a5626 100644 (file)
@@ -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}}"]
index 6fe0dbc..a6c87e3 100644 (file)
@@ -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"
index f963d4b..4fd37fb 100644 (file)
@@ -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"
index 6913550..c463577 100644 (file)
@@ -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"
index 98cffb3..dd903ae 100644 (file)
@@ -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"
index f58b2ce..ddba226 100644 (file)
@@ -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"
index 364ab8b..4b4c867 100644 (file)
@@ -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"
index dc8a060..397ea57 100644 (file)
@@ -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"
index ebb3f4c..a0c8b73 100644 (file)
@@ -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"
index fc4a8af..1c3183f 100644 (file)
@@ -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"
index 20cea1d..c17eae8 100644 (file)
@@ -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"
index 1ebbb41..5a8c4ca 100644 (file)
@@ -3,7 +3,7 @@
 
 - hosts: nomad
   remote_user: localadmin
-  become: yes
+  become: true
   become_user: root
   gather_facts: false
   pre_tasks:
index 37e702e..c69ed25 100644 (file)
@@ -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
index bca1cf5..4108a98 100644 (file)
@@ -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
index a8cc56c..60302f2 100644 (file)
@@ -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
index 0048d19..3d244d8 100644 (file)
@@ -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>
index 239b897..b3cc3d0 100644 (file)
@@ -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
index 3b25e55..5dba8c9 100644 (file)
@@ -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"
index a2a1336..a8c3f70 100644 (file)
@@ -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'
     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"
index 5f4470a..9166d58 100644 (file)
@@ -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'
index 90b1c95..cb98c00 100644 (file)
 
 - 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
index e030acb..7558ee0 100644 (file)
     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
index 25fd48e..750572f 100644 (file)
@@ -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!"
index c7cee37..d6c6ed5 100644 (file)
@@ -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!"
index 3c5bf64..3d8f322 100644 (file)
@@ -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
index 302b43c..484868e 100644 (file)
 - 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:
index 41c4b29..23d001f 100644 (file)
@@ -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
index 43e40eb..06cfbd8 100644 (file)
@@ -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 }}
index 1233690..7418709 100644 (file)
@@ -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'
index 5fb7e18..c848f67 100644 (file)
@@ -6,7 +6,7 @@
 # conf: ?
 # info: 1.0 - added role
 
-dependencies: [ ]
+dependencies: []
 galaxy_info:
   role_name: consul
   author: fd.io
index 2affe4b..9dddbe4 100644 (file)
@@ -27,4 +27,4 @@
   args:
     chdir: "/opt/csit-sut"
   tags:
-    - csit-sut-image
\ No newline at end of file
+    - csit-sut-image
index df9d2c9..a8f4e62 100644 (file)
@@ -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 }}"
index d89adb9..572b789 100644 (file)
@@ -6,4 +6,4 @@
     name: "docker"
     state: "{{ docker_restart_handler_state }}"
   tags:
-    - docker-restart-service
\ No newline at end of file
+    - docker-restart-service
index ab3d197..e191fd4 100644 (file)
@@ -1,4 +1,4 @@
 ---
 # file: roles/docker/meta/main.yaml
 
-dependencies: []
\ No newline at end of file
+dependencies: []
index d40e1a4..27b9d25 100644 (file)
@@ -77,7 +77,7 @@
   user:
     name: "{{ ansible_user }}"
     groups: "docker"
-    append: True
+    append: true
   tags:
     - docker-conf-user
 
index 8bda4fe..21f28e0 100644 (file)
@@ -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
index 84bd1c5..236cec6 100644 (file)
@@ -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
index 8acf6ef..cc3bf5f 100644 (file)
@@ -6,7 +6,7 @@
 # conf: ?
 # info: 1.0 - added role
 
-dependencies: [ ]
+dependencies: []
 
 galaxy_info:
   role_name: dpdk
index 1ea3966..0ad227d 100644 (file)
@@ -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"
index fe8ae7c..1831dd1 100644 (file)
@@ -27,7 +27,7 @@
     - "make install"
     - "modprobe -r i40e"
     - "modprobe i40e"
-  failed_when: no
+  failed_when: true
   when:
     - intel_driver_extracted
   tags:
index 9ec6781..dfdb496 100644 (file)
@@ -27,7 +27,7 @@
     - "make install"
     - "modprobe -r iavf"
     - "modprobe iavf"
-  failed_when: no
+  failed_when: true
   when:
     - intel_driver_extracted
   tags:
index 0a2fe8a..9baa9d0 100644 (file)
@@ -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
 
index 4f62891..0d361a9 100644 (file)
@@ -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'
 - 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
 
   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
index f8948ca..a2b7709 100644 (file)
@@ -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
index 4ffa94d..73a0cae 100644 (file)
@@ -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"
index b9b4253..92dc30f 100644 (file)
@@ -40,4 +40,4 @@ absent_packages_by_distro:
     focal:
       - "amd64-microcode"
       - "intel-microcode"
-      - "iucode-tool"
\ No newline at end of file
+      - "iucode-tool"
index 963fd71..8e1239a 100644 (file)
@@ -5,4 +5,4 @@
   reboot:
     reboot_timeout: 3600
   tags:
-    - reboot-server
\ No newline at end of file
+    - reboot-server
index 349c853..950e1bf 100644 (file)
@@ -48,4 +48,4 @@
     state: absent
     purge: true
   tags:
-    - kernel-inst
\ No newline at end of file
+    - kernel-inst
index 9cbc4d4..bc59db3 100644 (file)
@@ -48,4 +48,4 @@
     state: absent
     purge: true
   tags:
-    - kernel-inst
\ No newline at end of file
+    - kernel-inst
index 4d1b306..78bb822 100644 (file)
@@ -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
index 454e80e..e2f2b86 100644 (file)
@@ -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
index 0961ec7..0caaae1 100644 (file)
@@ -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"
index 6702829..3cccdb7 100644 (file)
@@ -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
 
index 7036087..4f467ce 100644 (file)
@@ -6,7 +6,7 @@
 # conf: ?
 # info: 1.0 - added role
 
-dependencies: [ docker ]
+dependencies: [docker]
 
 galaxy_info:
   role_name: nomad
index 2dad931..128be49 100644 (file)
@@ -17,4 +17,4 @@ packages_by_arch:
   aarch64:
     - []
   x86_64:
-    - []
\ No newline at end of file
+    - []
index e9cdd0d..b123be0 100644 (file)
@@ -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'
   tags:
     - perf-conf-load-kernel-modules
 
-- meta: flush_handlers
\ No newline at end of file
+- meta: flush_handlers
index 7f69365..cff71e9 100644 (file)
@@ -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
index f61c26e..526dcf5 100644 (file)
@@ -22,4 +22,4 @@ modules:
       query_name: "jenkins.fd.io"
       query_type: "A"
       valid_rcodes:
-      - NOERROR
\ No newline at end of file
+        - NOERROR
index 3f4b563..3fe40f0 100644 (file)
@@ -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'
     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
 
     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
index 342d1c3..36e599a 100644 (file)
@@ -38,4 +38,4 @@ packages_by_arch:
   aarch64:
     - []
   x86_64:
-    - []
\ No newline at end of file
+    - []
index 261e15a..7df8008 100644 (file)
@@ -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'
index e13e67b..b2c32a7 100644 (file)
@@ -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:
index 4e79dab..70ed384 100644 (file)
@@ -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:
 
 - 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:
index 19bb15e..9992518 100644 (file)
@@ -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"
index 5a7890b..9aeb1be 100644 (file)
@@ -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
 
 - 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
index d43baf9..8f659b6 100644 (file)
@@ -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
index fc80b8a..643ad7d 100644 (file)
@@ -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
index fa4ab4a..14e919c 100644 (file)
@@ -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:
   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
index 232dc40..817de84 100644 (file)
@@ -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
index b97486a..e48e7d7 100644 (file)
@@ -6,7 +6,7 @@
 # conf: ?
 # info: 1.0 - added role
 
-dependencies: [ ]
+dependencies: []
 
 galaxy_info:
   role_name: vault
index 8b9e3bf..300cfdb 100644 (file)
   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:
index ef03011..320584c 100644 (file)
@@ -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
index d001608..9816d70 100644 (file)
@@ -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"
index ee9d368..29342ae 100644 (file)
@@ -3,7 +3,7 @@
 
 - name: Start csit-initialize-vfs.service
   systemd:
-    enabled: yes
+    enabled: true
     state: started
     name: csit-initialize-vfs.service
   tags:
index 9dbee8d..0114b05 100644 (file)
 
 - 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:
index c2ad98c..9350a2c 100644 (file)
@@ -27,4 +27,4 @@
 
 - import_playbook: vagrant.yaml
   tags:
-    - vagrant
\ No newline at end of file
+    - vagrant
index 3a0054f..d0faad1 100644 (file)
@@ -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:
index 10e1340..86184e1 100644 (file)
@@ -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:
     - role: cleanup
       tags: cleanup
     - role: calibration
-      tags: calibration
\ No newline at end of file
+      tags: calibration
index 005f786..ad655c3 100644 (file)
@@ -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
index ae54669..fbf7ba1 100644 (file)
@@ -3,7 +3,7 @@
 
 - hosts: vpp_device
   remote_user: localadmin
-  become: yes
+  become: true
   become_user: root
   gather_facts: false
   pre_tasks: