aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/baremetal
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 /fdio.infra.ansible/roles/baremetal
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
Diffstat (limited to 'fdio.infra.ansible/roles/baremetal')
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/cimc.yaml10
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml4
2 files changed, 7 insertions, 7 deletions
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