You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume problem is here:
- name: Reset Confirmation
pause:
prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster."
register: reset_confirmation
run_once: True
when:
- not (skip_confirmation | default(false) | bool)
- reset_confirmation is not defined
- name: Check confirmation
fail:
msg: "Reset confirmation failed"
when:
- not reset_confirmation | default(false) | bool
- not reset_confirmation_prompt.user_input | default("") == "yes"
The text was updated successfully, but these errors were encountered:
Environment:
Cloud provider or hardware configuration:
Hardware
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Linux 6.4.3-060403-generic x86_64
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Version of Ansible (
ansible --version
):ansible [core 2.15.2]
config file = /home/misha/Ansible/kubespray/ansible.cfg
configured module search path = ['/home/misha/Ansible/kubespray/library']
ansible python module location = /home/misha/.local/lib/python3.10/site-packages/ansible
ansible collection location = /home/misha/.ansible/collections:/usr/share/ansible/collections
executable location = /home/misha/.local/bin/ansible
python version = 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True
Version of Python (
python --version
):Python 3.10.6
Kubespray version (commit) (
git rev-parse --short HEAD
):d2383d2
Network plugin used:
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):Command used to invoke ansible:
Output of ansible run:
[Reset Confirmation]
Are you sure you want to reset cluster state? Type 'yes' to reset your cluster.:
TASK [Reset Confirmation] *************************************************************************************************************
ok: [node1]
Четверг 20 июля 2023 12:55:02 +0300 (0:00:02.223) 0:00:12.590 **********
TASK [Check confirmation] *************************************************************************************************************
fatal: [node1]: FAILED! => {"changed": false, "msg": "Reset confirmation failed"}
fatal: [node2]: FAILED! => {"changed": false, "msg": "Reset confirmation failed"}
fatal: [node3]: FAILED! => {"changed": false, "msg": "Reset confirmation failed"}
Anything else do we need to know:
I assume problem is here:
- name: Reset Confirmation
pause:
prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster."
register: reset_confirmation
run_once: True
when:
- not (skip_confirmation | default(false) | bool)
- reset_confirmation is not defined
- name: Check confirmation
fail:
msg: "Reset confirmation failed"
when:
- not reset_confirmation | default(false) | bool
- not reset_confirmation_prompt.user_input | default("") == "yes"
The text was updated successfully, but these errors were encountered: