From 6faa0821359c7614aca74f5c5c4c7f5972c1f65b Mon Sep 17 00:00:00 2001 From: Adar Nimrod Date: Thu, 17 Nov 2016 22:21:44 +0200 Subject: [PATCH] - Correct wildcard of templates inside the role. --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 96d1f6e..b09fa15 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,11 +19,11 @@ - name: Configure network interfaces with_fileglob: - - templates/networkd/*.netdev + - '{{ role_path }}/templates/networkd/*.netdev' - '{{ playbook_dir }}/templates/networkd/*.netdev' - - templates/networkd/*.network + - '{{ role_path }}/templates/networkd/*.network' - '{{ playbook_dir }}/templates/networkd/*.network' - - templates/networkd/*.link + - '{{ role_path }}/templates/networkd/*.link' - '{{ playbook_dir }}/templates/networkd/*.link' template: src: '{{ item }}' -- GitLab