From a1f522e606c81da9a5e85b0ff35baf1462fe2fa5 Mon Sep 17 00:00:00 2001 From: LaurentLesle Date: Mon, 14 Feb 2022 12:23:33 +0000 Subject: [PATCH] Update launchpad ansible --- .../{ansible.yaml.old => ansible.yaml} | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) rename templates/platform/level0/launchpad/{ansible.yaml.old => ansible.yaml} (90%) diff --git a/templates/platform/level0/launchpad/ansible.yaml.old b/templates/platform/level0/launchpad/ansible.yaml similarity index 90% rename from templates/platform/level0/launchpad/ansible.yaml.old rename to templates/platform/level0/launchpad/ansible.yaml index 3e58c3865..a60611111 100644 --- a/templates/platform/level0/launchpad/ansible.yaml.old +++ b/templates/platform/level0/launchpad/ansible.yaml @@ -1,29 +1,29 @@ -- name: "{{deployment}} - Set variables" - set_fact: - destination_path: "{{config.configuration_folders.platform.destination_base_path}}/{{config.configuration_folders.platform.destination_relative_path}}/{{resources.relative_destination_folder}}" +# - name: "{{deployment}} - Set variables" +# set_fact: +# destination_path: "{{config.configuration_folders.platform.destination_base_path}}/{{config.configuration_folders.platform.destination_relative_path}}/{{resources.relative_destination_folder}}" -- debug: - msg: - - "{{tfstate_object}}" - - "{{resources}}" +# - debug: +# msg: +# - "{{tfstate_object}}" +# - "{{resources}}" -- name: "[{{resources.relative_destination_folder}}] Clean-up directory" - file: - path: "{{destination_path}}" - state: absent - when: config.configuration_folders.platform.cleanup_destination | bool +# - name: "[{{resources.relative_destination_folder}}] Clean-up directory" +# file: +# path: "{{destination_path}}" +# state: absent +# when: config.configuration_folders.platform.cleanup_destination | bool -- name: "[{{resources.relative_destination_folder}}] Creates directory" - file: - path: "{{destination_path}}" - state: directory +# - name: "[{{resources.relative_destination_folder}}] Creates directory" +# file: +# path: "{{destination_path}}" +# state: directory -- name: "{{deployment}} - process subscription resources" - include_tasks: "process_subscription_resources.yaml" - loop: "{{resources.subscriptions.keys()}}" - loop_control: - loop_var: subscription_key +# - name: "{{deployment}} - process subscription resources" +# include_tasks: "process_subscription_resources.yaml" +# loop: "{{resources.subscriptions.keys()}}" +# loop_control: +# loop_var: subscription_key # # # # container_groups