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.
1 parent 3bd8c42 commit 830c4f8Copy full SHA for 830c4f8
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
+ vars:
6
+ gather_facts: false
7
+ reboot_with_bootstrap_user: false
8
+ ansible_user: "{{ bootstrap_user if reboot_with_bootstrap_user else kayobe_ansible_user }}"
9
+ ansible_python_interpreter: "{{ '/usr/bin/python3' if reboot_with_bootstrap_user else virtualenv_path + '/kayobe/bin/python' }}"
10
+ ansible_ssh_common_args: "{{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user else '' }}"
11
tags:
12
- reboot
13
tasks:
0 commit comments