Skip to content

Commit

Permalink
Merge pull request #21 from CentOS-PaaS-SIG/revert-20-no_log_fix
Browse files Browse the repository at this point in the history
Revert "variable syntax fix"
  • Loading branch information
joejstuart authored Jun 8, 2021
2 parents 295a7e4 + 7ccf439 commit f3475a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
kind: ProjectRequest
state: "{{ k8s_state }}"
validate_certs: False
no_log: "{{ global_no_log |bool }}"
no_log: global_no_log
register: result
until: result.failed == false
delay: 5
retries: 120
when: create_project |bool
when: create_project

- name: Merge and order configs
import_tasks: order_configs.yml
Expand All @@ -48,7 +48,7 @@
state: "{{ k8s_state }}"
validate_certs: False
definition: "{{ lookup('template', item.key) }}"
no_log: "{{ global_no_log |bool }}"
no_log: global_no_log
with_dict: "{{ k8s_secrets }}"
when: k8s_secrets | type_debug == 'dict'

Expand All @@ -60,7 +60,7 @@
state: "{{ k8s_state }}"
validate_certs: False
definition: "{{ lookup('template', item) }}"
no_log: "{{ global_no_log |bool }}"
no_log: global_no_log
with_items: "{{ k8s_secrets }}"
when: k8s_secrets | type_debug == 'list'

Expand Down

0 comments on commit f3475a1

Please sign in to comment.