Hide API key from task output and syslog

This commit is contained in:
pulsar committed 2026-11-13 18:40:05 +01:00
1 parent 4e73d48d56
commit 2c68499a10
2 files changed
+7

No files matched your search

+4
View File
@@ -22,6 +22,8 @@
when: uuid | length <= 0
changed_when: true
register: created
# Hide the API key (task output and syslog on the instance)
no_log: "{{ hcio_no_log }}"
loop: "{{ hcio_checks }}"
loop_control:
label: "{{ item.name }}"
@@ -54,6 +56,8 @@
"channels": "{{ channels }}"
}
when: uuid | length > 0
# Hide the API key (task output and syslog on the instance)
no_log: "{{ hcio_no_log }}"
loop: "{{ hcio_checks }}"
loop_control:
label: "{{ item.name }}"