Loading roles/router/tasks/main.yaml +24 −24 Original line number Diff line number Diff line Loading @@ -135,30 +135,6 @@ - dns - network - name: Configure HAProxy copy: backup: true dest: /etc/haproxy/haproxy.cfg mode: preserve src: haproxy.cfg validate: haproxy -c -f %s notify: - Restart HAProxy tags: - haproxy - web - network - name: Enable HAProxy service: enabled: true name: haproxy state: started tags: - haproxy - web - network - name: Configure PF copy: dest: /etc/pf.conf Loading Loading @@ -323,6 +299,30 @@ - dhcp - network - name: Configure HAProxy copy: backup: true dest: /etc/haproxy/haproxy.cfg mode: preserve src: haproxy.cfg validate: haproxy -c -f %s notify: - Restart HAProxy tags: - haproxy - web - network - name: Enable HAProxy service: enabled: true name: haproxy state: started tags: - haproxy - web - network - name: Configure mail relaying lineinfile: line: action "outbound" relay host host01.shore.co.il Loading Loading
roles/router/tasks/main.yaml +24 −24 Original line number Diff line number Diff line Loading @@ -135,30 +135,6 @@ - dns - network - name: Configure HAProxy copy: backup: true dest: /etc/haproxy/haproxy.cfg mode: preserve src: haproxy.cfg validate: haproxy -c -f %s notify: - Restart HAProxy tags: - haproxy - web - network - name: Enable HAProxy service: enabled: true name: haproxy state: started tags: - haproxy - web - network - name: Configure PF copy: dest: /etc/pf.conf Loading Loading @@ -323,6 +299,30 @@ - dhcp - network - name: Configure HAProxy copy: backup: true dest: /etc/haproxy/haproxy.cfg mode: preserve src: haproxy.cfg validate: haproxy -c -f %s notify: - Restart HAProxy tags: - haproxy - web - network - name: Enable HAProxy service: enabled: true name: haproxy state: started tags: - haproxy - web - network - name: Configure mail relaying lineinfile: line: action "outbound" relay host host01.shore.co.il Loading