From eeee134fa257fa608d2d26dd9a9b239cb6df7660 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 15 Dec 2018 00:08:12 +0000 Subject: [PATCH] move these to normal tasks, not pre --- playbooks/groups/proxies.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index 92c5374f70..206e8d09bc 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -78,6 +78,17 @@ - import_tasks: "{{ handlers_path }}/restart_services.yml" pre_tasks: + + roles: + - httpd/mod_ssl + - httpd/proxy + - varnish + # + # Re-run hosts here so things are ok for the haproxy check + # + - hosts + + tasks: # # When we have a prerelease we also need to drop the config files. @@ -131,15 +142,6 @@ tags: - httpd/redirect - roles: - - httpd/mod_ssl - - httpd/proxy - - varnish - # - # Re-run hosts here so things are ok for the haproxy check - # - - hosts - # After setting up the "basics" of the proxy hosts above, here below we break # out the proxy-specific configuration into a couple different sub-playbooks. # Othewise, this file would be unbearably long.