diff --git a/tasks/configure.yml b/tasks/configure.yml index 11fc3d0836991ef81d3690de930793663d535fc4..19f0f1782be14bd17876b31e1dad1089681c883a 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -67,15 +67,6 @@ with_items: '{{ groups.webserver }}' changed_when: false -- name: "Proxy | Create config file" - template: - src='haproxy_cfg.jinja2' - dest='/etc/haproxy/haproxy.cfg' - owner='root' - group='root' - mode='644' - notify: 'Proxy | Restart HAProxy' - - name: "Proxy | Update blacklists" template: src='{{ item }}' @@ -88,3 +79,12 @@ - 'blacklist.referer' - 'blacklist.agent' notify: 'Proxy | Restart HAProxy' + +- name: "Proxy | Create config file" + template: + src='haproxy_cfg.jinja2' + dest='/etc/haproxy/haproxy.cfg' + owner='root' + group='root' + mode='644' + notify: 'Proxy | Restart HAProxy'