From 0dc67b8693d9472f5afb910556e7b86e531cf55c Mon Sep 17 00:00:00 2001 From: Dan Yocum Date: Wed, 24 Jan 2018 17:18:39 -0500 Subject: files in ansible roles do not need to have the path specified to them when referenced by a builtin module, i.e., copy: --- roles/openshift_web_console/tasks/install.yml | 2 +- roles/openshift_web_console/vars/main.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'roles/openshift_web_console') diff --git a/roles/openshift_web_console/tasks/install.yml b/roles/openshift_web_console/tasks/install.yml index cc5eef47d..ff33338a6 100644 --- a/roles/openshift_web_console/tasks/install.yml +++ b/roles/openshift_web_console/tasks/install.yml @@ -33,7 +33,7 @@ - name: Copy web console templates to temp directory copy: - src: "{{ __console_files_location }}/{{ item }}" + src: "{{ item }}" dest: "{{ mktemp.stdout }}/{{ item }}" with_items: - "{{ __console_template_file }}" diff --git a/roles/openshift_web_console/vars/main.yml b/roles/openshift_web_console/vars/main.yml index a3e6b8d80..72bff5d01 100644 --- a/roles/openshift_web_console/vars/main.yml +++ b/roles/openshift_web_console/vars/main.yml @@ -1,6 +1,4 @@ --- -__console_files_location: "../files/" - __console_template_file: "console-template.yaml" __console_rbac_file: "console-rbac-template.yaml" __console_config_file: "console-config.yaml" -- cgit v1.2.3