Jim Rigsbee
2020-01-13 c7a9cdae345403034b83f6fdc815408fea8d2cb4
Fixed defaults for report_status var
2 files modified
8 ■■■■ changed files
ansible/configs/ocp4-workshop/post_software.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp4-workshop/software.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp4-workshop/post_software.yml
@@ -399,7 +399,7 @@
    slurp:
      path: /home/{{ ansible_user }}/{{ cluster_name }}/auth/kubeadmin-password
    register: kubeadminr
    when: report_status
    when: report_status | d(false)
  - name: Get Cluster ID
    environment:
      KUBECONFIG: /home/{{ ansible_user }}/{{ cluster_name }}/auth/kubeconfig
@@ -416,6 +416,6 @@
      classroom_status: "Classroom ready"
      status_json: "{{ lookup('template', 'report.j2') }}"
      bastion_dns_name: "bastion{{ guid }}{{ subdomain_base_suffix }}"
    when: report_status
    when: report_status | d(false)
  - debug:
      msg: "Post-Software checks completed successfully"
ansible/configs/ocp4-workshop/software.yml
@@ -12,7 +12,7 @@
        classroom_status: "Starting the OpenShift Installation"
        status_json: "{{ lookup('template', 'report-before-install.j2') }}"
        bastion_dns_name: "bastion{{ guid }}{{ subdomain_base_suffix }}"
      when: report_status
      when: report_status | d(false)
- name: Step 00xxxxx software
  hosts: bastions
@@ -274,7 +274,7 @@
            classroom_status: "OpenShift Installation Completed"
            status_json: "{{ lookup('template', 'report.j2') }}"
            bastion_dns_name: "bastion{{ guid }}{{ subdomain_base_suffix }}"
          when: report_status
          when: report_status | d(false)
      always:
        - name: Delete deployinprogress lock file