We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e647aa1 + acc08a3 commit d76ba77Copy full SHA for d76ba77
etc/kayobe/ansible/reboot.yml
@@ -2,6 +2,12 @@
2
- name: Reboot the host
3
hosts: seed-hypervisor:seed:overcloud:infra-vms
4
serial: "{{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
5
+ gather_facts: false
6
+ vars:
7
+ reboot_with_bootstrap_user: false
8
+ ansible_user: "{{ bootstrap_user if reboot_with_bootstrap_user | bool else kayobe_ansible_user }}"
9
+ ansible_ssh_common_args: "{{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user | bool else '' }}"
10
+ ansible_python_interpreter: "/usr/bin/python3"
11
tags:
12
- reboot
13
tasks:
0 commit comments