Merge "infra-prod: don't encrypt logs if they are being published"

This commit is contained in:
Zuul 2023-01-17 23:04:18 +00:00 committed by Gerrit Code Review
commit 0ae000f725

View File

@ -5,7 +5,9 @@
- hosts: prod_bastion[0]
tasks:
- name: Encrypt log
when: infra_prod_playbook_encrypt_log|default(False)
when: >
infra_prod_playbook_encrypt_log|default(False) and
(not infra_prod_playbook_collect_log)
block:
- name: Create temporary staging area for encrypted logs