forked from finallycoffee/nextcloud
chore(server): do not leak secrets in ansible task names
This commit is contained in:
parent
c56b82121b
commit
63f45dc193
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Ensure {{ key }} is set to {{ value }}
|
- name: Ensure {{ key }} is set to {{ '***' if ['pass', 'secret', 'key']|select('in', key) else value }}
|
||||||
block:
|
block:
|
||||||
- name: Check value of {{ key }}
|
- name: Check value of {{ key }}
|
||||||
community.docker.docker_container_exec:
|
community.docker.docker_container_exec:
|
||||||
@ -12,7 +12,7 @@
|
|||||||
check_mode: false
|
check_mode: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Set {{ key }} to {{ value }}
|
- name: Set {{ key }} to {{ '***' if (['pass', 'secret', 'key']|select('in', key)) else value }}
|
||||||
community.docker.docker_container_exec:
|
community.docker.docker_container_exec:
|
||||||
container: "{{ nextcloud_container_name }}"
|
container: "{{ nextcloud_container_name }}"
|
||||||
command: "{{ nextcloud_occ_command }} config:{{ type }}:set {{ scope }} {{ entry }} --type={{ value_type }} --value={{ value }} -n"
|
command: "{{ nextcloud_occ_command }} config:{{ type }}:set {{ scope }} {{ entry }} --type={{ value_type }} --value={{ value }} -n"
|
||||||
|
Loading…
Reference in New Issue
Block a user