tripleo-heat-templates/tools
Takashi Kajinami 3b986aba9b Use yaml.safe_load to load YAML files
Since PyYAML 5.1, yaml.load without specifying the Loader option is
deprecated and shows the following warning.

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.

This change replaces yaml.load by yaml.safe_load (which is effectively
same as adding Loader=yaml.SafeLoader) to get rid of that warning
message. Also, existing all usage of yaml.load with the Loader option
are also replaced so that we to make all implementation to load yaml
files consistent.

Closes-Bug: #1947373

Change-Id: Id44fa2354429b944fbc0809f63db558bb7de23f7
(cherry picked from commit 53040573ab)
(cherry picked from commit 8a4351664d)
2021-10-18 15:43:40 +00:00
..
check-up-to-date.sh Make krb-service-principal metadata per-Role 2019-04-05 14:22:20 +00:00
make_ceph_disk_list.py Use python3 in tools scripts 2020-04-29 09:23:36 +02:00
merge-new-params-nic-config-script.py Pass Loader to yaml.load to remove YAMLLoadWarning 2019-09-06 13:29:16 +09:00
process-templates.py Add tags to THT network resources 2021-05-20 10:40:43 +02:00
releasenotes_tox.sh tox: Keeping going with docs 2019-11-03 02:44:38 +08:00
render-ansible-tasks.py Use yaml.safe_load to load YAML files 2021-10-18 15:43:40 +00:00
roles-data-generate-samples.sh Add in roles data validation 2017-07-07 09:51:40 -06:00
roles-data-generate.py Use python3 in tools scripts 2020-04-29 09:23:36 +02:00
roles-data-validation.sh Remove fluentd composable service 2019-08-29 13:52:55 +01:00
yaml-diff.py Use python3 in tools scripts 2020-04-29 09:23:36 +02:00
yaml-nic-config-2-script.py Use python3 in tools scripts 2020-04-29 09:23:36 +02:00
yaml-validate.py Use yaml.safe_load to load YAML files 2021-10-18 15:43:40 +00:00