From 452f08fa8e78d3f1b3b4f8d3315000491198b460 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Mon, 26 Sep 2016 19:46:48 +0100 Subject: [PATCH] Revert dynamic includes for inventory-based conditionals Forcing dynamic includes for inventory-based conditionals results in incomplete execution. Change-Id: Id3eeeba59d34c61696d5f49559ec8087cb410ff7 --- tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 65ff49f..15dde63 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -39,6 +39,7 @@ - include: repo_pre_install.yml - include: repo_install.yml - include: repo_post_install.yml + - include: repo_cacher.yml static: no when: repo_pkg_cache_enabled | bool @@ -46,11 +47,9 @@ - include: repo_key_populate.yml - include: repo_key_distribute.yml - static: no when: groups.repo_all|length > 1 - include: repo_sync_manager.yml - static: no when: inventory_hostname == groups['repo_all'][0] - name: Flush handlers