From 23498c409188bef1a380a4d1f66d1851378c79ea Mon Sep 17 00:00:00 2001 From: Florian Bergmann Date: Tue, 20 Aug 2024 17:02:58 +0200 Subject: [PATCH] Fix the env role to use template. --- roles/env/tasks/main.yml | 2 +- roles/env/{files => templates}/10-ansible-static.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename roles/env/{files => templates}/10-ansible-static.conf (100%) diff --git a/roles/env/tasks/main.yml b/roles/env/tasks/main.yml index 6a84b5b..f6435f8 100644 --- a/roles/env/tasks/main.yml +++ b/roles/env/tasks/main.yml @@ -11,7 +11,7 @@ - name: Copy static environment variables become: yes become_user: "{{ desktop_user.username }}" - copy: + template: src: 10-ansible-static.conf dest: "~/.config/environment.d/10-ansible-static.conf" diff --git a/roles/env/files/10-ansible-static.conf b/roles/env/templates/10-ansible-static.conf similarity index 100% rename from roles/env/files/10-ansible-static.conf rename to roles/env/templates/10-ansible-static.conf