From d9d8ca784db884b7a99c48ffc63a3daca2921d99 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sun, 14 Sep 2025 11:41:23 -0400 Subject: [PATCH] ... --- playbooks/tar-valon_config_deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/playbooks/tar-valon_config_deploy.yml b/playbooks/tar-valon_config_deploy.yml index 4783cdf..f7c58da 100644 --- a/playbooks/tar-valon_config_deploy.yml +++ b/playbooks/tar-valon_config_deploy.yml @@ -10,13 +10,12 @@ template_base_path: "{{ playbook_dir }}/../app-configs" pre_tasks: - - name: Find all files for all hosts (run once on localhost) + - name: Find all files for this host ansible.builtin.find: paths: "{{ template_base_path }}/{{ inventory_hostname }}" recurse: true register: host_files - delegate_to: localhost - run_once: true + run_once: false # per host changed_when: false - name: Build list of unique destination directories per host @@ -32,7 +31,6 @@ | list }} changed_when: false - run_once: false # run per host, so host_vars are available tasks: - name: Ensure destination directories exist (unique set)