There was an error while loading. Please reload this page.
1 parent 885e733 commit ac3bc73Copy full SHA for ac3bc73
1 file changed
roles/haproxy/tasks/main.yml
@@ -16,7 +16,11 @@
16
file: path=/etc/haproxy state=directory owner=root mode=0700
17
18
- name: create haproxy environment file
19
- file: path=/etc/default/haproxy state=touch mode=0644
+ copy:
20
+ dest: /etc/default/haproxy
21
+ mode: 0644
22
+ content: |
23
+ OPTIONS=
24
25
- name: create haproxy systemd service
26
copy: src=haproxy.svc dest={{ systemd_dir }}/haproxy.service
@@ -109,4 +113,4 @@
109
113
systemd: name=haproxy state=reloaded enabled=yes daemon_reload=yes
110
114
111
115
112
-...
116
+...
0 commit comments