From 9f6415bd7bb68e4e3fe4101012088b335eba08fe Mon Sep 17 00:00:00 2001
From: Debora Benedetto <debora.benedetto@hpe.com>
Date: Fri, 5 Aug 2022 17:14:42 +0200
Subject: [PATCH] change main.yaml extension in main.yml

---
 .../nginx_openstack/nginx/{main.yaml => main.yml}               | 0
 .../nginx_openstack/piacere_monitoring/{main.yaml => main.yml}  | 0
 plugin/AnsiblePlugin.py                                         | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename output_files_generated/nginx_openstack/nginx/{main.yaml => main.yml} (100%)
 rename output_files_generated/nginx_openstack/piacere_monitoring/{main.yaml => main.yml} (100%)

diff --git a/output_files_generated/nginx_openstack/nginx/main.yaml b/output_files_generated/nginx_openstack/nginx/main.yml
similarity index 100%
rename from output_files_generated/nginx_openstack/nginx/main.yaml
rename to output_files_generated/nginx_openstack/nginx/main.yml
diff --git a/output_files_generated/nginx_openstack/piacere_monitoring/main.yaml b/output_files_generated/nginx_openstack/piacere_monitoring/main.yml
similarity index 100%
rename from output_files_generated/nginx_openstack/piacere_monitoring/main.yaml
rename to output_files_generated/nginx_openstack/piacere_monitoring/main.yml
diff --git a/plugin/AnsiblePlugin.py b/plugin/AnsiblePlugin.py
index 026c5b9..c4d0146 100644
--- a/plugin/AnsiblePlugin.py
+++ b/plugin/AnsiblePlugin.py
@@ -57,7 +57,7 @@ def create_files(step, output_path):
             # for resource_params in parameters[resource_name]:
             resource_params = parameters[resource_name]
 
-            ansible_output_file_path = output_path + "/".join([step_name, "main"]) + ".yaml"
+            ansible_output_file_path = output_path + "/".join([step_name, "main"]) + ".yml"
             inventory_output_file_path = output_path + "/".join([step_name, "inventory"]) + ".j2"
             config_output_file_path = output_path + "/".join([step_name, "config"]) + ".yaml"
             ssh_key_output_file_path = output_path + "/".join([step_name, "ssh_key.j2"])
-- 
GitLab