diff --git a/installer/roles/kubernetes/tasks/main.yml b/installer/roles/kubernetes/tasks/main.yml index c083cad426..112ce9fa8f 100644 --- a/installer/roles/kubernetes/tasks/main.yml +++ b/installer/roles/kubernetes/tasks/main.yml @@ -189,12 +189,12 @@ command: | {{ kubectl_or_oc }} config view -o json register: kube_config_cmd - no_log: yes + no_log: true - name: Convert kube config to dictionary set_fact: kube_config: "{{ kube_config_cmd.stdout | from_json }}" - no_log: yes + no_log: true - name: Extract current context from kube config set_fact: @@ -217,7 +217,7 @@ - name: Get kube version from api server uri: url: "{{ kube_server | trim }}/version" - validate_certs: no + validate_certs: false register: kube_version - name: Extract server version from command output diff --git a/installer/roles/kubernetes/tasks/restore.yml b/installer/roles/kubernetes/tasks/restore.yml index 4917a8a4c7..222219a32c 100644 --- a/installer/roles/kubernetes/tasks/restore.yml +++ b/installer/roles/kubernetes/tasks/restore.yml @@ -83,7 +83,7 @@ --port={{ pg_port | default('5432') }} \ --username={{ pg_username }} \ --dbname=template1" < {{ playbook_dir }}/tower-openshift-restore/tower.db - no_log: yes + no_log: true - name: Delete management pod shell: | @@ -106,7 +106,7 @@ get pods -l=name=postgresql --field-selector status.phase=Running -o jsonpath="{.items[0].metadata.name}") {{ kubectl_or_oc }} exec -i $POD -n {{ kubernetes_namespace }} -- bash -c "\ psql --dbname=template1" < {{ playbook_dir }}/tower-openshift-restore/tower.db - no_log: yes + no_log: true - name: Revoke createdb role shell: |