Wolfgang Kulhanek
2020-02-20 a3769b7ec18eaf815e23f56cb35cdd9303c97609
Add ansible_python_interpreter to ensure cluster recovery works. (#1169)

1 files modified
3 ■■■■■ changed files
ansible/configs/ocp4-workshop/lifecycle.yml 3 ●●●●● patch | view | raw | blame | history
ansible/configs/ocp4-workshop/lifecycle.yml
@@ -98,6 +98,9 @@
  become: false
  gather_facts: false
  tasks:
  - name: Set Ansible Python interpreter to k8s virtualenv
    set_fact:
      ansible_python_interpreter: /opt/virtualenvs/k8s/bin/python
  - name: Recover cluster if it missed cert rotation
    delegate_to: "{{ groups['bastions'] | first }}"
    when: ACTION == 'start'