From 48a77814239533b8fea781d4478e3f414514ac2f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 14 Apr 2020 14:54:38 +0200 Subject: [PATCH] WIP breaking change to show vars --- plays/commonlib/vars.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/plays/commonlib/vars.yml b/plays/commonlib/vars.yml index 93c5d33..b7c2fcb 100644 --- a/plays/commonlib/vars.yml +++ b/plays/commonlib/vars.yml @@ -24,7 +24,6 @@ when: config_yml.stat.exists include_vars: file: "{{ app_config_root }}/config.yml" - name: "config" - name: Check if an application vault directory exists stat: @@ -37,7 +36,6 @@ include_vars: ignore_unknown_extensions: true dir: "{{ app_config_root }}/vault" - name: "vault" extensions: - yml @@ -51,26 +49,9 @@ hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}", } -- name: Create the vault variable dictionary - set_fact: - vault: "{{ vars.vault }}" - -- name: Create the config variable dictionary - set_fact: - config: - { - "vars": "{{ vars.config.vars | default([]) }}", - "db": "{{ vars.config.db | default([]) }}", - "env": "{{ vars.config.env | default([]) }}", - "volumes": "{{ vars.config.volumes | default([]) }}", - "templates": "{{ vars.config.templates | default([]) }}", - } - - name: Debug variable dictionaries debug: msg: "{{ item }}" with_items: - - "{{ config }}" - - "{{ dokku }}" - "{{ vars }}" when: debug is defined and debug == true