From f8b2bcbae785cdcea8d56a6adbfc28125e2c2ff9 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Wed, 4 Dec 2019 17:43:55 +0100 Subject: [PATCH] Linters: test new linter job Depends-On: https://github.com/ansible/zuul-jobs/pull/40 --- installer/roles/kubernetes/tasks/main.yml | 6 +++--- installer/roles/kubernetes/tasks/restore.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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: |