Skip to content

Commit 424cc35

Browse files
committed
change yes to true
1 parent da72a9d commit 424cc35

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

etc/kayobe/ansible/reboot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
ansible_user: "{{ bootstrap_user if reboot_with_bootstrap_user | bool else kayobe_ansible_user }}"
1010
ansible_ssh_common_args: "{{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user | bool else '' }}"
1111
ansible_python_interpreter: /usr/bin/python3
12-
confirm_reboot: False
12+
confirm_reboot: false
1313
tags:
1414
- reboot
1515
tasks:
@@ -27,7 +27,7 @@
2727
that: confirm_reboot | bool or pause_prompt.user_input == 'yes'
2828
msg: >
2929
Reboot has not been confirmed. You must either type 'yes' when
30-
prompted, or set ``confirm_reboot=yes``.
30+
prompted, or set ``confirm_reboot: true``.
3131
3232
- name: Reboot and wait
3333
become: true

etc/kayobe/environments/aufn-ceph/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ os_release: >-
1818
# Extra vars.
1919

2020
# Don't prompt when rebooting hosts.
21-
confirm_reboot: "yes"
21+
confirm_reboot: true

etc/kayobe/environments/ci-aio/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ os_release: >-
5959
# Extra vars.
6060

6161
# Don't prompt when rebooting hosts.
62-
confirm_reboot: "yes"
62+
confirm_reboot: true
6363

6464
###############################################################################
6565
# Dummy variable to allow Ansible to accept this file.

etc/kayobe/environments/ci-builder/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
1212
# Extra vars.
1313

1414
# Don't prompt when rebooting hosts.
15-
confirm_reboot: "yes"
15+
confirm_reboot: true

etc/kayobe/environments/ci-doca-builder/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Extra vars.
44

55
# Don't prompt when rebooting hosts.
6-
confirm_reboot: "yes"
6+
confirm_reboot: true

etc/kayobe/environments/ci-multinode/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ selinux_do_reboot: true
6767
# Extra vars.
6868

6969
# Don't prompt when rebooting hosts.
70-
confirm_reboot: "yes"
70+
confirm_reboot: true
7171

7272
###############################################################################
7373
# Dummy variable to allow Ansible to accept this file.

releasenotes/notes/add-confirmation-prompt-to-reboot.yml-4fd1ae8e8d360e57.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ features:
33
- |
44
A confirmation prompt has been added to ``reboot.yml`` to help avoid
55
rebooting the wrong hosts by mistake. This check can be skipped by setting
6-
``confirm_reboot: yes``.
6+
``confirm_reboot: true``.

0 commit comments

Comments
 (0)