tripleo-heat-templates/common/container_startup_configs_tasks.yaml
Alex Schultz 632ad172ed Do not log startup config output
These items are a bit verbose and may contain information that shouldn't
be logged.

Change-Id: I8deb062e826787deb31b74553d2f798a3f6d73ff
2019-11-04 14:39:44 -07:00

20 lines
588 B
YAML

---
- set_fact:
step_path: "{{ item.0 }}"
- name: "Create directory for {{ step_path }} container startup configs"
file:
path: "/var/lib/tripleo-config/container-startup-config/{{ step_path }}/"
mode: 0600
recurse: yes
setype: svirt_sandbox_file_t
- name: "Creating container startup configs for {{ step_path }}"
copy:
content: "{{ item.value | to_nice_json }}"
dest: "/var/lib/tripleo-config/container-startup-config/{{ step_path }}/{{ item.key }}.json"
setype: svirt_sandbox_file_t
mode: 0600
no_log: true
loop: "{{ item.1 | dict2items }}"