9 lines
336 B
YAML
9 lines
336 B
YAML
---
|
|
- name: Create secrets for container {{ container_name }}
|
|
containers.podman.podman_secret:
|
|
name: "{{ item.name }}"
|
|
data: "{{ item.value | default(lookup('community.general.random_string', special=false, length=128)) }}"
|
|
skip_existing: "{{ item.value is not defined }}"
|
|
no_log: true
|
|
loop: "{{ container_secrets }}"
|