From c36612e17577255f5af724f5a4c3ce3597ba5f37 Mon Sep 17 00:00:00 2001 From: Steven Schattenberg <122639296+steven-schattenberg-itential@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:26:26 -0400 Subject: [PATCH] Rename to yml (#28) * Rename all yaml files to yml * Rename yaml references to yml --- playbooks/{install.yaml => install.yml} | 0 ...tandby.yaml => install_active_standby.yml} | 0 .../gateway/defaults/{main.yaml => main.yml} | 0 roles/gateway/tasks/download-packages.yml | 4 ++-- roles/gateway/tasks/{main.yaml => main.yml} | 24 +++++++++---------- ...ease-file.yaml => update-release-file.yml} | 0 .../{upgrade-iag.yaml => upgrade-iag.yml} | 0 .../templates/automation-gateway.service.j2 | 2 +- ...ir.config.yaml.j2 => nornir.config.yml.j2} | 6 ++--- ...021.1.yaml.j2 => properties.2021.1.yml.j2} | 4 ++-- ...022.1.yaml.j2 => properties.2021.2.yml.j2} | 5 ++-- ...021.2.yaml.j2 => properties.2022.1.yml.j2} | 5 ++-- ...023.1.yaml.j2 => properties.2023.1.yml.j2} | 4 ++-- ...023.2.yaml.j2 => properties.2023.2.yml.j2} | 4 ++-- ...21.1-centos-7.yaml => 2021.1-centos-7.yml} | 0 ...21.1-redhat-7.yaml => 2021.1-redhat-7.yml} | 0 ...21.2-centos-7.yaml => 2021.2-centos-7.yml} | 0 ...21.2-redhat-7.yaml => 2021.2-redhat-7.yml} | 0 ...22.1-redhat-8.yaml => 2022.1-redhat-8.yml} | 0 ...2022.1-rocky-8.yaml => 2022.1-rocky-8.yml} | 0 ...23.1-redhat-8.yaml => 2023.1-redhat-8.yml} | 0 ...23.1-redhat-9.yaml => 2023.1-redhat-9.yml} | 0 ...2023.1-rocky-8.yaml => 2023.1-rocky-8.yml} | 0 ...2023.1-rocky-9.yaml => 2023.1-rocky-9.yml} | 0 ...23.2-redhat-8.yaml => 2023.2-redhat-8.yml} | 0 ...23.2-redhat-9.yaml => 2023.2-redhat-9.yml} | 0 ...2023.2-rocky-8.yaml => 2023.2-rocky-8.yml} | 0 ...2023.2-rocky-9.yaml => 2023.2-rocky-9.yml} | 0 ...e-undefined.yaml => release-undefined.yml} | 0 .../mongodb/defaults/{main.yaml => main.yml} | 0 roles/mongodb/tasks/download-packages.yml | 4 ++-- roles/mongodb/tasks/{main.yaml => main.yml} | 4 ++-- ...21.1-centos-7.yaml => 2021.1-centos-7.yml} | 0 ...21.1-redhat-7.yaml => 2021.1-redhat-7.yml} | 0 ...21.2-centos-7.yaml => 2021.2-centos-7.yml} | 0 ...21.2-redhat-7.yaml => 2021.2-redhat-7.yml} | 0 ...22.1-redhat-8.yaml => 2022.1-redhat-8.yml} | 0 ...22.1-redhat-9.yaml => 2022.1-redhat-9.yml} | 0 ...2022.1-rocky-8.yaml => 2022.1-rocky-8.yml} | 0 ...23.1-redhat-8.yaml => 2023.1-redhat-8.yml} | 0 ...23.1-redhat-9.yaml => 2023.1-redhat-9.yml} | 0 ...2023.1-rocky-8.yaml => 2023.1-rocky-8.yml} | 0 ...2023.1-rocky-9.yaml => 2023.1-rocky-9.yml} | 0 ...23.2-redhat-8.yaml => 2023.2-redhat-8.yml} | 0 ...23.2-redhat-9.yaml => 2023.2-redhat-9.yml} | 0 ...2023.2-rocky-8.yaml => 2023.2-rocky-8.yml} | 0 ...2023.2-rocky-9.yaml => 2023.2-rocky-9.yml} | 0 ...e-undefined.yaml => release-undefined.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../mongodb_tls/tasks/{main.yaml => main.yml} | 0 ...load-adapter.yaml => download-adapter.yml} | 0 ...ad-adapters.yaml => download-adapters.yml} | 2 +- .../{download-rpms.yaml => download-rpms.yml} | 0 ...wnload-wheels.yaml => download-wheels.yml} | 0 ...fetch-packages.yaml => fetch-packages.yml} | 0 ...stall-adapter.yaml => install-adapter.yml} | 0 .../{install-rpms.yaml => install-rpms.yml} | 0 ...rchive.yaml => install-wheels-archive.yml} | 0 ...hives.yaml => install-wheels-archives.yml} | 2 +- ...install-wheels.yaml => install-wheels.yml} | 0 roles/os/tasks/download-packages.yml | 4 ++-- roles/os/tasks/{main.yaml => main.yml} | 2 +- ...redhat-offline.yaml => redhat-offline.yml} | 0 .../{redhat-online.yaml => redhat-online.yml} | 0 roles/os/tasks/{redhat.yaml => redhat.yml} | 8 +++---- .../os/vars/{release-7.yaml => release-7.yml} | 0 .../os/vars/{release-8.yaml => release-8.yml} | 0 .../os/vars/{release-9.yaml => release-9.yml} | 0 ...e-undefined.yaml => release-undefined.yml} | 0 .../platform/defaults/{main.yaml => main.yml} | 0 .../platform/tasks/determine-release-vars.yml | 2 +- ...all-adapters.yaml => install-adapters.yml} | 0 roles/platform/tasks/{main.yaml => main.yml} | 0 roles/platform/tasks/mongo-init.yml | 2 +- .../{upgrade-iap.yaml => upgrade-iap.yml} | 0 roles/platform/vars/{main.yaml => main.yml} | 0 ...e-undefined.yaml => release-undefined.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 roles/rabbitmq/tasks/download-packages.yml | 4 ++-- roles/rabbitmq/tasks/{main.yaml => main.yml} | 4 ++-- ...release-2021.1.yaml => release-2021.1.yml} | 0 ...release-2021.2.yaml => release-2021.2.yml} | 0 ...release-2022.1.yaml => release-2022.1.yml} | 0 ...release-2023.1.yaml => release-2023.1.yml} | 0 ...e-undefined.yaml => release-undefined.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 roles/redis/defaults/{main.yaml => main.yml} | 0 roles/redis/tasks/download-packages.yml | 4 ++-- roles/redis/tasks/{main.yaml => main.yml} | 8 +++---- roles/redis/tasks/redis-offline.yml | 2 +- ...mi-repo.yaml => redis-using-remi-repo.yml} | 0 ...ing-source.yaml => redis-using-source.yml} | 0 ...dis-using-yum.yaml => redis-using-yum.yml} | 0 ...release-2021.1.yaml => release-2021.1.yml} | 0 ...release-2021.2.yaml => release-2021.2.yml} | 0 ...release-2022.1.yaml => release-2022.1.yml} | 0 ...release-2023.1.yaml => release-2023.1.yml} | 0 ...release-2023.2.yaml => release-2023.2.yml} | 0 ...e-undefined.yaml => release-undefined.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../redis_auth/tasks/{main.yaml => main.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 roles/vault/defaults/{main.yaml => main.yml} | 0 roles/vault/tasks/{main.yaml => main.yml} | 0 roles/vault/vars/{main.yaml => main.yml} | 0 .../defaults/{main.yaml => main.yml} | 0 .../tasks/{main.yaml => main.yml} | 0 116 files changed, 55 insertions(+), 55 deletions(-) rename playbooks/{install.yaml => install.yml} (100%) rename playbooks/{install_active_standby.yaml => install_active_standby.yml} (100%) rename roles/gateway/defaults/{main.yaml => main.yml} (100%) rename roles/gateway/tasks/{main.yaml => main.yml} (92%) rename roles/gateway/tasks/{update-release-file.yaml => update-release-file.yml} (100%) rename roles/gateway/tasks/{upgrade-iag.yaml => upgrade-iag.yml} (100%) rename roles/gateway/templates/{nornir.config.yaml.j2 => nornir.config.yml.j2} (91%) rename roles/gateway/templates/{properties.2021.1.yaml.j2 => properties.2021.1.yml.j2} (98%) rename roles/gateway/templates/{properties.2022.1.yaml.j2 => properties.2021.2.yml.j2} (98%) rename roles/gateway/templates/{properties.2021.2.yaml.j2 => properties.2022.1.yml.j2} (98%) rename roles/gateway/templates/{properties.2023.1.yaml.j2 => properties.2023.1.yml.j2} (99%) rename roles/gateway/templates/{properties.2023.2.yaml.j2 => properties.2023.2.yml.j2} (99%) rename roles/gateway/vars/{2021.1-centos-7.yaml => 2021.1-centos-7.yml} (100%) rename roles/gateway/vars/{2021.1-redhat-7.yaml => 2021.1-redhat-7.yml} (100%) rename roles/gateway/vars/{2021.2-centos-7.yaml => 2021.2-centos-7.yml} (100%) rename roles/gateway/vars/{2021.2-redhat-7.yaml => 2021.2-redhat-7.yml} (100%) rename roles/gateway/vars/{2022.1-redhat-8.yaml => 2022.1-redhat-8.yml} (100%) rename roles/gateway/vars/{2022.1-rocky-8.yaml => 2022.1-rocky-8.yml} (100%) rename roles/gateway/vars/{2023.1-redhat-8.yaml => 2023.1-redhat-8.yml} (100%) rename roles/gateway/vars/{2023.1-redhat-9.yaml => 2023.1-redhat-9.yml} (100%) rename roles/gateway/vars/{2023.1-rocky-8.yaml => 2023.1-rocky-8.yml} (100%) rename roles/gateway/vars/{2023.1-rocky-9.yaml => 2023.1-rocky-9.yml} (100%) rename roles/gateway/vars/{2023.2-redhat-8.yaml => 2023.2-redhat-8.yml} (100%) rename roles/gateway/vars/{2023.2-redhat-9.yaml => 2023.2-redhat-9.yml} (100%) rename roles/gateway/vars/{2023.2-rocky-8.yaml => 2023.2-rocky-8.yml} (100%) rename roles/gateway/vars/{2023.2-rocky-9.yaml => 2023.2-rocky-9.yml} (100%) rename roles/gateway/vars/{release-undefined.yaml => release-undefined.yml} (100%) rename roles/mongodb/defaults/{main.yaml => main.yml} (100%) rename roles/mongodb/tasks/{main.yaml => main.yml} (99%) rename roles/mongodb/vars/{2021.1-centos-7.yaml => 2021.1-centos-7.yml} (100%) rename roles/mongodb/vars/{2021.1-redhat-7.yaml => 2021.1-redhat-7.yml} (100%) rename roles/mongodb/vars/{2021.2-centos-7.yaml => 2021.2-centos-7.yml} (100%) rename roles/mongodb/vars/{2021.2-redhat-7.yaml => 2021.2-redhat-7.yml} (100%) rename roles/mongodb/vars/{2022.1-redhat-8.yaml => 2022.1-redhat-8.yml} (100%) rename roles/mongodb/vars/{2022.1-redhat-9.yaml => 2022.1-redhat-9.yml} (100%) rename roles/mongodb/vars/{2022.1-rocky-8.yaml => 2022.1-rocky-8.yml} (100%) rename roles/mongodb/vars/{2023.1-redhat-8.yaml => 2023.1-redhat-8.yml} (100%) rename roles/mongodb/vars/{2023.1-redhat-9.yaml => 2023.1-redhat-9.yml} (100%) rename roles/mongodb/vars/{2023.1-rocky-8.yaml => 2023.1-rocky-8.yml} (100%) rename roles/mongodb/vars/{2023.1-rocky-9.yaml => 2023.1-rocky-9.yml} (100%) rename roles/mongodb/vars/{2023.2-redhat-8.yaml => 2023.2-redhat-8.yml} (100%) rename roles/mongodb/vars/{2023.2-redhat-9.yaml => 2023.2-redhat-9.yml} (100%) rename roles/mongodb/vars/{2023.2-rocky-8.yaml => 2023.2-rocky-8.yml} (100%) rename roles/mongodb/vars/{2023.2-rocky-9.yaml => 2023.2-rocky-9.yml} (100%) rename roles/mongodb/vars/{release-undefined.yaml => release-undefined.yml} (100%) rename roles/mongodb_auth/defaults/{main.yaml => main.yml} (100%) rename roles/mongodb_auth/tasks/{main.yaml => main.yml} (100%) rename roles/mongodb_replication/defaults/{main.yaml => main.yml} (100%) rename roles/mongodb_replication/tasks/{main.yaml => main.yml} (100%) rename roles/mongodb_tls/defaults/{main.yaml => main.yml} (100%) rename roles/mongodb_tls/tasks/{main.yaml => main.yml} (100%) rename roles/offline/tasks/{download-adapter.yaml => download-adapter.yml} (100%) rename roles/offline/tasks/{download-adapters.yaml => download-adapters.yml} (94%) rename roles/offline/tasks/{download-rpms.yaml => download-rpms.yml} (100%) rename roles/offline/tasks/{download-wheels.yaml => download-wheels.yml} (100%) rename roles/offline/tasks/{fetch-packages.yaml => fetch-packages.yml} (100%) rename roles/offline/tasks/{install-adapter.yaml => install-adapter.yml} (100%) rename roles/offline/tasks/{install-rpms.yaml => install-rpms.yml} (100%) rename roles/offline/tasks/{install-wheels-archive.yaml => install-wheels-archive.yml} (100%) rename roles/offline/tasks/{install-wheels-archives.yaml => install-wheels-archives.yml} (94%) rename roles/offline/tasks/{install-wheels.yaml => install-wheels.yml} (100%) rename roles/os/tasks/{main.yaml => main.yml} (98%) rename roles/os/tasks/{redhat-offline.yaml => redhat-offline.yml} (100%) rename roles/os/tasks/{redhat-online.yaml => redhat-online.yml} (100%) rename roles/os/tasks/{redhat.yaml => redhat.yml} (86%) rename roles/os/vars/{release-7.yaml => release-7.yml} (100%) rename roles/os/vars/{release-8.yaml => release-8.yml} (100%) rename roles/os/vars/{release-9.yaml => release-9.yml} (100%) rename roles/os/vars/{release-undefined.yaml => release-undefined.yml} (100%) rename roles/platform/defaults/{main.yaml => main.yml} (100%) rename roles/platform/tasks/{install-adapters.yaml => install-adapters.yml} (100%) rename roles/platform/tasks/{main.yaml => main.yml} (100%) rename roles/platform/tasks/{upgrade-iap.yaml => upgrade-iap.yml} (100%) rename roles/platform/vars/{main.yaml => main.yml} (100%) rename roles/platform/vars/{release-undefined.yaml => release-undefined.yml} (100%) rename roles/platform_app_artifact/defaults/{main.yaml => main.yml} (100%) rename roles/platform_app_artifact/tasks/{main.yaml => main.yml} (100%) rename roles/rabbitmq/tasks/{main.yaml => main.yml} (98%) rename roles/rabbitmq/vars/{release-2021.1.yaml => release-2021.1.yml} (100%) rename roles/rabbitmq/vars/{release-2021.2.yaml => release-2021.2.yml} (100%) rename roles/rabbitmq/vars/{release-2022.1.yaml => release-2022.1.yml} (100%) rename roles/rabbitmq/vars/{release-2023.1.yaml => release-2023.1.yml} (100%) rename roles/rabbitmq/vars/{release-undefined.yaml => release-undefined.yml} (100%) rename roles/rabbitmq_cluster/defaults/{main.yaml => main.yml} (100%) rename roles/rabbitmq_cluster/tasks/{main.yaml => main.yml} (100%) rename roles/rabbitmq_ssl/defaults/{main.yaml => main.yml} (100%) rename roles/rabbitmq_ssl/tasks/{main.yaml => main.yml} (100%) rename roles/redis/defaults/{main.yaml => main.yml} (100%) rename roles/redis/tasks/{main.yaml => main.yml} (95%) rename roles/redis/tasks/{redis-using-remi-repo.yaml => redis-using-remi-repo.yml} (100%) rename roles/redis/tasks/{redis-using-source.yaml => redis-using-source.yml} (100%) rename roles/redis/tasks/{redis-using-yum.yaml => redis-using-yum.yml} (100%) rename roles/redis/vars/{release-2021.1.yaml => release-2021.1.yml} (100%) rename roles/redis/vars/{release-2021.2.yaml => release-2021.2.yml} (100%) rename roles/redis/vars/{release-2022.1.yaml => release-2022.1.yml} (100%) rename roles/redis/vars/{release-2023.1.yaml => release-2023.1.yml} (100%) rename roles/redis/vars/{release-2023.2.yaml => release-2023.2.yml} (100%) rename roles/redis/vars/{release-undefined.yaml => release-undefined.yml} (100%) rename roles/redis_auth/defaults/{main.yaml => main.yml} (100%) rename roles/redis_auth/tasks/{main.yaml => main.yml} (100%) rename roles/redis_replication/defaults/{main.yaml => main.yml} (100%) rename roles/redis_replication/tasks/{main.yaml => main.yml} (100%) rename roles/vault/defaults/{main.yaml => main.yml} (100%) rename roles/vault/tasks/{main.yaml => main.yml} (100%) rename roles/vault/vars/{main.yaml => main.yml} (100%) rename roles/vault_unseal/defaults/{main.yaml => main.yml} (100%) rename roles/vault_unseal/tasks/{main.yaml => main.yml} (100%) diff --git a/playbooks/install.yaml b/playbooks/install.yml similarity index 100% rename from playbooks/install.yaml rename to playbooks/install.yml diff --git a/playbooks/install_active_standby.yaml b/playbooks/install_active_standby.yml similarity index 100% rename from playbooks/install_active_standby.yaml rename to playbooks/install_active_standby.yml diff --git a/roles/gateway/defaults/main.yaml b/roles/gateway/defaults/main.yml similarity index 100% rename from roles/gateway/defaults/main.yaml rename to roles/gateway/defaults/main.yml diff --git a/roles/gateway/tasks/download-packages.yml b/roles/gateway/tasks/download-packages.yml index 5477e2e..0bce382 100644 --- a/roles/gateway/tasks/download-packages.yml +++ b/roles/gateway/tasks/download-packages.yml @@ -18,8 +18,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "{{ iag_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yaml" - - "release-undefined.yaml" + - "{{ iag_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yml" + - "release-undefined.yml" - name: Check for valid IAG release ansible.builtin.fail: diff --git a/roles/gateway/tasks/main.yaml b/roles/gateway/tasks/main.yml similarity index 92% rename from roles/gateway/tasks/main.yaml rename to roles/gateway/tasks/main.yml index 7d12d93..b52e6b2 100644 --- a/roles/gateway/tasks/main.yaml +++ b/roles/gateway/tasks/main.yml @@ -5,8 +5,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "{{ iag_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yaml" - - "release-undefined.yaml" + - "{{ iag_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yml" + - "release-undefined.yml" - name: Check for valid IAG release ansible.builtin.fail: @@ -149,7 +149,7 @@ name: "{{ workingdir.path }}/{{ iag_whl_file | basename }}" virtualenv: "{{ iag_install_dir }}/venv" -- name: Set ownership/permissions and create properties.yaml +- name: Set ownership/permissions and create properties.yml when: not iag_installed.stat.exists block: # Using chown and chmod is a faster way to enforce the file ownership and @@ -165,10 +165,10 @@ cmd: "chmod -R 775 {{ iag_install_dir }}/venv" changed_when: true - - name: Create properties.yaml using template based on the version + - name: Create properties.yml using template based on the version ansible.builtin.template: - src: "properties.{{ iag_release }}.yaml.j2" - dest: "{{ iag_properties_location }}/properties.yaml" + src: "properties.{{ iag_release }}.yml.j2" + dest: "{{ iag_properties_location }}/properties.yml" owner: "{{ iag_user }}" group: "{{ iag_group }}" mode: "0660" @@ -184,14 +184,14 @@ mode: "0660" state: touch with_items: - - "{{ iag_install_dir }}/nornir/inventory/defaults.yaml" - - "{{ iag_install_dir }}/nornir/inventory/groups.yaml" - - "{{ iag_install_dir }}/nornir/inventory/hosts.yaml" + - "{{ iag_install_dir }}/nornir/inventory/defaults.yml" + - "{{ iag_install_dir }}/nornir/inventory/groups.yml" + - "{{ iag_install_dir }}/nornir/inventory/hosts.yml" - name: Create Nornir config file ansible.builtin.template: - src: nornir.config.yaml.j2 - dest: "{{ iag_install_dir }}/nornir/config.yaml" + src: nornir.config.yml.j2 + dest: "{{ iag_install_dir }}/nornir/config.yml" owner: "{{ iag_user }}" group: "{{ iag_group }}" mode: "0660" @@ -247,7 +247,7 @@ - name: Update release file ansible.builtin.include_tasks: - file: update-release-file.yaml + file: update-release-file.yml - name: Remove temporary working directory ansible.builtin.file: diff --git a/roles/gateway/tasks/update-release-file.yaml b/roles/gateway/tasks/update-release-file.yml similarity index 100% rename from roles/gateway/tasks/update-release-file.yaml rename to roles/gateway/tasks/update-release-file.yml diff --git a/roles/gateway/tasks/upgrade-iag.yaml b/roles/gateway/tasks/upgrade-iag.yml similarity index 100% rename from roles/gateway/tasks/upgrade-iag.yaml rename to roles/gateway/tasks/upgrade-iag.yml diff --git a/roles/gateway/templates/automation-gateway.service.j2 b/roles/gateway/templates/automation-gateway.service.j2 index 070ee57..ecfa9e1 100644 --- a/roles/gateway/templates/automation-gateway.service.j2 +++ b/roles/gateway/templates/automation-gateway.service.j2 @@ -6,7 +6,7 @@ After=network.target User=itential Restart=always Type=simple -ExecStart={{ python_venv }}/bin/automation-gateway --properties-file={{ iag_properties_location }}/properties.yaml +ExecStart={{ python_venv }}/bin/automation-gateway --properties-file={{ iag_properties_location }}/properties.yml WorkingDirectory=/tmp Environment=MAX_EVENT_RES=15000000 Environment=PATH={{ python_venv }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin diff --git a/roles/gateway/templates/nornir.config.yaml.j2 b/roles/gateway/templates/nornir.config.yml.j2 similarity index 91% rename from roles/gateway/templates/nornir.config.yaml.j2 rename to roles/gateway/templates/nornir.config.yml.j2 index cf7517f..bf608ae 100644 --- a/roles/gateway/templates/nornir.config.yaml.j2 +++ b/roles/gateway/templates/nornir.config.yml.j2 @@ -5,9 +5,9 @@ logging: inventory: plugin: SimpleInventory options: - host_file: "{{ iag_install_dir }}/nornir/inventory/hosts.yaml" - group_file: "{{ iag_install_dir }}/nornir/inventory/groups.yaml" - defaults_file: "{{ iag_install_dir }}/nornir/inventory/defaults.yaml" + host_file: "{{ iag_install_dir }}/nornir/inventory/hosts.yml" + group_file: "{{ iag_install_dir }}/nornir/inventory/groups.yml" + defaults_file: "{{ iag_install_dir }}/nornir/inventory/defaults.yml" runner: plugin: threaded options: diff --git a/roles/gateway/templates/properties.2021.1.yaml.j2 b/roles/gateway/templates/properties.2021.1.yml.j2 similarity index 98% rename from roles/gateway/templates/properties.2021.1.yaml.j2 rename to roles/gateway/templates/properties.2021.1.yml.j2 index ff41f82..a4cc034 100644 --- a/roles/gateway/templates/properties.2021.1.yaml.j2 +++ b/roles/gateway/templates/properties.2021.1.yml.j2 @@ -167,7 +167,7 @@ nornir_enabled: {{ iag_enable_nornir }} # Path to the Nornir configuration file. # A valid file will allows the use of Nornir External inventory. -#nornir_config_file: "{{ iag_install_dir }}/nornir/config.yaml" +#nornir_config_file: "{{ iag_install_dir }}/nornir/config.yml" # Discovery behavior for Nornir modules. Determines whether or not to # recursively search the directories found in the 'nornir_module_path' parameter, or @@ -198,7 +198,7 @@ script_path: ############# # Terraform # ############# -# Terraform was removed due to HashiCorp adopting the +# Terraform was removed due to HashiCorp adopting the # Business Source License (BSL) for their core products # A boolean flag that enables Terraform support (default=false if absent/misconfigured). diff --git a/roles/gateway/templates/properties.2022.1.yaml.j2 b/roles/gateway/templates/properties.2021.2.yml.j2 similarity index 98% rename from roles/gateway/templates/properties.2022.1.yaml.j2 rename to roles/gateway/templates/properties.2021.2.yml.j2 index a8dc777..5d97ee6 100644 --- a/roles/gateway/templates/properties.2022.1.yaml.j2 +++ b/roles/gateway/templates/properties.2021.2.yml.j2 @@ -145,6 +145,7 @@ role_path: #This is a sample path to roles that extend device support #- "{{ iag_install_dir }}/venv/lib/python3.9/site-packages/automation_gateway/integrations/extensible_device_roles" + # Discovery behavior for Ansible playbooks. Determines whether or not to # recursively search the directories found in the 'playbook_path' parameter, or # to only search those directories and no deeper. (default=true if absent/misconfigured) @@ -184,7 +185,7 @@ nornir_enabled: {{ iag_enable_nornir }} # Path to the Nornir configuration file. # A valid file will allows the use of Nornir External inventory. -nornir_config_file: "{{ iag_install_dir }}/nornir/config.yaml" +nornir_config_file: "{{ iag_install_dir }}/nornir/config.yml" # Discovery behavior for Nornir modules. Determines whether or not to # recursively search the directories found in the 'nornir_module_path' parameter, or @@ -215,7 +216,7 @@ script_path: ############# # Terraform # ############# -# Terraform was removed due to HashiCorp adopting the +# Terraform was removed due to HashiCorp adopting the # Business Source License (BSL) for their core products # A boolean flag that enables Terraform support (default=false if absent/misconfigured). diff --git a/roles/gateway/templates/properties.2021.2.yaml.j2 b/roles/gateway/templates/properties.2022.1.yml.j2 similarity index 98% rename from roles/gateway/templates/properties.2021.2.yaml.j2 rename to roles/gateway/templates/properties.2022.1.yml.j2 index aa1d8fc..a9f84e8 100644 --- a/roles/gateway/templates/properties.2021.2.yaml.j2 +++ b/roles/gateway/templates/properties.2022.1.yml.j2 @@ -145,7 +145,6 @@ role_path: #This is a sample path to roles that extend device support #- "{{ iag_install_dir }}/venv/lib/python3.9/site-packages/automation_gateway/integrations/extensible_device_roles" - # Discovery behavior for Ansible playbooks. Determines whether or not to # recursively search the directories found in the 'playbook_path' parameter, or # to only search those directories and no deeper. (default=true if absent/misconfigured) @@ -185,7 +184,7 @@ nornir_enabled: {{ iag_enable_nornir }} # Path to the Nornir configuration file. # A valid file will allows the use of Nornir External inventory. -nornir_config_file: "{{ iag_install_dir }}/nornir/config.yaml" +nornir_config_file: "{{ iag_install_dir }}/nornir/config.yml" # Discovery behavior for Nornir modules. Determines whether or not to # recursively search the directories found in the 'nornir_module_path' parameter, or @@ -216,7 +215,7 @@ script_path: ############# # Terraform # ############# -# Terraform was removed due to HashiCorp adopting the +# Terraform was removed due to HashiCorp adopting the # Business Source License (BSL) for their core products # A boolean flag that enables Terraform support (default=false if absent/misconfigured). diff --git a/roles/gateway/templates/properties.2023.1.yaml.j2 b/roles/gateway/templates/properties.2023.1.yml.j2 similarity index 99% rename from roles/gateway/templates/properties.2023.1.yaml.j2 rename to roles/gateway/templates/properties.2023.1.yml.j2 index 64fe301..314a789 100644 --- a/roles/gateway/templates/properties.2023.1.yaml.j2 +++ b/roles/gateway/templates/properties.2023.1.yml.j2 @@ -305,7 +305,7 @@ nornir_enabled: {{ iag_enable_nornir }} # Path to the Nornir configuration file. # A valid file will allows the use of Nornir External inventory. -nornir_config_file: "{{ iag_install_dir }}/nornir/config.yaml" +nornir_config_file: "{{ iag_install_dir }}/nornir/config.yml" # Discovery behavior for Nornir modules. Determines whether or not to # recursively search the directories found in the 'nornir_module_path' parameter, or @@ -336,7 +336,7 @@ script_path: ############# # Terraform # ############# -# Terraform was removed due to HashiCorp adopting the +# Terraform was removed due to HashiCorp adopting the # Business Source License (BSL) for their core products # A boolean flag that enables Terraform support (default=false if absent/misconfigured). diff --git a/roles/gateway/templates/properties.2023.2.yaml.j2 b/roles/gateway/templates/properties.2023.2.yml.j2 similarity index 99% rename from roles/gateway/templates/properties.2023.2.yaml.j2 rename to roles/gateway/templates/properties.2023.2.yml.j2 index 13dfdbd..cddc84f 100644 --- a/roles/gateway/templates/properties.2023.2.yaml.j2 +++ b/roles/gateway/templates/properties.2023.2.yml.j2 @@ -305,7 +305,7 @@ nornir_enabled: {{ iag_enable_nornir }} # Path to the Nornir configuration file. # A valid file will allows the use of Nornir External inventory. -nornir_config_file: "{{ iag_install_dir }}/nornir/config.yaml" +nornir_config_file: "{{ iag_install_dir }}/nornir/config.yml" # Discovery behavior for Nornir modules. Determines whether or not to # recursively search the directories found in the 'nornir_module_path' parameter, or @@ -354,7 +354,7 @@ grpc_enabled: {{ iag_enable_grpc }} ############# # Terraform # ############# -# Terraform was removed due to HashiCorp adopting the +# Terraform was removed due to HashiCorp adopting the # Business Source License (BSL) for their core products # A boolean flag that enables Terraform support (default=false if absent/misconfigured). diff --git a/roles/gateway/vars/2021.1-centos-7.yaml b/roles/gateway/vars/2021.1-centos-7.yml similarity index 100% rename from roles/gateway/vars/2021.1-centos-7.yaml rename to roles/gateway/vars/2021.1-centos-7.yml diff --git a/roles/gateway/vars/2021.1-redhat-7.yaml b/roles/gateway/vars/2021.1-redhat-7.yml similarity index 100% rename from roles/gateway/vars/2021.1-redhat-7.yaml rename to roles/gateway/vars/2021.1-redhat-7.yml diff --git a/roles/gateway/vars/2021.2-centos-7.yaml b/roles/gateway/vars/2021.2-centos-7.yml similarity index 100% rename from roles/gateway/vars/2021.2-centos-7.yaml rename to roles/gateway/vars/2021.2-centos-7.yml diff --git a/roles/gateway/vars/2021.2-redhat-7.yaml b/roles/gateway/vars/2021.2-redhat-7.yml similarity index 100% rename from roles/gateway/vars/2021.2-redhat-7.yaml rename to roles/gateway/vars/2021.2-redhat-7.yml diff --git a/roles/gateway/vars/2022.1-redhat-8.yaml b/roles/gateway/vars/2022.1-redhat-8.yml similarity index 100% rename from roles/gateway/vars/2022.1-redhat-8.yaml rename to roles/gateway/vars/2022.1-redhat-8.yml diff --git a/roles/gateway/vars/2022.1-rocky-8.yaml b/roles/gateway/vars/2022.1-rocky-8.yml similarity index 100% rename from roles/gateway/vars/2022.1-rocky-8.yaml rename to roles/gateway/vars/2022.1-rocky-8.yml diff --git a/roles/gateway/vars/2023.1-redhat-8.yaml b/roles/gateway/vars/2023.1-redhat-8.yml similarity index 100% rename from roles/gateway/vars/2023.1-redhat-8.yaml rename to roles/gateway/vars/2023.1-redhat-8.yml diff --git a/roles/gateway/vars/2023.1-redhat-9.yaml b/roles/gateway/vars/2023.1-redhat-9.yml similarity index 100% rename from roles/gateway/vars/2023.1-redhat-9.yaml rename to roles/gateway/vars/2023.1-redhat-9.yml diff --git a/roles/gateway/vars/2023.1-rocky-8.yaml b/roles/gateway/vars/2023.1-rocky-8.yml similarity index 100% rename from roles/gateway/vars/2023.1-rocky-8.yaml rename to roles/gateway/vars/2023.1-rocky-8.yml diff --git a/roles/gateway/vars/2023.1-rocky-9.yaml b/roles/gateway/vars/2023.1-rocky-9.yml similarity index 100% rename from roles/gateway/vars/2023.1-rocky-9.yaml rename to roles/gateway/vars/2023.1-rocky-9.yml diff --git a/roles/gateway/vars/2023.2-redhat-8.yaml b/roles/gateway/vars/2023.2-redhat-8.yml similarity index 100% rename from roles/gateway/vars/2023.2-redhat-8.yaml rename to roles/gateway/vars/2023.2-redhat-8.yml diff --git a/roles/gateway/vars/2023.2-redhat-9.yaml b/roles/gateway/vars/2023.2-redhat-9.yml similarity index 100% rename from roles/gateway/vars/2023.2-redhat-9.yaml rename to roles/gateway/vars/2023.2-redhat-9.yml diff --git a/roles/gateway/vars/2023.2-rocky-8.yaml b/roles/gateway/vars/2023.2-rocky-8.yml similarity index 100% rename from roles/gateway/vars/2023.2-rocky-8.yaml rename to roles/gateway/vars/2023.2-rocky-8.yml diff --git a/roles/gateway/vars/2023.2-rocky-9.yaml b/roles/gateway/vars/2023.2-rocky-9.yml similarity index 100% rename from roles/gateway/vars/2023.2-rocky-9.yaml rename to roles/gateway/vars/2023.2-rocky-9.yml diff --git a/roles/gateway/vars/release-undefined.yaml b/roles/gateway/vars/release-undefined.yml similarity index 100% rename from roles/gateway/vars/release-undefined.yaml rename to roles/gateway/vars/release-undefined.yml diff --git a/roles/mongodb/defaults/main.yaml b/roles/mongodb/defaults/main.yml similarity index 100% rename from roles/mongodb/defaults/main.yaml rename to roles/mongodb/defaults/main.yml diff --git a/roles/mongodb/tasks/download-packages.yml b/roles/mongodb/tasks/download-packages.yml index 9a4e2b1..675048c 100644 --- a/roles/mongodb/tasks/download-packages.yml +++ b/roles/mongodb/tasks/download-packages.yml @@ -17,8 +17,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "{{ iap_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yaml" - - "release-undefined.yaml" + - "{{ iap_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yml" + - "release-undefined.yml" - name: Check for valid MongoDB release ansible.builtin.fail: diff --git a/roles/mongodb/tasks/main.yaml b/roles/mongodb/tasks/main.yml similarity index 99% rename from roles/mongodb/tasks/main.yaml rename to roles/mongodb/tasks/main.yml index 290104d..9f47eba 100644 --- a/roles/mongodb/tasks/main.yaml +++ b/roles/mongodb/tasks/main.yml @@ -5,8 +5,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "{{ iap_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yaml" - - "release-undefined.yaml" + - "{{ iap_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yml" + - "release-undefined.yml" tags: always - name: Check for valid MongoDB release diff --git a/roles/mongodb/vars/2021.1-centos-7.yaml b/roles/mongodb/vars/2021.1-centos-7.yml similarity index 100% rename from roles/mongodb/vars/2021.1-centos-7.yaml rename to roles/mongodb/vars/2021.1-centos-7.yml diff --git a/roles/mongodb/vars/2021.1-redhat-7.yaml b/roles/mongodb/vars/2021.1-redhat-7.yml similarity index 100% rename from roles/mongodb/vars/2021.1-redhat-7.yaml rename to roles/mongodb/vars/2021.1-redhat-7.yml diff --git a/roles/mongodb/vars/2021.2-centos-7.yaml b/roles/mongodb/vars/2021.2-centos-7.yml similarity index 100% rename from roles/mongodb/vars/2021.2-centos-7.yaml rename to roles/mongodb/vars/2021.2-centos-7.yml diff --git a/roles/mongodb/vars/2021.2-redhat-7.yaml b/roles/mongodb/vars/2021.2-redhat-7.yml similarity index 100% rename from roles/mongodb/vars/2021.2-redhat-7.yaml rename to roles/mongodb/vars/2021.2-redhat-7.yml diff --git a/roles/mongodb/vars/2022.1-redhat-8.yaml b/roles/mongodb/vars/2022.1-redhat-8.yml similarity index 100% rename from roles/mongodb/vars/2022.1-redhat-8.yaml rename to roles/mongodb/vars/2022.1-redhat-8.yml diff --git a/roles/mongodb/vars/2022.1-redhat-9.yaml b/roles/mongodb/vars/2022.1-redhat-9.yml similarity index 100% rename from roles/mongodb/vars/2022.1-redhat-9.yaml rename to roles/mongodb/vars/2022.1-redhat-9.yml diff --git a/roles/mongodb/vars/2022.1-rocky-8.yaml b/roles/mongodb/vars/2022.1-rocky-8.yml similarity index 100% rename from roles/mongodb/vars/2022.1-rocky-8.yaml rename to roles/mongodb/vars/2022.1-rocky-8.yml diff --git a/roles/mongodb/vars/2023.1-redhat-8.yaml b/roles/mongodb/vars/2023.1-redhat-8.yml similarity index 100% rename from roles/mongodb/vars/2023.1-redhat-8.yaml rename to roles/mongodb/vars/2023.1-redhat-8.yml diff --git a/roles/mongodb/vars/2023.1-redhat-9.yaml b/roles/mongodb/vars/2023.1-redhat-9.yml similarity index 100% rename from roles/mongodb/vars/2023.1-redhat-9.yaml rename to roles/mongodb/vars/2023.1-redhat-9.yml diff --git a/roles/mongodb/vars/2023.1-rocky-8.yaml b/roles/mongodb/vars/2023.1-rocky-8.yml similarity index 100% rename from roles/mongodb/vars/2023.1-rocky-8.yaml rename to roles/mongodb/vars/2023.1-rocky-8.yml diff --git a/roles/mongodb/vars/2023.1-rocky-9.yaml b/roles/mongodb/vars/2023.1-rocky-9.yml similarity index 100% rename from roles/mongodb/vars/2023.1-rocky-9.yaml rename to roles/mongodb/vars/2023.1-rocky-9.yml diff --git a/roles/mongodb/vars/2023.2-redhat-8.yaml b/roles/mongodb/vars/2023.2-redhat-8.yml similarity index 100% rename from roles/mongodb/vars/2023.2-redhat-8.yaml rename to roles/mongodb/vars/2023.2-redhat-8.yml diff --git a/roles/mongodb/vars/2023.2-redhat-9.yaml b/roles/mongodb/vars/2023.2-redhat-9.yml similarity index 100% rename from roles/mongodb/vars/2023.2-redhat-9.yaml rename to roles/mongodb/vars/2023.2-redhat-9.yml diff --git a/roles/mongodb/vars/2023.2-rocky-8.yaml b/roles/mongodb/vars/2023.2-rocky-8.yml similarity index 100% rename from roles/mongodb/vars/2023.2-rocky-8.yaml rename to roles/mongodb/vars/2023.2-rocky-8.yml diff --git a/roles/mongodb/vars/2023.2-rocky-9.yaml b/roles/mongodb/vars/2023.2-rocky-9.yml similarity index 100% rename from roles/mongodb/vars/2023.2-rocky-9.yaml rename to roles/mongodb/vars/2023.2-rocky-9.yml diff --git a/roles/mongodb/vars/release-undefined.yaml b/roles/mongodb/vars/release-undefined.yml similarity index 100% rename from roles/mongodb/vars/release-undefined.yaml rename to roles/mongodb/vars/release-undefined.yml diff --git a/roles/mongodb_auth/defaults/main.yaml b/roles/mongodb_auth/defaults/main.yml similarity index 100% rename from roles/mongodb_auth/defaults/main.yaml rename to roles/mongodb_auth/defaults/main.yml diff --git a/roles/mongodb_auth/tasks/main.yaml b/roles/mongodb_auth/tasks/main.yml similarity index 100% rename from roles/mongodb_auth/tasks/main.yaml rename to roles/mongodb_auth/tasks/main.yml diff --git a/roles/mongodb_replication/defaults/main.yaml b/roles/mongodb_replication/defaults/main.yml similarity index 100% rename from roles/mongodb_replication/defaults/main.yaml rename to roles/mongodb_replication/defaults/main.yml diff --git a/roles/mongodb_replication/tasks/main.yaml b/roles/mongodb_replication/tasks/main.yml similarity index 100% rename from roles/mongodb_replication/tasks/main.yaml rename to roles/mongodb_replication/tasks/main.yml diff --git a/roles/mongodb_tls/defaults/main.yaml b/roles/mongodb_tls/defaults/main.yml similarity index 100% rename from roles/mongodb_tls/defaults/main.yaml rename to roles/mongodb_tls/defaults/main.yml diff --git a/roles/mongodb_tls/tasks/main.yaml b/roles/mongodb_tls/tasks/main.yml similarity index 100% rename from roles/mongodb_tls/tasks/main.yaml rename to roles/mongodb_tls/tasks/main.yml diff --git a/roles/offline/tasks/download-adapter.yaml b/roles/offline/tasks/download-adapter.yml similarity index 100% rename from roles/offline/tasks/download-adapter.yaml rename to roles/offline/tasks/download-adapter.yml diff --git a/roles/offline/tasks/download-adapters.yaml b/roles/offline/tasks/download-adapters.yml similarity index 94% rename from roles/offline/tasks/download-adapters.yaml rename to roles/offline/tasks/download-adapters.yml index bb71e09..bf96189 100644 --- a/roles/offline/tasks/download-adapters.yaml +++ b/roles/offline/tasks/download-adapters.yml @@ -14,7 +14,7 @@ - name: Download adapter ansible.builtin.include_tasks: - file: download-adapter.yaml + file: download-adapter.yml loop: "{{ adapters }}" loop_control: loop_var: adapter diff --git a/roles/offline/tasks/download-rpms.yaml b/roles/offline/tasks/download-rpms.yml similarity index 100% rename from roles/offline/tasks/download-rpms.yaml rename to roles/offline/tasks/download-rpms.yml diff --git a/roles/offline/tasks/download-wheels.yaml b/roles/offline/tasks/download-wheels.yml similarity index 100% rename from roles/offline/tasks/download-wheels.yaml rename to roles/offline/tasks/download-wheels.yml diff --git a/roles/offline/tasks/fetch-packages.yaml b/roles/offline/tasks/fetch-packages.yml similarity index 100% rename from roles/offline/tasks/fetch-packages.yaml rename to roles/offline/tasks/fetch-packages.yml diff --git a/roles/offline/tasks/install-adapter.yaml b/roles/offline/tasks/install-adapter.yml similarity index 100% rename from roles/offline/tasks/install-adapter.yaml rename to roles/offline/tasks/install-adapter.yml diff --git a/roles/offline/tasks/install-rpms.yaml b/roles/offline/tasks/install-rpms.yml similarity index 100% rename from roles/offline/tasks/install-rpms.yaml rename to roles/offline/tasks/install-rpms.yml diff --git a/roles/offline/tasks/install-wheels-archive.yaml b/roles/offline/tasks/install-wheels-archive.yml similarity index 100% rename from roles/offline/tasks/install-wheels-archive.yaml rename to roles/offline/tasks/install-wheels-archive.yml diff --git a/roles/offline/tasks/install-wheels-archives.yaml b/roles/offline/tasks/install-wheels-archives.yml similarity index 94% rename from roles/offline/tasks/install-wheels-archives.yaml rename to roles/offline/tasks/install-wheels-archives.yml index e8c86de..c577497 100644 --- a/roles/offline/tasks/install-wheels-archives.yaml +++ b/roles/offline/tasks/install-wheels-archives.yml @@ -25,7 +25,7 @@ register: wheel_archive_list - name: Install wheel archive - ansible.builtin.include_tasks: "install-wheels-archive.yaml" + ansible.builtin.include_tasks: "install-wheels-archive.yml" loop: "{{ wheel_archive_list.files }}" loop_control: loop_var: wheels_archive diff --git a/roles/offline/tasks/install-wheels.yaml b/roles/offline/tasks/install-wheels.yml similarity index 100% rename from roles/offline/tasks/install-wheels.yaml rename to roles/offline/tasks/install-wheels.yml diff --git a/roles/os/tasks/download-packages.yml b/roles/os/tasks/download-packages.yml index 8c3f201..3a7bef6 100644 --- a/roles/os/tasks/download-packages.yml +++ b/roles/os/tasks/download-packages.yml @@ -22,8 +22,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "release-{{ ansible_distribution_major_version }}.yaml" - - "release-undefined.yaml" + - "release-{{ ansible_distribution_major_version }}.yml" + - "release-undefined.yml" - name: Check supported OS ansible.builtin.fail: diff --git a/roles/os/tasks/main.yaml b/roles/os/tasks/main.yml similarity index 98% rename from roles/os/tasks/main.yaml rename to roles/os/tasks/main.yml index 3ee2579..e502878 100644 --- a/roles/os/tasks/main.yaml +++ b/roles/os/tasks/main.yml @@ -12,5 +12,5 @@ when: ansible_os_family.lower() not in ('redhat',) - name: Include OS specific tasks - ansible.builtin.include_tasks: "{{ ansible_os_family.lower() }}.yaml" + ansible.builtin.include_tasks: "{{ ansible_os_family.lower() }}.yml" when: not release_file.stat.exists diff --git a/roles/os/tasks/redhat-offline.yaml b/roles/os/tasks/redhat-offline.yml similarity index 100% rename from roles/os/tasks/redhat-offline.yaml rename to roles/os/tasks/redhat-offline.yml diff --git a/roles/os/tasks/redhat-online.yaml b/roles/os/tasks/redhat-online.yml similarity index 100% rename from roles/os/tasks/redhat-online.yaml rename to roles/os/tasks/redhat-online.yml diff --git a/roles/os/tasks/redhat.yaml b/roles/os/tasks/redhat.yml similarity index 86% rename from roles/os/tasks/redhat.yaml rename to roles/os/tasks/redhat.yml index d187fa5..6325aa2 100644 --- a/roles/os/tasks/redhat.yaml +++ b/roles/os/tasks/redhat.yml @@ -5,8 +5,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "release-{{ ansible_distribution_major_version }}.yaml" - - "release-undefined.yaml" + - "release-{{ ansible_distribution_major_version }}.yml" + - "release-undefined.yml" - name: Check supported OS ansible.builtin.fail: @@ -14,13 +14,13 @@ when: invalid_os_release is defined - name: Include OS specific tasks (online) - ansible.builtin.include_tasks: "{{ ansible_os_family.lower() }}-online.yaml" + ansible.builtin.include_tasks: "{{ ansible_os_family.lower() }}-online.yml" when: - not release_file.stat.exists - not offline_install - name: Include OS specific tasks (offline) - ansible.builtin.include_tasks: "{{ ansible_os_family.lower() }}-offline.yaml" + ansible.builtin.include_tasks: "{{ ansible_os_family.lower() }}-offline.yml" when: - not release_file.stat.exists - offline_install diff --git a/roles/os/vars/release-7.yaml b/roles/os/vars/release-7.yml similarity index 100% rename from roles/os/vars/release-7.yaml rename to roles/os/vars/release-7.yml diff --git a/roles/os/vars/release-8.yaml b/roles/os/vars/release-8.yml similarity index 100% rename from roles/os/vars/release-8.yaml rename to roles/os/vars/release-8.yml diff --git a/roles/os/vars/release-9.yaml b/roles/os/vars/release-9.yml similarity index 100% rename from roles/os/vars/release-9.yaml rename to roles/os/vars/release-9.yml diff --git a/roles/os/vars/release-undefined.yaml b/roles/os/vars/release-undefined.yml similarity index 100% rename from roles/os/vars/release-undefined.yaml rename to roles/os/vars/release-undefined.yml diff --git a/roles/platform/defaults/main.yaml b/roles/platform/defaults/main.yml similarity index 100% rename from roles/platform/defaults/main.yaml rename to roles/platform/defaults/main.yml diff --git a/roles/platform/tasks/determine-release-vars.yml b/roles/platform/tasks/determine-release-vars.yml index 8af5b0c..d830d11 100644 --- a/roles/platform/tasks/determine-release-vars.yml +++ b/roles/platform/tasks/determine-release-vars.yml @@ -25,7 +25,7 @@ file: "{{ item }}" with_first_found: - "{{ iap_release }}-{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yml" - - "release-undefined.yaml" + - "release-undefined.yml" - name: Check for valid IAP release ansible.builtin.fail: diff --git a/roles/platform/tasks/install-adapters.yaml b/roles/platform/tasks/install-adapters.yml similarity index 100% rename from roles/platform/tasks/install-adapters.yaml rename to roles/platform/tasks/install-adapters.yml diff --git a/roles/platform/tasks/main.yaml b/roles/platform/tasks/main.yml similarity index 100% rename from roles/platform/tasks/main.yaml rename to roles/platform/tasks/main.yml diff --git a/roles/platform/tasks/mongo-init.yml b/roles/platform/tasks/mongo-init.yml index 5470efc..06e4e9f 100644 --- a/roles/platform/tasks/mongo-init.yml +++ b/roles/platform/tasks/mongo-init.yml @@ -40,7 +40,7 @@ # Create a default profile document in the itential database. This template # contains the logic to modify various properties based on the vars set in - # install.yaml. For example, it will correctly configure a Redis HA cluster + # install.yml. For example, it will correctly configure a Redis HA cluster # using Redis Sentinel and also other settings. - name: Create Local AAA profile document for standard non-production environments ansible.builtin.template: diff --git a/roles/platform/tasks/upgrade-iap.yaml b/roles/platform/tasks/upgrade-iap.yml similarity index 100% rename from roles/platform/tasks/upgrade-iap.yaml rename to roles/platform/tasks/upgrade-iap.yml diff --git a/roles/platform/vars/main.yaml b/roles/platform/vars/main.yml similarity index 100% rename from roles/platform/vars/main.yaml rename to roles/platform/vars/main.yml diff --git a/roles/platform/vars/release-undefined.yaml b/roles/platform/vars/release-undefined.yml similarity index 100% rename from roles/platform/vars/release-undefined.yaml rename to roles/platform/vars/release-undefined.yml diff --git a/roles/platform_app_artifact/defaults/main.yaml b/roles/platform_app_artifact/defaults/main.yml similarity index 100% rename from roles/platform_app_artifact/defaults/main.yaml rename to roles/platform_app_artifact/defaults/main.yml diff --git a/roles/platform_app_artifact/tasks/main.yaml b/roles/platform_app_artifact/tasks/main.yml similarity index 100% rename from roles/platform_app_artifact/tasks/main.yaml rename to roles/platform_app_artifact/tasks/main.yml diff --git a/roles/rabbitmq/tasks/download-packages.yml b/roles/rabbitmq/tasks/download-packages.yml index 2f65290..28f050b 100644 --- a/roles/rabbitmq/tasks/download-packages.yml +++ b/roles/rabbitmq/tasks/download-packages.yml @@ -17,8 +17,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "release-{{ iap_release }}.yaml" - - "release-undefined.yaml" + - "release-{{ iap_release }}.yml" + - "release-undefined.yml" - name: Check for valid RabbitMQ release ansible.builtin.fail: diff --git a/roles/rabbitmq/tasks/main.yaml b/roles/rabbitmq/tasks/main.yml similarity index 98% rename from roles/rabbitmq/tasks/main.yaml rename to roles/rabbitmq/tasks/main.yml index e69e428..7cd3529 100644 --- a/roles/rabbitmq/tasks/main.yaml +++ b/roles/rabbitmq/tasks/main.yml @@ -5,8 +5,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "release-{{ iap_release }}.yaml" - - "release-undefined.yaml" + - "release-{{ iap_release }}.yml" + - "release-undefined.yml" - name: Check for valid RabbitMQ release ansible.builtin.fail: diff --git a/roles/rabbitmq/vars/release-2021.1.yaml b/roles/rabbitmq/vars/release-2021.1.yml similarity index 100% rename from roles/rabbitmq/vars/release-2021.1.yaml rename to roles/rabbitmq/vars/release-2021.1.yml diff --git a/roles/rabbitmq/vars/release-2021.2.yaml b/roles/rabbitmq/vars/release-2021.2.yml similarity index 100% rename from roles/rabbitmq/vars/release-2021.2.yaml rename to roles/rabbitmq/vars/release-2021.2.yml diff --git a/roles/rabbitmq/vars/release-2022.1.yaml b/roles/rabbitmq/vars/release-2022.1.yml similarity index 100% rename from roles/rabbitmq/vars/release-2022.1.yaml rename to roles/rabbitmq/vars/release-2022.1.yml diff --git a/roles/rabbitmq/vars/release-2023.1.yaml b/roles/rabbitmq/vars/release-2023.1.yml similarity index 100% rename from roles/rabbitmq/vars/release-2023.1.yaml rename to roles/rabbitmq/vars/release-2023.1.yml diff --git a/roles/rabbitmq/vars/release-undefined.yaml b/roles/rabbitmq/vars/release-undefined.yml similarity index 100% rename from roles/rabbitmq/vars/release-undefined.yaml rename to roles/rabbitmq/vars/release-undefined.yml diff --git a/roles/rabbitmq_cluster/defaults/main.yaml b/roles/rabbitmq_cluster/defaults/main.yml similarity index 100% rename from roles/rabbitmq_cluster/defaults/main.yaml rename to roles/rabbitmq_cluster/defaults/main.yml diff --git a/roles/rabbitmq_cluster/tasks/main.yaml b/roles/rabbitmq_cluster/tasks/main.yml similarity index 100% rename from roles/rabbitmq_cluster/tasks/main.yaml rename to roles/rabbitmq_cluster/tasks/main.yml diff --git a/roles/rabbitmq_ssl/defaults/main.yaml b/roles/rabbitmq_ssl/defaults/main.yml similarity index 100% rename from roles/rabbitmq_ssl/defaults/main.yaml rename to roles/rabbitmq_ssl/defaults/main.yml diff --git a/roles/rabbitmq_ssl/tasks/main.yaml b/roles/rabbitmq_ssl/tasks/main.yml similarity index 100% rename from roles/rabbitmq_ssl/tasks/main.yaml rename to roles/rabbitmq_ssl/tasks/main.yml diff --git a/roles/redis/defaults/main.yaml b/roles/redis/defaults/main.yml similarity index 100% rename from roles/redis/defaults/main.yaml rename to roles/redis/defaults/main.yml diff --git a/roles/redis/tasks/download-packages.yml b/roles/redis/tasks/download-packages.yml index 62df23a..9cd08bc 100644 --- a/roles/redis/tasks/download-packages.yml +++ b/roles/redis/tasks/download-packages.yml @@ -17,8 +17,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "release-{{ iap_release }}.yaml" - - "release-undefined.yaml" + - "release-{{ iap_release }}.yml" + - "release-undefined.yml" - name: Check for valid Redis release ansible.builtin.fail: diff --git a/roles/redis/tasks/main.yaml b/roles/redis/tasks/main.yml similarity index 95% rename from roles/redis/tasks/main.yaml rename to roles/redis/tasks/main.yml index 0f98860..4e2ad65 100644 --- a/roles/redis/tasks/main.yaml +++ b/roles/redis/tasks/main.yml @@ -5,8 +5,8 @@ ansible.builtin.include_vars: file: "{{ item }}" with_first_found: - - "release-{{ iap_release }}.yaml" - - "release-undefined.yaml" + - "release-{{ iap_release }}.yml" + - "release-undefined.yml" - name: Check for valid Redis release ansible.builtin.fail: @@ -32,13 +32,13 @@ block: - name: Include tasks to install Redis using Remi repo (online) ansible.builtin.include_tasks: - file: redis-using-remi-repo.yaml + file: redis-using-remi-repo.yml when: - redis_install_method == "remi_repo" - name: Include tasks to install Redis using source ansible.builtin.include_tasks: - file: redis-using-source.yaml + file: redis-using-source.yml when: redis_install_method == "source" - name: Include tasks to install Redis (offline) diff --git a/roles/redis/tasks/redis-offline.yml b/roles/redis/tasks/redis-offline.yml index ebc7080..bac1e5a 100644 --- a/roles/redis/tasks/redis-offline.yml +++ b/roles/redis/tasks/redis-offline.yml @@ -11,5 +11,5 @@ - name: Include tasks to install Redis from source ansible.builtin.include_tasks: - file: redis-using-source.yaml + file: redis-using-source.yml when: redis_install_method == "source" diff --git a/roles/redis/tasks/redis-using-remi-repo.yaml b/roles/redis/tasks/redis-using-remi-repo.yml similarity index 100% rename from roles/redis/tasks/redis-using-remi-repo.yaml rename to roles/redis/tasks/redis-using-remi-repo.yml diff --git a/roles/redis/tasks/redis-using-source.yaml b/roles/redis/tasks/redis-using-source.yml similarity index 100% rename from roles/redis/tasks/redis-using-source.yaml rename to roles/redis/tasks/redis-using-source.yml diff --git a/roles/redis/tasks/redis-using-yum.yaml b/roles/redis/tasks/redis-using-yum.yml similarity index 100% rename from roles/redis/tasks/redis-using-yum.yaml rename to roles/redis/tasks/redis-using-yum.yml diff --git a/roles/redis/vars/release-2021.1.yaml b/roles/redis/vars/release-2021.1.yml similarity index 100% rename from roles/redis/vars/release-2021.1.yaml rename to roles/redis/vars/release-2021.1.yml diff --git a/roles/redis/vars/release-2021.2.yaml b/roles/redis/vars/release-2021.2.yml similarity index 100% rename from roles/redis/vars/release-2021.2.yaml rename to roles/redis/vars/release-2021.2.yml diff --git a/roles/redis/vars/release-2022.1.yaml b/roles/redis/vars/release-2022.1.yml similarity index 100% rename from roles/redis/vars/release-2022.1.yaml rename to roles/redis/vars/release-2022.1.yml diff --git a/roles/redis/vars/release-2023.1.yaml b/roles/redis/vars/release-2023.1.yml similarity index 100% rename from roles/redis/vars/release-2023.1.yaml rename to roles/redis/vars/release-2023.1.yml diff --git a/roles/redis/vars/release-2023.2.yaml b/roles/redis/vars/release-2023.2.yml similarity index 100% rename from roles/redis/vars/release-2023.2.yaml rename to roles/redis/vars/release-2023.2.yml diff --git a/roles/redis/vars/release-undefined.yaml b/roles/redis/vars/release-undefined.yml similarity index 100% rename from roles/redis/vars/release-undefined.yaml rename to roles/redis/vars/release-undefined.yml diff --git a/roles/redis_auth/defaults/main.yaml b/roles/redis_auth/defaults/main.yml similarity index 100% rename from roles/redis_auth/defaults/main.yaml rename to roles/redis_auth/defaults/main.yml diff --git a/roles/redis_auth/tasks/main.yaml b/roles/redis_auth/tasks/main.yml similarity index 100% rename from roles/redis_auth/tasks/main.yaml rename to roles/redis_auth/tasks/main.yml diff --git a/roles/redis_replication/defaults/main.yaml b/roles/redis_replication/defaults/main.yml similarity index 100% rename from roles/redis_replication/defaults/main.yaml rename to roles/redis_replication/defaults/main.yml diff --git a/roles/redis_replication/tasks/main.yaml b/roles/redis_replication/tasks/main.yml similarity index 100% rename from roles/redis_replication/tasks/main.yaml rename to roles/redis_replication/tasks/main.yml diff --git a/roles/vault/defaults/main.yaml b/roles/vault/defaults/main.yml similarity index 100% rename from roles/vault/defaults/main.yaml rename to roles/vault/defaults/main.yml diff --git a/roles/vault/tasks/main.yaml b/roles/vault/tasks/main.yml similarity index 100% rename from roles/vault/tasks/main.yaml rename to roles/vault/tasks/main.yml diff --git a/roles/vault/vars/main.yaml b/roles/vault/vars/main.yml similarity index 100% rename from roles/vault/vars/main.yaml rename to roles/vault/vars/main.yml diff --git a/roles/vault_unseal/defaults/main.yaml b/roles/vault_unseal/defaults/main.yml similarity index 100% rename from roles/vault_unseal/defaults/main.yaml rename to roles/vault_unseal/defaults/main.yml diff --git a/roles/vault_unseal/tasks/main.yaml b/roles/vault_unseal/tasks/main.yml similarity index 100% rename from roles/vault_unseal/tasks/main.yaml rename to roles/vault_unseal/tasks/main.yml