Add variable ocp4_enable_cluster_shutdown, remove tag (#1200)
| | |
| | | # Install OpenShift 4 - and which version |
| | | install_ocp4: true |
| | | ocp4_installer_version: "4.3.0" |
| | | # Run logic to enable cluster shutdown before 24h initial certificate rotation (default is true) |
| | | ocp4_enable_cluster_shutdown: true |
| | | |
| | | subdomain_base_suffix: ".example.opentlc.com" |
| | | |
| | | # Run smoketests after installation |
| | |
| | | run_once: yes |
| | | gather_facts: false |
| | | become: false |
| | | tags: |
| | | - enable_shutdown |
| | | environment: |
| | | KUBECONFIG: /home/{{ remote_user }}/{{ cluster_name }}/auth/kubeconfig |
| | | tasks: |
| | | - when: |
| | | - install_ocp4 | d(False) | bool |
| | | - ocp4_enable_cluster_shutdown | d(True) | bool |
| | | block: |
| | | - name: Set Ansible Python interpreter to k8s virtualenv |
| | | set_fact: |
| | |
| | | #ocp4_installer_url: https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/4.2.0-0.nightly-2019-08-27-072819/openshift-install-linux-4.2.0-0.nightly-2019-08-27-072819.tar.gz |
| | | #ocp4_client_url: https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/4.2.0-0.nightly-2019-08-27-072819/openshift-client-linux-4.2.0-0.nightly-2019-08-27-072819.tar.gz |
| | | |
| | | # Run logic to enable cluster shutdown before 24h initial certificate rotation (default is true) |
| | | ocp4_enable_cluster_shutdown: true |
| | | |
| | | cluster_name: "cluster-{{ guid }}" |
| | | |
| | | cloud_tags: |
| | |
| | | run_once: yes |
| | | gather_facts: false |
| | | become: false |
| | | tags: |
| | | - enable_shutdown |
| | | tasks: |
| | | - when: |
| | | - install_ocp4 | d(False) | bool |
| | | - ocp4_enable_cluster_shutdown | d(True) | bool |
| | | environment: |
| | | KUBECONFIG: "{{ cluster_name }}/auth/kubeconfig" |
| | | ignore_errors: yes |